|
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. More...
|
|
override WriteItem | ResolveEnum (EnumSchema es) |
| Serializes an enumeration. More...
|
|
override void | WriteFixed (FixedSchema es, 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. More...
|
|
override bool | UnionBranchMatches (Schema sc, object obj) |
|
delegate void | WriteItem (Object value, Encoder encoder) |
|
| PreresolvingDatumWriter (Schema schema, ArrayAccess arrayAccess, MapAccess mapAccess) |
|
void | WriteNull (object value, Encoder encoder) |
| Serializes a "null" More...
|
|
void | Write< S > (object value, Schema.Type tag, Writer< S > writer) |
| A generic method to serialize primitive Avro types. More...
|
|
WriteItem | ResolveArray (ArraySchema schema) |
| Serialized an array. The default implementation calls EnsureArrayObject() to ascertain that the given value is an array. It then calls GetArrayLength() and GetArrayElement() to access the members of the array and then serialize them. More...
|
|
void | WriteMap (WriteItem itemWriter, object value, Encoder encoder) |
| Serialized a map. The default implementation first ensure that the value is indeed a map and then uses GetMapSize() and GetMapElements() to access the contents of the map. More...
|
|
int | ResolveUnion (UnionSchema us, Schema[] branchSchemas, object obj) |
| Finds the branch within the given UnionSchema that matches the given object. The default implementation calls Matches() method in the order of branches within the UnionSchema. If nothing matches, throws an exception. More...
|
|