Avro C#
|
Defines the interface for an object that reads data of a schema. More...
Public Member Functions | |
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. More... | |
Properties | |
Schema | ReaderSchema [get] |
Schema used to read the data. More... | |
Schema | WriterSchema [get] |
Schema that was used to write the data. More... | |
Defines the interface for an object that reads data of a schema.
T | Type of the in-memory data representation. |
T Avro.Generic.DatumReader< 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.
reuse | Optional object to deserialize the datum into. May be null. |
decoder | Decoder to read data from. |
Implemented in Avro.Generic.GenericReader< T >, Avro.Specific.SpecificReader< T >, and Avro.Generic.PreresolvingDatumReader< T >.
|
get |
Schema used to read the data.
|
get |
Schema that was used to write the data.