Class for array type schemas.
More...
List of all members.
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.
|
Detailed Description
Class for array type schemas.
Member Function Documentation
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.
- Parameters:
-
writerSchema | writer schema |
- Returns:
- true if this and writer schema are compatible based on the AVRO specification, false otherwise
Reimplemented from Avro::Schema.
override bool Avro::ArraySchema::Equals |
( |
object |
obj | ) |
[inline] |
Function to compare equality of two array schemas.
- Parameters:
-
- Returns:
- true two schemas are equal, false otherwise
override int Avro::ArraySchema::GetHashCode |
( |
| ) |
[inline] |
Hashcode function.
- Returns:
Reimplemented from Avro::Schema.
internal override void Avro::ArraySchema::WriteJsonFields |
( |
Newtonsoft.Json.JsonTextWriter |
writer, |
|
|
SchemaNames |
names, |
|
|
string |
encspace |
|
) |
| [inline, protected] |
Writes the array schema in JSON format.
- Parameters:
-
writer | JSON writer |
names | list of named schemas already written |
encspace | enclosing namespace |
Property Documentation
Schema Avro::ArraySchema::ItemSchema [get, set] |
Schema for the array 'type' attribute.
The documentation for this class was generated from the following file:
- src/apache/main/Schema/ArraySchema.cs