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. | |
Properties | |
Schema | ReaderSchema [get] |
Schema | WriterSchema [get] |
T Avro::Generic::DatumReader-g< 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.
Implemented in Avro::Generic::GenericReader< T >, and Avro::Specific::SpecificReader-g< T >.