public abstract class SpecificExceptionBase extends AvroRemoteException implements SpecificRecord, Externalizable
Constructor and Description |
---|
SpecificExceptionBase() |
SpecificExceptionBase(Object value) |
SpecificExceptionBase(Object value,
Throwable cause) |
SpecificExceptionBase(Throwable value) |
Modifier and Type | Method and Description |
---|---|
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.
|
SpecificData |
getSpecificData() |
int |
hashCode() |
abstract void |
put(int field,
Object value)
Set the value of a field given its position in the schema.
|
abstract void |
readExternal(ObjectInput in) |
abstract void |
writeExternal(ObjectOutput out) |
getValue
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SpecificExceptionBase()
public SpecificExceptionBase(Throwable value)
public SpecificExceptionBase(Object value)
public abstract Schema getSchema()
GenericContainer
getSchema
in interface GenericContainer
public abstract Object get(int field)
IndexedRecord
This 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)
IndexedRecord
This method is not meant to be called by user code, but only by
DatumReader
implementations.
put
in interface IndexedRecord
public abstract void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public abstract void readExternal(ObjectInput in) throws IOException
readExternal
in interface Externalizable
IOException
public SpecificData getSpecificData()
Copyright © 2009–2022 The Apache Software Foundation. All rights reserved.