public interface GenericRecord extends IndexedRecord
Modifier and Type | Method and Description |
---|---|
Object |
get(String key)
Return the value of a field given its name.
|
default boolean |
hasField(String key)
Return true if record has field with name: key
|
void |
put(String key,
Object v)
Set the value of a field given its name.
|
get, put
getSchema
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.