public class AvroEvaluatorDescriptor extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
AvroEvaluatorDescriptor.Builder
RecordBuilder for AvroEvaluatorDescriptor instances.
|
Modifier and Type | Field and Description |
---|---|
int |
memory
Deprecated.
|
AvroNodeDescriptor |
nodeDescriptor
Deprecated.
|
int |
numberOfCores
Deprecated.
|
AvroEvaluatorProcess |
process
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
AvroEvaluatorDescriptor()
Default constructor.
|
AvroEvaluatorDescriptor(AvroNodeDescriptor nodeDescriptor,
AvroEvaluatorProcess process,
Integer memory,
Integer numberOfCores)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
Integer |
getMemory()
Gets the value of the 'memory' field.
|
AvroNodeDescriptor |
getNodeDescriptor()
Gets the value of the 'nodeDescriptor' field.
|
Integer |
getNumberOfCores()
Gets the value of the 'numberOfCores' field.
|
AvroEvaluatorProcess |
getProcess()
Gets the value of the 'process' field.
|
org.apache.avro.Schema |
getSchema() |
static AvroEvaluatorDescriptor.Builder |
newBuilder()
Creates a new AvroEvaluatorDescriptor RecordBuilder
|
static AvroEvaluatorDescriptor.Builder |
newBuilder(AvroEvaluatorDescriptor.Builder other)
Creates a new AvroEvaluatorDescriptor RecordBuilder by copying an existing Builder
|
static AvroEvaluatorDescriptor.Builder |
newBuilder(AvroEvaluatorDescriptor other)
Creates a new AvroEvaluatorDescriptor RecordBuilder by copying an existing AvroEvaluatorDescriptor instance
|
void |
put(int field$,
Object value$) |
void |
setMemory(Integer value)
Sets the value of the 'memory' field.
|
void |
setNodeDescriptor(AvroNodeDescriptor value)
Sets the value of the 'nodeDescriptor' field.
|
void |
setNumberOfCores(Integer value)
Sets the value of the 'numberOfCores' field.
|
void |
setProcess(AvroEvaluatorProcess value)
Sets the value of the 'process' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public AvroNodeDescriptor nodeDescriptor
@Deprecated public AvroEvaluatorProcess process
@Deprecated public int memory
@Deprecated public int numberOfCores
public AvroEvaluatorDescriptor()
newBuilder()
.public AvroEvaluatorDescriptor(AvroNodeDescriptor nodeDescriptor, AvroEvaluatorProcess process, Integer memory, Integer numberOfCores)
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 AvroNodeDescriptor getNodeDescriptor()
public void setNodeDescriptor(AvroNodeDescriptor value)
value
- the value to set.public AvroEvaluatorProcess getProcess()
public void setProcess(AvroEvaluatorProcess value)
value
- the value to set.public void setMemory(Integer value)
value
- the value to set.public Integer getNumberOfCores()
public void setNumberOfCores(Integer value)
value
- the value to set.public static AvroEvaluatorDescriptor.Builder newBuilder()
public static AvroEvaluatorDescriptor.Builder newBuilder(AvroEvaluatorDescriptor.Builder other)
public static AvroEvaluatorDescriptor.Builder newBuilder(AvroEvaluatorDescriptor other)
Copyright © 2016 The Apache Software Foundation. All rights reserved.