List of all members.
Public Member Functions |
override bool | Equals (object obj) |
| Compares two fixed schemas.
|
override int | GetHashCode () |
| Hash code function.
|
override bool | CanRead (Schema writerSchema) |
| Checks if this schema can read data written by the given schema. Used for decoding data.
|
Protected Member Functions |
internal override void | WriteJsonFields (Newtonsoft.Json.JsonTextWriter writer, SchemaNames names, string encspace) |
| Writes the fixed schema class in JSON format.
|
Properties |
int | Size [get, set] |
| Fixed size for the bytes.
|
Detailed Description
Class for fixed schemas.
Member Function Documentation
override bool Avro::FixedSchema::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::FixedSchema::Equals |
( |
object |
obj |
) |
[inline] |
Compares two fixed schemas.
- Parameters:
-
| obj | fixed schema to compare against this schema |
- Returns:
- true if two schemas are the same, false otherwise
override int Avro::FixedSchema::GetHashCode |
( |
|
) |
[inline] |
Hash code function.
- Returns:
Reimplemented from Avro::Schema.
internal override void Avro::FixedSchema::WriteJsonFields |
( |
Newtonsoft.Json.JsonTextWriter |
writer, |
|
|
SchemaNames |
names, |
|
|
string |
encspace | |
|
) |
| | [inline, protected] |
Writes the fixed schema class in JSON format.
- Parameters:
-
| writer | JSON writer |
| names | list of named schema already written |
| encspace | enclosing namespace for the fixed schema |
Reimplemented from Avro::NamedSchema.
Property Documentation
int Avro::FixedSchema::Size [get, set] |
Fixed size for the bytes.
The documentation for this class was generated from the following file:
- src/apache/main/Schema/FixedSchema.cs