|
Avro C#
|
Reader wrapper class for reading data and storing into specific classes. More...
Public Member Functions | |
| ReflectReader (Schema writerSchema, Schema readerSchema, ClassCache cache=null) | |
| Constructs a generic reader for the given schemas using the DefaultReader. If the reader's and writer's schemas are different this class performs the resolution. | |
| ReflectReader (ReflectDefaultReader reader) | |
| Constructs a generic reader from an instance of a ReflectDefaultReader (non-generic) | |
| T | Read (T reuse, Decoder dec) |
| Generic read function. | |
| T | Read (Decoder dec) |
| Generic read function. | |
Properties | |
| ReflectDefaultReader | Reader [get] |
| Default reader. | |
| Schema | WriterSchema [get] |
| Schema for the writer class. | |
| Schema | ReaderSchema [get] |
| Schema for the reader class. | |
Properties inherited from Avro.Generic.DatumReader< T > | |
Reader wrapper class for reading data and storing into specific classes.
| T | Specific class type |
|
inline |
Constructs a generic reader for the given schemas using the DefaultReader. If the reader's and writer's schemas are different this class performs the resolution.
| writerSchema | The schema used while generating the data |
| readerSchema | The schema desired by the reader |
| cache | Class cache |
|
inline |
Constructs a generic reader from an instance of a ReflectDefaultReader (non-generic)
| reader |
|
inline |
Generic read function.
| dec | decoder to use for reading data |
|
inline |
Generic read function.
| reuse | object to store data read |
| dec | decoder to use for reading data |
Implements Avro.Generic.DatumReader< T >.
|
get |
Schema for the reader class.
Implements Avro.Generic.DatumReader< T >.
|
get |
Schema for the writer class.
Implements Avro.Generic.DatumReader< T >.