Top Description Methods
org.apache.avro.generic

public Interface IndexedRecord

extends GenericContainer
Known Direct Subinterfaces
org.apache.avro.specific.SpecificRecord, org.apache.avro.generic.GenericRecord

A record implementation that permits field access by integer index.

Method Summary

Modifier and TypeMethod and Description
public Object
get(int i)

Return the value of a field given its position in the schema.

public void
put(int i, Object v)

Set the value of a field given its position in the schema.

Inherited from org.apache.avro.generic.GenericContainer:
getSchema

Method Detail

getback to summary
public Object get(int i)

Return the value of a field given its position in the schema.

This method is not meant to be called by user code, but only by org.apache.avro.io.DatumWriter implementations.

putback to summary
public void put(int i, Object v)

Set the value of a field given its position in the schema.

This method is not meant to be called by user code, but only by org.apache.avro.io.DatumReader implementations.