Class for map 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) |
| | Compares equality of two map schemas.
|
| override int | GetHashCode () |
| | Hashcode function.
|
Protected Member Functions |
| internal override void | WriteJsonFields (Newtonsoft.Json.JsonTextWriter writer, SchemaNames names, string encspace) |
| | Writes map schema in JSON format.
|
Properties |
| Schema | ValueSchema [get, set] |
| | Schema for map values type.
|
Detailed Description
Member Function Documentation
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.
Compares equality of two map schemas.
- Parameters:
-
| obj | map schema to compare against this schema |
- Returns:
- true if two schemas are equal, false otherwise
Hashcode function.
- Returns:
Reimplemented from Avro.Schema.
Writes map schema in JSON format.
- Parameters:
-
| writer | JSON writer |
| names | list of named schemas already written |
| encspace | enclosing namespace of the map schema |
Property Documentation
The documentation for this class was generated from the following file:
- src/apache/main/Schema/MapSchema.cs