The generic container for Avro arrays. More...
#include <GenericDatum.hh>
Public Types | |
typedef std::vector< GenericDatum > | Value |
The contents type for the array. | |
Public Member Functions | |
GenericArray (const NodePtr &schema) | |
Constructs a generic array corresponding to the given schema schema , which should be of Avro type array. | |
const Value & | value () const |
Returns the contents of this array. | |
Value & | value () |
Returns the reference to the contents of this array. | |
Public Member Functions inherited from avro::GenericContainer | |
const NodePtr & | schema () const |
Returns the schema for this object. | |
Additional Inherited Members | |
Protected Member Functions inherited from avro::GenericContainer | |
GenericContainer (Type type, const NodePtr &s) | |
Constructs a container corresponding to the given schema. | |
The generic container for Avro arrays.