Class for array type schemas. More...
Public Member Functions | |
override bool | CanRead (Schema writerSchema) |
Checks if this schema can read data written by the given schema. Used for decoding data. | |
override bool | Equals (object obj) |
Function to compare equality of two array schemas. | |
override int | GetHashCode () |
Hashcode function. | |
Protected Member Functions | |
internal override void | WriteJsonFields (Newtonsoft.Json.JsonTextWriter writer, SchemaNames names, string encspace) |
Writes the array schema in JSON format. | |
Properties | |
Schema | ItemSchema [get, set] |
Schema for the array 'type' attribute. |
Class for array type schemas.
override bool Avro.ArraySchema.CanRead | ( | Schema | writerSchema | ) | [inline, virtual] |
Checks if this schema can read data written by the given schema. Used for decoding data.
writerSchema | writer schema |
Reimplemented from Avro.Schema.
override bool Avro.ArraySchema.Equals | ( | object | obj | ) | [inline] |
Function to compare equality of two array schemas.
obj | other array schema |
override int Avro.ArraySchema.GetHashCode | ( | ) | [inline] |
internal override void Avro.ArraySchema.WriteJsonFields | ( | Newtonsoft.Json.JsonTextWriter | writer, |
SchemaNames | names, | ||
string | encspace | ||
) | [inline, protected] |
Writes the array schema in JSON format.
writer | JSON writer |
names | list of named schemas already written |
encspace | enclosing namespace |
Schema Avro.ArraySchema.ItemSchema [get, set] |
Schema for the array 'type' attribute.