Class GenericRecord
The generic container for Avro records.
Constructors
Name | Description |
this
(schema)
|
Constructs a generic record corresponding to the given "record" type schema.
|
Methods
Name | Description |
fieldAt
(pos)
|
Returns the field data at the given position.
|
fieldCount
()
|
Returns the number of fields in the current record.
|
fieldIndex
(name)
|
Returns index of the field with the given name.
|
getField
(name)
|
Returns the field data with the given name.
|
opIndex
(name)
|
Returns the field data with the given name.
|
setFieldAt
(pos, v)
|
Replace the field data at the given position.
|