public class AvroFailedTask extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
AvroFailedTask.Builder
RecordBuilder for AvroFailedTask instances.
|
| Modifier and Type | Field and Description |
|---|---|
ByteBuffer |
cause
Deprecated.
|
ByteBuffer |
data
Deprecated.
|
CharSequence |
identifier
Deprecated.
|
CharSequence |
message
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
AvroFailedTask()
Default constructor.
|
AvroFailedTask(CharSequence identifier,
ByteBuffer data,
ByteBuffer cause,
CharSequence message)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
ByteBuffer |
getCause()
Gets the value of the 'cause' field.
|
static org.apache.avro.Schema |
getClassSchema() |
ByteBuffer |
getData()
Gets the value of the 'data' field.
|
CharSequence |
getIdentifier()
Gets the value of the 'identifier' field.
|
CharSequence |
getMessage()
Gets the value of the 'message' field.
|
org.apache.avro.Schema |
getSchema() |
static AvroFailedTask.Builder |
newBuilder()
Creates a new AvroFailedTask RecordBuilder.
|
static AvroFailedTask.Builder |
newBuilder(AvroFailedTask.Builder other)
Creates a new AvroFailedTask RecordBuilder by copying an existing Builder.
|
static AvroFailedTask.Builder |
newBuilder(AvroFailedTask other)
Creates a new AvroFailedTask RecordBuilder by copying an existing AvroFailedTask instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setCause(ByteBuffer value)
Sets the value of the 'cause' field.
|
void |
setData(ByteBuffer value)
Sets the value of the 'data' field.
|
void |
setIdentifier(CharSequence value)
Sets the value of the 'identifier' field.
|
void |
setMessage(CharSequence value)
Sets the value of the 'message' field.
|
void |
writeExternal(ObjectOutput out) |
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence identifier
@Deprecated public ByteBuffer data
@Deprecated public ByteBuffer cause
@Deprecated public CharSequence message
public AvroFailedTask()
newBuilder().public AvroFailedTask(CharSequence identifier, ByteBuffer data, ByteBuffer cause, CharSequence message)
identifier - The Task ID of the failed Task.data - The data passed back from the Failed Task, if any.cause - The serialized Exception of that caused the Task failure.message - The message of the Task failure, if any.public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$, Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic CharSequence getIdentifier()
public void setIdentifier(CharSequence value)
value - the value to set.public ByteBuffer getData()
public void setData(ByteBuffer value)
value - the value to set.public ByteBuffer getCause()
public void setCause(ByteBuffer value)
value - the value to set.public CharSequence getMessage()
public void setMessage(CharSequence value)
value - the value to set.public static AvroFailedTask.Builder newBuilder()
public static AvroFailedTask.Builder newBuilder(AvroFailedTask.Builder other)
other - The existing builder to copy.public static AvroFailedTask.Builder newBuilder(AvroFailedTask other)
other - The existing instance to copy.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizablereadExternal in class org.apache.avro.specific.SpecificRecordBaseIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.