Package org.apache.avro.generic
Interface GenericRecord
- All Superinterfaces:
GenericContainer
,IndexedRecord
- All Known Implementing Classes:
GenericData.Record
,HandshakeRequest
,HandshakeResponse
,SpecificRecordBase
A generic instance of a record schema. Fields are accessible by name as well
as by index.
-
Method Summary
Methods inherited from interface org.apache.avro.generic.GenericContainer
getSchema
Methods inherited from interface org.apache.avro.generic.IndexedRecord
get, put
-
Method Details
-
put
Set the value of a field given its name. -
get
Return the value of a field given its name. -
hasField
Return true if record has field with name: key
-