public class AvroFailedContext extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
AvroFailedContext.Builder
RecordBuilder for AvroFailedContext instances.
|
| Modifier and Type | Field and Description |
|---|---|
AvroContextBase |
base
Deprecated.
|
AvroFailure |
failure
Deprecated.
|
AvroActiveContext |
parentContext
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
AvroFailedContext()
Default constructor.
|
AvroFailedContext(AvroContextBase base,
AvroActiveContext parentContext,
AvroFailure failure)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
AvroContextBase |
getBase()
Gets the value of the 'base' field.
|
static org.apache.avro.Schema |
getClassSchema() |
AvroFailure |
getFailure()
Gets the value of the 'failure' field.
|
AvroActiveContext |
getParentContext()
Gets the value of the 'parentContext' field.
|
org.apache.avro.Schema |
getSchema() |
static AvroFailedContext.Builder |
newBuilder()
Creates a new AvroFailedContext RecordBuilder.
|
static AvroFailedContext.Builder |
newBuilder(AvroFailedContext.Builder other)
Creates a new AvroFailedContext RecordBuilder by copying an existing Builder.
|
static AvroFailedContext.Builder |
newBuilder(AvroFailedContext other)
Creates a new AvroFailedContext RecordBuilder by copying an existing AvroFailedContext instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setBase(AvroContextBase value)
Sets the value of the 'base' field.
|
void |
setFailure(AvroFailure value)
Sets the value of the 'failure' field.
|
void |
setParentContext(AvroActiveContext value)
Sets the value of the 'parentContext' field.
|
void |
writeExternal(ObjectOutput out) |
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public AvroContextBase base
@Deprecated public AvroActiveContext parentContext
@Deprecated public AvroFailure failure
public AvroFailedContext()
newBuilder().public AvroFailedContext(AvroContextBase base, AvroActiveContext parentContext, AvroFailure failure)
base - The new value for baseparentContext - The new value for parentContextfailure - The new value for failurepublic 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 AvroContextBase getBase()
public void setBase(AvroContextBase value)
value - the value to set.public AvroActiveContext getParentContext()
public void setParentContext(AvroActiveContext value)
value - the value to set.public AvroFailure getFailure()
public void setFailure(AvroFailure value)
value - the value to set.public static AvroFailedContext.Builder newBuilder()
public static AvroFailedContext.Builder newBuilder(AvroFailedContext.Builder other)
other - The existing builder to copy.public static AvroFailedContext.Builder newBuilder(AvroFailedContext 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.