public class Operator extends Object implements org.apache.thrift.TBase<Operator,Operator._Fields>, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
Operator._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static Map<Operator._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
Operator() |
Operator(Operator other)
Performs a deep copy on other.
|
Operator(String operatorId,
OperatorType operatorType,
Map<String,String> operatorAttributes,
Map<String,Long> operatorCounters,
boolean done,
boolean started) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(Operator other) |
Operator |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(Operator that) |
Operator._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(Operator._Fields field) |
Map<String,String> |
getOperatorAttributes() |
int |
getOperatorAttributesSize() |
Map<String,Long> |
getOperatorCounters() |
int |
getOperatorCountersSize() |
String |
getOperatorId() |
OperatorType |
getOperatorType() |
int |
hashCode() |
boolean |
isDone() |
boolean |
isSet(Operator._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDone()
Returns true if field done is set (has been assigned a value) and false otherwise
|
boolean |
isSetOperatorAttributes()
Returns true if field operatorAttributes is set (has been assigned a value) and false otherwise
|
boolean |
isSetOperatorCounters()
Returns true if field operatorCounters is set (has been assigned a value) and false otherwise
|
boolean |
isSetOperatorId()
Returns true if field operatorId is set (has been assigned a value) and false otherwise
|
boolean |
isSetOperatorType()
Returns true if field operatorType is set (has been assigned a value) and false otherwise
|
boolean |
isSetStarted()
Returns true if field started is set (has been assigned a value) and false otherwise
|
boolean |
isStarted() |
void |
putToOperatorAttributes(String key,
String val) |
void |
putToOperatorCounters(String key,
long val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDone(boolean done) |
void |
setDoneIsSet(boolean value) |
void |
setFieldValue(Operator._Fields field,
Object value) |
void |
setOperatorAttributes(Map<String,String> operatorAttributes) |
void |
setOperatorAttributesIsSet(boolean value) |
void |
setOperatorCounters(Map<String,Long> operatorCounters) |
void |
setOperatorCountersIsSet(boolean value) |
void |
setOperatorId(String operatorId) |
void |
setOperatorIdIsSet(boolean value) |
void |
setOperatorType(OperatorType operatorType) |
void |
setOperatorTypeIsSet(boolean value) |
void |
setStarted(boolean started) |
void |
setStartedIsSet(boolean value) |
String |
toString() |
void |
unsetDone() |
void |
unsetOperatorAttributes() |
void |
unsetOperatorCounters() |
void |
unsetOperatorId() |
void |
unsetOperatorType() |
void |
unsetStarted() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<Operator._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Operator()
public Operator(String operatorId, OperatorType operatorType, Map<String,String> operatorAttributes, Map<String,Long> operatorCounters, boolean done, boolean started)
public Operator(Operator other)
public Operator deepCopy()
deepCopy in interface org.apache.thrift.TBase<Operator,Operator._Fields>public void clear()
clear in interface org.apache.thrift.TBase<Operator,Operator._Fields>public String getOperatorId()
public void setOperatorId(String operatorId)
public void unsetOperatorId()
public boolean isSetOperatorId()
public void setOperatorIdIsSet(boolean value)
public OperatorType getOperatorType()
OperatorTypepublic void setOperatorType(OperatorType operatorType)
OperatorTypepublic void unsetOperatorType()
public boolean isSetOperatorType()
public void setOperatorTypeIsSet(boolean value)
public int getOperatorAttributesSize()
public void unsetOperatorAttributes()
public boolean isSetOperatorAttributes()
public void setOperatorAttributesIsSet(boolean value)
public int getOperatorCountersSize()
public void putToOperatorCounters(String key, long val)
public void unsetOperatorCounters()
public boolean isSetOperatorCounters()
public void setOperatorCountersIsSet(boolean value)
public boolean isDone()
public void setDone(boolean done)
public void unsetDone()
public boolean isSetDone()
public void setDoneIsSet(boolean value)
public boolean isStarted()
public void setStarted(boolean started)
public void unsetStarted()
public boolean isSetStarted()
public void setStartedIsSet(boolean value)
public void setFieldValue(Operator._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<Operator,Operator._Fields>public Object getFieldValue(Operator._Fields field)
getFieldValue in interface org.apache.thrift.TBase<Operator,Operator._Fields>public boolean isSet(Operator._Fields field)
isSet in interface org.apache.thrift.TBase<Operator,Operator._Fields>public boolean equals(Operator that)
public int compareTo(Operator other)
compareTo in interface Comparable<Operator>public Operator._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<Operator,Operator._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<Operator,Operator._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<Operator,Operator._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.