public class AvroVortexRequest extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
AvroVortexRequest.Builder
RecordBuilder for AvroVortexRequest instances.
|
Modifier and Type | Field and Description |
---|---|
AvroRequestType |
requestType
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Object |
taskletRequest
Deprecated.
|
Constructor and Description |
---|
AvroVortexRequest()
Default constructor.
|
AvroVortexRequest(AvroRequestType requestType,
Object taskletRequest)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
AvroRequestType |
getRequestType()
Gets the value of the 'requestType' field.
|
org.apache.avro.Schema |
getSchema() |
Object |
getTaskletRequest()
Gets the value of the 'taskletRequest' field.
|
static AvroVortexRequest.Builder |
newBuilder()
Creates a new AvroVortexRequest RecordBuilder
|
static AvroVortexRequest.Builder |
newBuilder(AvroVortexRequest.Builder other)
Creates a new AvroVortexRequest RecordBuilder by copying an existing Builder
|
static AvroVortexRequest.Builder |
newBuilder(AvroVortexRequest other)
Creates a new AvroVortexRequest RecordBuilder by copying an existing AvroVortexRequest instance
|
void |
put(int field$,
Object value$) |
void |
setRequestType(AvroRequestType value)
Sets the value of the 'requestType' field.
|
void |
setTaskletRequest(Object value)
Sets the value of the 'taskletRequest' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public AvroRequestType requestType
@Deprecated public Object taskletRequest
public AvroVortexRequest()
newBuilder()
.public AvroVortexRequest(AvroRequestType requestType, Object taskletRequest)
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 AvroRequestType getRequestType()
public void setRequestType(AvroRequestType value)
value
- the value to set.public Object getTaskletRequest()
public void setTaskletRequest(Object value)
value
- the value to set.public static AvroVortexRequest.Builder newBuilder()
public static AvroVortexRequest.Builder newBuilder(AvroVortexRequest.Builder other)
public static AvroVortexRequest.Builder newBuilder(AvroVortexRequest other)
Copyright © 2016 The Apache Software Foundation. All rights reserved.