@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class LocalAssignment extends Object implements org.apache.thrift.TBase<LocalAssignment,LocalAssignment._Fields>, Serializable, Cloneable, Comparable<LocalAssignment>
Modifier and Type | Class and Description |
---|---|
static class |
LocalAssignment._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<LocalAssignment._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
LocalAssignment() |
LocalAssignment(LocalAssignment other)
Performs a deep copy on other.
|
LocalAssignment(String topology_id,
List<ExecutorInfo> executors) |
Modifier and Type | Method and Description |
---|---|
void |
add_to_executors(ExecutorInfo elem) |
void |
clear() |
int |
compareTo(LocalAssignment other) |
LocalAssignment |
deepCopy() |
boolean |
equals(LocalAssignment that) |
boolean |
equals(Object that) |
LocalAssignment._Fields |
fieldForId(int fieldId) |
Iterator<ExecutorInfo> |
get_executors_iterator() |
int |
get_executors_size() |
List<ExecutorInfo> |
get_executors() |
String |
get_owner() |
WorkerResources |
get_resources() |
String |
get_topology_id() |
Object |
getFieldValue(LocalAssignment._Fields field) |
int |
hashCode() |
boolean |
is_set_executors()
Returns true if field executors is set (has been assigned a value) and false otherwise
|
boolean |
is_set_owner()
Returns true if field owner is set (has been assigned a value) and false otherwise
|
boolean |
is_set_resources()
Returns true if field resources is set (has been assigned a value) and false otherwise
|
boolean |
is_set_topology_id()
Returns true if field topology_id is set (has been assigned a value) and false otherwise
|
boolean |
isSet(LocalAssignment._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_executors_isSet(boolean value) |
void |
set_executors(List<ExecutorInfo> executors) |
void |
set_owner_isSet(boolean value) |
void |
set_owner(String owner) |
void |
set_resources_isSet(boolean value) |
void |
set_resources(WorkerResources resources) |
void |
set_topology_id_isSet(boolean value) |
void |
set_topology_id(String topology_id) |
void |
setFieldValue(LocalAssignment._Fields field,
Object value) |
String |
toString() |
void |
unset_executors() |
void |
unset_owner() |
void |
unset_resources() |
void |
unset_topology_id() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<LocalAssignment._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public LocalAssignment()
public LocalAssignment(String topology_id, List<ExecutorInfo> executors)
public LocalAssignment(LocalAssignment other)
Performs a deep copy on other.
public LocalAssignment deepCopy()
deepCopy
in interface org.apache.thrift.TBase<LocalAssignment,LocalAssignment._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<LocalAssignment,LocalAssignment._Fields>
public String get_topology_id()
public void set_topology_id(String topology_id)
public void unset_topology_id()
public boolean is_set_topology_id()
Returns true if field topology_id is set (has been assigned a value) and false otherwise
public void set_topology_id_isSet(boolean value)
public int get_executors_size()
public Iterator<ExecutorInfo> get_executors_iterator()
public void add_to_executors(ExecutorInfo elem)
public List<ExecutorInfo> get_executors()
public void set_executors(List<ExecutorInfo> executors)
public void unset_executors()
public boolean is_set_executors()
Returns true if field executors is set (has been assigned a value) and false otherwise
public void set_executors_isSet(boolean value)
public WorkerResources get_resources()
public void set_resources(WorkerResources resources)
public void unset_resources()
public boolean is_set_resources()
Returns true if field resources is set (has been assigned a value) and false otherwise
public void set_resources_isSet(boolean value)
public String get_owner()
public void set_owner(String owner)
public void unset_owner()
public boolean is_set_owner()
Returns true if field owner is set (has been assigned a value) and false otherwise
public void set_owner_isSet(boolean value)
public void setFieldValue(LocalAssignment._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<LocalAssignment,LocalAssignment._Fields>
public Object getFieldValue(LocalAssignment._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<LocalAssignment,LocalAssignment._Fields>
public boolean isSet(LocalAssignment._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.thrift.TBase<LocalAssignment,LocalAssignment._Fields>
public boolean equals(LocalAssignment that)
public int compareTo(LocalAssignment other)
compareTo
in interface Comparable<LocalAssignment>
public LocalAssignment._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<LocalAssignment,LocalAssignment._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<LocalAssignment,LocalAssignment._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<LocalAssignment,LocalAssignment._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.