Package org.apache.avro.generic
Interface IndexedRecord
- All Superinterfaces:
GenericContainer
- All Known Subinterfaces:
GenericRecord
,SpecificRecord
- All Known Implementing Classes:
GenericData.Record
,HandshakeRequest
,HandshakeResponse
,Pair
,SpecificExceptionBase
,SpecificRecordBase
A record implementation that permits field access by integer index.
-
Method Summary
Methods inherited from interface org.apache.avro.generic.GenericContainer
getSchema
-
Method Details
-
put
Set the value of a field given its position in the schema.This method is not meant to be called by user code, but only by
DatumReader
implementations. -
get
Return the value of a field given its position in the schema.This method is not meant to be called by user code, but only by
DatumWriter
implementations.
-