Reader wrapper class for reading data and storing into specific classes More...
Public Member Functions | |
SpecificReader (Schema writerSchema, Schema readerSchema) | |
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. More... | |
SpecificReader (SpecificDefaultReader reader) | |
Initializes a new instance of the SpecificReader<T> class using an existing SpecificDefaultReader. More... | |
T | Read (T reuse, Decoder dec) |
Generic read function More... | |
Properties | |
Schema | WriterSchema [get] |
Schema for the writer class More... | |
Schema | ReaderSchema [get] |
Schema for the reader class More... | |
![]() | |
Schema | ReaderSchema [get] |
Schema used to read the data. More... | |
Schema | WriterSchema [get] |
Schema that was used to write the data. More... | |
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 |
|
inline |
Initializes a new instance of the SpecificReader<T> class using an existing SpecificDefaultReader.
reader | Default reader to use. |
|
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
|
get |
Schema for the writer class