Low level support for decoding avro values. More...
|Decoder is an interface implemented by every decoder capable of decoding Avro data. More...|
|ResolvingDecoder is derived from Decoder, with an additional function to obtain the field ordering of fiedls within a record. More...|
|A bunch of templates and specializations for encoding and decoding specific types. |
< Decoder >
|Shared pointer to Decoder. |
< ResolvingDecoder >
|Shared pointer to ResolvingDecoder. |
|AVRO_DECL DecoderPtr||avro::binaryDecoder ()|
|Returns an decoder that can decode binary Avro standard. |
|AVRO_DECL DecoderPtr||avro::validatingDecoder (const ValidSchema &schema, const DecoderPtr &base)|
|Returns an decoder that validates sequence of calls to an underlying Decoder against the given schema. |
|AVRO_DECL DecoderPtr||avro::jsonDecoder (const ValidSchema &schema)|
|Returns an decoder that can decode Avro standard for JSON. |
|AVRO_DECL ResolvingDecoderPtr||avro::resolvingDecoder (const ValidSchema &writer, const ValidSchema &reader, const DecoderPtr &base)|
|Returns a decoder that decodes avro data from base written according to writerSchema and resolves against readerSchema. More...|
Low level support for decoding avro values.
This class has two types of funtions. One type of functions support decoding of leaf values (for example, decodeLong and decodeString). These functions have analogs in Encoder.
The other type of functions support decoding of maps and arrays. These functions are arrayStart, startItem, and arrayEnd (and similar functions for maps).