@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class Assignment extends Object implements org.apache.thrift.TBase<Assignment,Assignment._Fields>, Serializable, Cloneable, Comparable<Assignment>
Modifier and Type | Class and Description |
---|---|
static class |
Assignment._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<Assignment._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
Assignment() |
Assignment(Assignment other)
Performs a deep copy on other.
|
Assignment(String master_code_dir) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Assignment other) |
Assignment |
deepCopy() |
boolean |
equals(Assignment that) |
boolean |
equals(Object that) |
Assignment._Fields |
fieldForId(int fieldId) |
int |
get_executor_node_port_size() |
Map<List<Long>,NodeInfo> |
get_executor_node_port() |
int |
get_executor_start_time_secs_size() |
Map<List<Long>,Long> |
get_executor_start_time_secs() |
String |
get_master_code_dir() |
int |
get_node_host_size() |
Map<String,String> |
get_node_host() |
String |
get_owner() |
int |
get_worker_resources_size() |
Map<NodeInfo,WorkerResources> |
get_worker_resources() |
Object |
getFieldValue(Assignment._Fields field) |
int |
hashCode() |
boolean |
is_set_executor_node_port()
Returns true if field executor_node_port is set (has been assigned a value) and false otherwise
|
boolean |
is_set_executor_start_time_secs()
Returns true if field executor_start_time_secs is set (has been assigned a value) and false otherwise
|
boolean |
is_set_master_code_dir()
Returns true if field master_code_dir is set (has been assigned a value) and false otherwise
|
boolean |
is_set_node_host()
Returns true if field node_host 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_worker_resources()
Returns true if field worker_resources is set (has been assigned a value) and false otherwise
|
boolean |
isSet(Assignment._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
put_to_executor_node_port(List<Long> key,
NodeInfo val) |
void |
put_to_executor_start_time_secs(List<Long> key,
long val) |
void |
put_to_node_host(String key,
String val) |
void |
put_to_worker_resources(NodeInfo key,
WorkerResources val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_executor_node_port_isSet(boolean value) |
void |
set_executor_node_port(Map<List<Long>,NodeInfo> executor_node_port) |
void |
set_executor_start_time_secs_isSet(boolean value) |
void |
set_executor_start_time_secs(Map<List<Long>,Long> executor_start_time_secs) |
void |
set_master_code_dir_isSet(boolean value) |
void |
set_master_code_dir(String master_code_dir) |
void |
set_node_host_isSet(boolean value) |
void |
set_node_host(Map<String,String> node_host) |
void |
set_owner_isSet(boolean value) |
void |
set_owner(String owner) |
void |
set_worker_resources_isSet(boolean value) |
void |
set_worker_resources(Map<NodeInfo,WorkerResources> worker_resources) |
void |
setFieldValue(Assignment._Fields field,
Object value) |
String |
toString() |
void |
unset_executor_node_port() |
void |
unset_executor_start_time_secs() |
void |
unset_master_code_dir() |
void |
unset_node_host() |
void |
unset_owner() |
void |
unset_worker_resources() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<Assignment._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Assignment()
public Assignment(String master_code_dir)
public Assignment(Assignment other)
Performs a deep copy on other.
public Assignment deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Assignment,Assignment._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Assignment,Assignment._Fields>
public String get_master_code_dir()
public void set_master_code_dir(String master_code_dir)
public void unset_master_code_dir()
public boolean is_set_master_code_dir()
Returns true if field master_code_dir is set (has been assigned a value) and false otherwise
public void set_master_code_dir_isSet(boolean value)
public int get_node_host_size()
public void unset_node_host()
public boolean is_set_node_host()
Returns true if field node_host is set (has been assigned a value) and false otherwise
public void set_node_host_isSet(boolean value)
public int get_executor_node_port_size()
public void set_executor_node_port(Map<List<Long>,NodeInfo> executor_node_port)
public void unset_executor_node_port()
public boolean is_set_executor_node_port()
Returns true if field executor_node_port is set (has been assigned a value) and false otherwise
public void set_executor_node_port_isSet(boolean value)
public int get_executor_start_time_secs_size()
public void put_to_executor_start_time_secs(List<Long> key, long val)
public void set_executor_start_time_secs(Map<List<Long>,Long> executor_start_time_secs)
public void unset_executor_start_time_secs()
public boolean is_set_executor_start_time_secs()
Returns true if field executor_start_time_secs is set (has been assigned a value) and false otherwise
public void set_executor_start_time_secs_isSet(boolean value)
public int get_worker_resources_size()
public void put_to_worker_resources(NodeInfo key, WorkerResources val)
public Map<NodeInfo,WorkerResources> get_worker_resources()
public void set_worker_resources(Map<NodeInfo,WorkerResources> worker_resources)
public void unset_worker_resources()
public boolean is_set_worker_resources()
Returns true if field worker_resources is set (has been assigned a value) and false otherwise
public void set_worker_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(Assignment._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Assignment,Assignment._Fields>
public Object getFieldValue(Assignment._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Assignment,Assignment._Fields>
public boolean isSet(Assignment._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<Assignment,Assignment._Fields>
public boolean equals(Assignment that)
public int compareTo(Assignment other)
compareTo
in interface Comparable<Assignment>
public Assignment._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Assignment,Assignment._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Assignment,Assignment._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<Assignment,Assignment._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.