|
Avro C++
|
The generic container for Avro records. More...
#include <Generic.hh>
Public Member Functions | |
| GenericRecord (const NodePtr &schema) | |
Constructs a generic record corresponding to the given schema schema, which should be of Avro type record. | |
| size_t | fieldCount () const |
| Returns the number of fields in the current record. | |
| const GenericDatum & | fieldAt (size_t pos) const |
Returns the field at the given position pos. | |
| GenericDatum & | fieldAt (size_t pos) |
Returns the reference to the field at the given position pos, which can be used to change the contents. | |
| void | setFieldAt (size_t pos, const GenericDatum &v) |
Replaces the field at the given position pos with v. | |
The generic container for Avro records.
1.7.6.1