|
| | GenericDatumReader (Schema writerSchema, Schema readerSchema) |
| | Initializes a new instance of the GenericDatumReader<T> class.
|
|
| GenericEnumAccess (EnumSchema schema) |
|
object | CreateEnum (object reuse, int ordinal) |
|
| GenericRecordAccess (RecordSchema schema) |
|
object | CreateRecord (object reuse) |
|
object | GetField (object record, string fieldName, int fieldPos) |
|
void | AddField (object record, string fieldName, int fieldPos, object fieldValue) |
|
| GenericFixedAccess (FixedSchema schema) |
|
object | CreateFixed (object reuse) |
|
byte[] | GetFixedBuffer (object f) |
|
object | Create (object reuse) |
|
void | EnsureSize (ref object array, int targetSize) |
|
void | Resize (ref object array, int targetSize) |
|
void | AddElements (object arrayObj, int elements, int index, ReadItem itemReader, Decoder decoder, bool reuse) |
|
object | Create (object reuse) |
|
void | AddElements (object mapObj, int elements, ReadItem itemReader, Decoder decoder, bool reuse) |
| T | Read (T reuse, Decoder decoder) |
| | Read a datum. Traverse the schema, depth-first, reading all leaf values in the schema into a datum that is returned. If the provided datum is non-null it may be reused and returned.- Parameters
-
| reuse | Optional object to deserialize the datum into. May be null. |
| decoder | Decoder to read data from. |
- Returns
- Deserialized datum.
|
| object | CreateRecord (object reuse) |
| | Creates a new record object. Derived classes can override this to return an object of their choice.
|
| object | GetField (object record, string fieldName, int fieldPos) |
| | Used by the default implementation of ReadRecord() to get the existing field of a record object. The derived classes can override this to make their own interpretation of the record object.
|
| void | AddField (object record, string fieldName, int fieldPos, object fieldValue) |
| | Used by the default implementation of ReadRecord() to add a field to a record object. The derived classes can override this to suit their own implementation of the record object.
|
| object | CreateEnum (object reuse, int ordinal) |
| | Creates an enum value.
|
| object | CreateFixed (object reuse) |
| | Returns a fixed object.
|
| byte[] | GetFixedBuffer (object f) |
| | Returns a buffer of appropriate size to read data into.
|
| object | Create (object reuse) |
| | Creates a new array object. The initial size of the object could be anything.
|
| void | EnsureSize (ref object array, int targetSize) |
| | Hint that the array should be able to handle at least targetSize elements. The array is not required to be resized.
|
| void | Resize (ref object array, int targetSize) |
| | Resizes the array to the new value.
|
| void | AddElements (object array, int elements, int index, ReadItem itemReader, Decoder decoder, bool reuse) |
| | Adds elements to the given array by reading values from the decoder.
|
| object | Create (object reuse) |
| | Creates a new map object.
|
| void | AddElements (object map, int elements, ReadItem itemReader, Decoder decoder, bool reuse) |
| | Adds elements to the given map by reading values from the decoder.
|
|
| SchemaPair (Schema writerSchema, Schema readerSchema) |
|
override bool | Equals (object obj) |
|
override int | GetHashCode () |