public class AvroEvaluatorInfo extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
AvroEvaluatorInfo.Builder
RecordBuilder for AvroEvaluatorInfo instances.
|
Modifier and Type | Field and Description |
---|---|
CharSequence |
evaluatorId
Deprecated.
|
CharSequence |
internetAddress
Deprecated.
|
int |
memory
Deprecated.
|
CharSequence |
nodeId
Deprecated.
|
CharSequence |
nodeName
Deprecated.
|
CharSequence |
runtimeName
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
CharSequence |
type
Deprecated.
|
Constructor and Description |
---|
AvroEvaluatorInfo()
Default constructor.
|
AvroEvaluatorInfo(CharSequence evaluatorId,
CharSequence nodeId,
CharSequence nodeName,
Integer memory,
CharSequence type,
CharSequence internetAddress,
CharSequence runtimeName)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
CharSequence |
getEvaluatorId()
Gets the value of the 'evaluatorId' field.
|
CharSequence |
getInternetAddress()
Gets the value of the 'internetAddress' field.
|
Integer |
getMemory()
Gets the value of the 'memory' field.
|
CharSequence |
getNodeId()
Gets the value of the 'nodeId' field.
|
CharSequence |
getNodeName()
Gets the value of the 'nodeName' field.
|
CharSequence |
getRuntimeName()
Gets the value of the 'runtimeName' field.
|
org.apache.avro.Schema |
getSchema() |
CharSequence |
getType()
Gets the value of the 'type' field.
|
static AvroEvaluatorInfo.Builder |
newBuilder()
Creates a new AvroEvaluatorInfo RecordBuilder.
|
static AvroEvaluatorInfo.Builder |
newBuilder(AvroEvaluatorInfo.Builder other)
Creates a new AvroEvaluatorInfo RecordBuilder by copying an existing Builder.
|
static AvroEvaluatorInfo.Builder |
newBuilder(AvroEvaluatorInfo other)
Creates a new AvroEvaluatorInfo RecordBuilder by copying an existing AvroEvaluatorInfo instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setEvaluatorId(CharSequence value)
Sets the value of the 'evaluatorId' field.
|
void |
setInternetAddress(CharSequence value)
Sets the value of the 'internetAddress' field.
|
void |
setMemory(Integer value)
Sets the value of the 'memory' field.
|
void |
setNodeId(CharSequence value)
Sets the value of the 'nodeId' field.
|
void |
setNodeName(CharSequence value)
Sets the value of the 'nodeName' field.
|
void |
setRuntimeName(CharSequence value)
Sets the value of the 'runtimeName' field.
|
void |
setType(CharSequence value)
Sets the value of the 'type' field.
|
void |
writeExternal(ObjectOutput out) |
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence evaluatorId
@Deprecated public CharSequence nodeId
@Deprecated public CharSequence nodeName
@Deprecated public int memory
@Deprecated public CharSequence type
@Deprecated public CharSequence internetAddress
@Deprecated public CharSequence runtimeName
public AvroEvaluatorInfo()
newBuilder()
.public AvroEvaluatorInfo(CharSequence evaluatorId, CharSequence nodeId, CharSequence nodeName, Integer memory, CharSequence type, CharSequence internetAddress, CharSequence runtimeName)
evaluatorId
- The new value for evaluatorIdnodeId
- The new value for nodeIdnodeName
- The new value for nodeNamememory
- The new value for memorytype
- The new value for typeinternetAddress
- The new value for internetAddressruntimeName
- The new value for runtimeNamepublic 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 CharSequence getEvaluatorId()
public void setEvaluatorId(CharSequence value)
value
- the value to set.public CharSequence getNodeId()
public void setNodeId(CharSequence value)
value
- the value to set.public CharSequence getNodeName()
public void setNodeName(CharSequence value)
value
- the value to set.public Integer getMemory()
public void setMemory(Integer value)
value
- the value to set.public CharSequence getType()
public void setType(CharSequence value)
value
- the value to set.public CharSequence getInternetAddress()
public void setInternetAddress(CharSequence value)
value
- the value to set.public CharSequence getRuntimeName()
public void setRuntimeName(CharSequence value)
value
- the value to set.public static AvroEvaluatorInfo.Builder newBuilder()
public static AvroEvaluatorInfo.Builder newBuilder(AvroEvaluatorInfo.Builder other)
other
- The existing builder to copy.public static AvroEvaluatorInfo.Builder newBuilder(AvroEvaluatorInfo 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.