public interface GenericRecord
| 限定符和类型 | 方法和说明 |
|---|---|
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–2019 Apache Software Foundation. All rights reserved.