@InterfaceAudience.Public @InterfaceStability.Stable public interface GenericRecord
| Modifier and Type | Method and Description |
|---|---|
default Object |
getField(Field field)
Retrieve the value of the provided field.
|
Object |
getField(String fieldName)
Retrieve the value of the provided fieldName.
|
List<Field> |
getFields()
Returns the list of fields associated with the record.
|
byte[] |
getSchemaVersion()
Return schema version.
|
byte[] getSchemaVersion()
List<Field> getFields()
default Object getField(Field field)
field - the field to retrieve the valueCopyright © 2017–2021 Apache Software Foundation. All rights reserved.