|
Avro C++
|
A utility class to read generic datum from decoders. More...
#include <Generic.hh>
Public Member Functions | |
| GenericReader (const ValidSchema &s, const DecoderPtr &decoder) | |
| Constructs a reader for the given schema using the given decoder. | |
| GenericReader (const ValidSchema &writerSchema, const ValidSchema &readerSchema, const DecoderPtr &decoder) | |
Constructs a reader for the given reader's schema readerSchema using the given decoder which holds data matching writer's schema writerSchema. | |
| void | read (GenericDatum &datum) const |
| Reads a value off the decoder. | |
Static Public Member Functions | |
| static void | read (Decoder &d, GenericDatum &g) |
| Reads a generic datum from the stream, using the given schema. | |
| static void | read (Decoder &d, GenericDatum &g, const ValidSchema &s) |
| Reads a generic datum from the stream, using the given schema. | |
A utility class to read generic datum from decoders.
1.7.6.1