Avro C++
Public Member Functions | Static Public Member Functions
avro::GenericReader Class Reference

A utility class to read generic datum from decoders. More...

#include <Generic.hh>

Inheritance diagram for avro::GenericReader:
noncopyable

List of all members.

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.

Detailed Description

A utility class to read generic datum from decoders.


The documentation for this class was generated from the following file: