org.apache.avro.generic
Interface IndexedRecord

All Superinterfaces:
GenericContainer
All Known Subinterfaces:
GenericRecord, SpecificRecord
All Known Implementing Classes:
GenericData.Record, SpecificExceptionBase, SpecificRecordBase

public interface IndexedRecord
extends GenericContainer

A record implementation that permits field access by integer index.


Method Summary
 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.
 
Methods inherited from interface org.apache.avro.generic.GenericContainer
getSchema
 

Method Detail

put

void put(int i,
         Object v)
Set the value of a field given its position in the schema.


get

Object get(int i)
Return the value of a field given its position in the schema.



Copyright © 2010 The Apache Software Foundation