public class AvroEvaluatorRequest extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
AvroEvaluatorRequest.Builder
RecordBuilder for AvroEvaluatorRequest instances.
|
Modifier and Type | Field and Description |
---|---|
int |
cores
Deprecated.
|
int |
megaBytes
Deprecated.
|
List<CharSequence> |
nodeNames
Deprecated.
|
int |
number
Deprecated.
|
List<CharSequence> |
rackNames
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
AvroEvaluatorRequest()
Default constructor.
|
AvroEvaluatorRequest(Integer megaBytes,
Integer number,
Integer cores,
List<CharSequence> nodeNames,
List<CharSequence> rackNames)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
Integer |
getCores()
Gets the value of the 'cores' field.
|
Integer |
getMegaBytes()
Gets the value of the 'megaBytes' field.
|
List<CharSequence> |
getNodeNames()
Gets the value of the 'nodeNames' field.
|
Integer |
getNumber()
Gets the value of the 'number' field.
|
List<CharSequence> |
getRackNames()
Gets the value of the 'rackNames' field.
|
org.apache.avro.Schema |
getSchema() |
static AvroEvaluatorRequest.Builder |
newBuilder()
Creates a new AvroEvaluatorRequest RecordBuilder
|
static AvroEvaluatorRequest.Builder |
newBuilder(AvroEvaluatorRequest.Builder other)
Creates a new AvroEvaluatorRequest RecordBuilder by copying an existing Builder
|
static AvroEvaluatorRequest.Builder |
newBuilder(AvroEvaluatorRequest other)
Creates a new AvroEvaluatorRequest RecordBuilder by copying an existing AvroEvaluatorRequest instance
|
void |
put(int field$,
Object value$) |
void |
setCores(Integer value)
Sets the value of the 'cores' field.
|
void |
setMegaBytes(Integer value)
Sets the value of the 'megaBytes' field.
|
void |
setNodeNames(List<CharSequence> value)
Sets the value of the 'nodeNames' field.
|
void |
setNumber(Integer value)
Sets the value of the 'number' field.
|
void |
setRackNames(List<CharSequence> value)
Sets the value of the 'rackNames' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public int megaBytes
@Deprecated public int number
@Deprecated public int cores
@Deprecated public List<CharSequence> nodeNames
@Deprecated public List<CharSequence> rackNames
public AvroEvaluatorRequest()
newBuilder()
.public AvroEvaluatorRequest(Integer megaBytes, Integer number, Integer cores, List<CharSequence> nodeNames, List<CharSequence> rackNames)
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 Integer getMegaBytes()
public void setMegaBytes(Integer value)
value
- the value to set.public void setNumber(Integer value)
value
- the value to set.public void setCores(Integer value)
value
- the value to set.public List<CharSequence> getNodeNames()
public void setNodeNames(List<CharSequence> value)
value
- the value to set.public List<CharSequence> getRackNames()
public void setRackNames(List<CharSequence> value)
value
- the value to set.public static AvroEvaluatorRequest.Builder newBuilder()
public static AvroEvaluatorRequest.Builder newBuilder(AvroEvaluatorRequest.Builder other)
public static AvroEvaluatorRequest.Builder newBuilder(AvroEvaluatorRequest other)
Copyright © 2016 The Apache Software Foundation. All rights reserved.