public interface IndexedRecord extends GenericContainer
Modifier and Type | Method and Description |
---|---|
Object |
get(int i)
Return the value of a field given its position in the schema.
|
void |
put(int i,
Object v)
Set the value of a field given its position in the schema.
|
getSchema
void put(int i, Object v)
This method is not meant to be called by user code, but only by
DatumReader
implementations.
Object get(int i)
This method is not meant to be called by user code, but only by
DatumWriter
implementations.
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.