PreresolvingDatumWriter for writing data from ISpecificRecord classes. For more information about performance considerations for choosing this implementation More...
Classes | |
class | SpecificArrayAccess |
Public Member Functions | |
SpecificDatumWriter (Schema schema) | |
Protected Member Functions | |
override void | WriteRecordFields (object recordObj, RecordFieldWriter[] writers, Encoder encoder) |
override void | EnsureRecordObject (RecordSchema recordSchema, object value) |
override void | WriteField (object record, string fieldName, int fieldPos, WriteItem writer, Encoder encoder) |
Extracts the field value from the given object. | |
override WriteItem | ResolveEnum (EnumSchema es) |
Serializes an enumeration. | |
override void | WriteFixed (FixedSchema schema, object value, Encoder encoder) |
Serialized a fixed object. The default implementation requires that the value is a GenericFixed object with an identical schema as es. | |
override bool | UnionBranchMatches (Schema sc, object obj) |
PreresolvingDatumWriter for writing data from ISpecificRecord classes. For more information about performance considerations for choosing this implementation
override WriteItem Avro.Specific.SpecificDatumWriter< T >.ResolveEnum | ( | EnumSchema | es | ) | [inline, protected, virtual] |
Serializes an enumeration.
es | The EnumSchema for serialization |
Implements Avro.Generic.PreresolvingDatumWriter< T >.
override void Avro.Specific.SpecificDatumWriter< T >.WriteField | ( | object | record, |
string | fieldName, | ||
int | fieldPos, | ||
WriteItem | writer, | ||
Encoder | encoder | ||
) | [inline, protected, virtual] |
Extracts the field value from the given object.
value | The record value from which the field needs to be extracted |
fieldName | The name of the field in the record |
fieldPos | The position of field in the record |
Implements Avro.Generic.PreresolvingDatumWriter< T >.
override void Avro.Specific.SpecificDatumWriter< T >.WriteFixed | ( | FixedSchema | es, |
object | value, | ||
Encoder | encoder | ||
) | [inline, protected, virtual] |
Serialized a fixed object. The default implementation requires that the value is a GenericFixed object with an identical schema as es.
es | The schema for serialization |
value | The value to be serialized |
encoder | The encoder for serialization |
Implements Avro.Generic.PreresolvingDatumWriter< T >.