|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.avro.AvroRemoteException
org.apache.avro.specific.SpecificExceptionBase
public abstract class SpecificExceptionBase
Base class for specific exceptions.
| Constructor Summary | |
|---|---|
SpecificExceptionBase()
|
|
SpecificExceptionBase(Object value)
|
|
SpecificExceptionBase(Object value,
Throwable cause)
|
|
SpecificExceptionBase(Throwable value)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.avro.AvroRemoteException |
|---|
getValue |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SpecificExceptionBase()
public SpecificExceptionBase(Throwable value)
public SpecificExceptionBase(Object value)
public SpecificExceptionBase(Object value,
Throwable cause)
| Method Detail |
|---|
public abstract Schema getSchema()
GenericContainer
getSchema in interface GenericContainerpublic abstract Object get(int field)
IndexedRecordThis method is not meant to be called by user code, but only by DatumWriter implementations.
get in interface IndexedRecord
public abstract void put(int field,
Object value)
IndexedRecordThis method is not meant to be called by user code, but only by DatumReader implementations.
put in interface IndexedRecordpublic boolean equals(Object that)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||