|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.specific.SpecificRecordBase
public abstract class SpecificRecordBase
Base class for generated record classes.
Constructor Summary | |
---|---|
SpecificRecordBase()
|
Method Summary | |
---|---|
int |
compareTo(SpecificRecord that)
|
boolean |
equals(Object that)
|
abstract Object |
get(int field)
Return the value of a field given its position in the schema. |
abstract Schema |
getSchema()
The schema of this instance. |
int |
hashCode()
|
abstract void |
put(int field,
Object value)
Set the value of a field given its position in the schema. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpecificRecordBase()
Method Detail |
---|
public abstract Schema getSchema()
GenericContainer
getSchema
in interface GenericContainer
public abstract Object get(int field)
IndexedRecord
get
in interface IndexedRecord
public abstract void put(int field, Object value)
IndexedRecord
put
in interface IndexedRecord
public boolean equals(Object that)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(SpecificRecord that)
compareTo
in interface Comparable<SpecificRecord>
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |