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 |
readExternal(ObjectInput in) |
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.
|
void |
writeExternal(ObjectOutput out) |
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)
nodeDescriptor
- The new value for nodeDescriptorprocess
- The new value for processmemory
- The new value for memorynumberOfCores
- The new value for numberOfCorespublic 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 Integer getMemory()
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)
other
- The existing builder to copy.public static AvroEvaluatorDescriptor.Builder newBuilder(AvroEvaluatorDescriptor other)
other
- The existing instance to copy.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class org.apache.avro.specific.SpecificRecordBase
IOException
public void readExternal(ObjectInput in) throws IOException
readExternal
in interface Externalizable
readExternal
in class org.apache.avro.specific.SpecificRecordBase
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.