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 |
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.
|
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)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public 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)
public static AvroFailedContext.Builder newBuilder(AvroFailedContext other)
Copyright © 2016 The Apache Software Foundation. All rights reserved.