The generic container for Avro maps. More...
#include <GenericDatum.hh>
Public Types | |
typedef std::vector< std::pair < std::string, GenericDatum > > | Value |
The contents type for the map. | |
Public Member Functions | |
GenericMap (const NodePtr &schema) | |
Constructs a generic map corresponding to the given schema schema , which should be of Avro type map. | |
const Value & | value () const |
Returns the contents of this map. | |
Value & | value () |
Returns the reference to the contents of this map. | |
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 maps.