Package org.apache.storm.generated
Class Assignment
- java.lang.Object
-
- org.apache.storm.generated.Assignment
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Assignment>,org.apache.storm.thrift.TBase<Assignment,Assignment._Fields>,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class Assignment extends Object implements org.apache.storm.thrift.TBase<Assignment,Assignment._Fields>, Serializable, Cloneable, Comparable<Assignment>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssignment._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<Assignment._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description Assignment()Assignment(String master_code_dir)Assignment(Assignment other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(Assignment other)AssignmentdeepCopy()booleanequals(Object that)booleanequals(Assignment that)Assignment._FieldsfieldForId(int fieldId)Map<List<Long>,NodeInfo>get_executor_node_port()intget_executor_node_port_size()Map<List<Long>,Long>get_executor_start_time_secs()intget_executor_start_time_secs_size()Stringget_master_code_dir()Map<String,String>get_node_host()intget_node_host_size()Stringget_owner()Map<String,Double>get_total_shared_off_heap()intget_total_shared_off_heap_size()Map<NodeInfo,WorkerResources>get_worker_resources()intget_worker_resources_size()ObjectgetFieldValue(Assignment._Fields field)inthashCode()booleanis_set_executor_node_port()Returns true if field executor_node_port is set (has been assigned a value) and false otherwisebooleanis_set_executor_start_time_secs()Returns true if field executor_start_time_secs is set (has been assigned a value) and false otherwisebooleanis_set_master_code_dir()Returns true if field master_code_dir is set (has been assigned a value) and false otherwisebooleanis_set_node_host()Returns true if field node_host is set (has been assigned a value) and false otherwisebooleanis_set_owner()Returns true if field owner is set (has been assigned a value) and false otherwisebooleanis_set_total_shared_off_heap()Returns true if field total_shared_off_heap is set (has been assigned a value) and false otherwisebooleanis_set_worker_resources()Returns true if field worker_resources is set (has been assigned a value) and false otherwisebooleanisSet(Assignment._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidput_to_executor_node_port(List<Long> key, NodeInfo val)voidput_to_executor_start_time_secs(List<Long> key, long val)voidput_to_node_host(String key, String val)voidput_to_total_shared_off_heap(String key, double val)voidput_to_worker_resources(NodeInfo key, WorkerResources val)voidread(org.apache.storm.thrift.protocol.TProtocol iprot)voidset_executor_node_port(Map<List<Long>,NodeInfo> executor_node_port)voidset_executor_node_port_isSet(boolean value)voidset_executor_start_time_secs(Map<List<Long>,Long> executor_start_time_secs)voidset_executor_start_time_secs_isSet(boolean value)voidset_master_code_dir(String master_code_dir)voidset_master_code_dir_isSet(boolean value)voidset_node_host(Map<String,String> node_host)voidset_node_host_isSet(boolean value)voidset_owner(String owner)voidset_owner_isSet(boolean value)voidset_total_shared_off_heap(Map<String,Double> total_shared_off_heap)voidset_total_shared_off_heap_isSet(boolean value)voidset_worker_resources(Map<NodeInfo,WorkerResources> worker_resources)voidset_worker_resources_isSet(boolean value)voidsetFieldValue(Assignment._Fields field, Object value)StringtoString()voidunset_executor_node_port()voidunset_executor_start_time_secs()voidunset_master_code_dir()voidunset_node_host()voidunset_owner()voidunset_total_shared_off_heap()voidunset_worker_resources()voidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<Assignment._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
Assignment
public Assignment()
-
Assignment
public Assignment(String master_code_dir)
-
Assignment
public Assignment(Assignment other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Assignment deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<Assignment,Assignment._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<Assignment,Assignment._Fields>
-
get_master_code_dir
public String get_master_code_dir()
-
set_master_code_dir
public void set_master_code_dir(String master_code_dir)
-
unset_master_code_dir
public void unset_master_code_dir()
-
is_set_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
-
set_master_code_dir_isSet
public void set_master_code_dir_isSet(boolean value)
-
get_node_host_size
public int get_node_host_size()
-
unset_node_host
public void unset_node_host()
-
is_set_node_host
public boolean is_set_node_host()
Returns true if field node_host is set (has been assigned a value) and false otherwise
-
set_node_host_isSet
public void set_node_host_isSet(boolean value)
-
get_executor_node_port_size
public int get_executor_node_port_size()
-
set_executor_node_port
public void set_executor_node_port(Map<List<Long>,NodeInfo> executor_node_port)
-
unset_executor_node_port
public void unset_executor_node_port()
-
is_set_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
-
set_executor_node_port_isSet
public void set_executor_node_port_isSet(boolean value)
-
get_executor_start_time_secs_size
public int get_executor_start_time_secs_size()
-
put_to_executor_start_time_secs
public void put_to_executor_start_time_secs(List<Long> key, long val)
-
set_executor_start_time_secs
public void set_executor_start_time_secs(Map<List<Long>,Long> executor_start_time_secs)
-
unset_executor_start_time_secs
public void unset_executor_start_time_secs()
-
is_set_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
-
set_executor_start_time_secs_isSet
public void set_executor_start_time_secs_isSet(boolean value)
-
get_worker_resources_size
public int get_worker_resources_size()
-
put_to_worker_resources
public void put_to_worker_resources(NodeInfo key, WorkerResources val)
-
get_worker_resources
public Map<NodeInfo,WorkerResources> get_worker_resources()
-
set_worker_resources
public void set_worker_resources(Map<NodeInfo,WorkerResources> worker_resources)
-
unset_worker_resources
public void unset_worker_resources()
-
is_set_worker_resources
public boolean is_set_worker_resources()
Returns true if field worker_resources is set (has been assigned a value) and false otherwise
-
set_worker_resources_isSet
public void set_worker_resources_isSet(boolean value)
-
get_total_shared_off_heap_size
public int get_total_shared_off_heap_size()
-
put_to_total_shared_off_heap
public void put_to_total_shared_off_heap(String key, double val)
-
set_total_shared_off_heap
public void set_total_shared_off_heap(Map<String,Double> total_shared_off_heap)
-
unset_total_shared_off_heap
public void unset_total_shared_off_heap()
-
is_set_total_shared_off_heap
public boolean is_set_total_shared_off_heap()
Returns true if field total_shared_off_heap is set (has been assigned a value) and false otherwise
-
set_total_shared_off_heap_isSet
public void set_total_shared_off_heap_isSet(boolean value)
-
get_owner
public String get_owner()
-
set_owner
public void set_owner(String owner)
-
unset_owner
public void unset_owner()
-
is_set_owner
public boolean is_set_owner()
Returns true if field owner is set (has been assigned a value) and false otherwise
-
set_owner_isSet
public void set_owner_isSet(boolean value)
-
setFieldValue
public void setFieldValue(Assignment._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<Assignment,Assignment._Fields>
-
getFieldValue
public Object getFieldValue(Assignment._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<Assignment,Assignment._Fields>
-
isSet
public boolean isSet(Assignment._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.storm.thrift.TBase<Assignment,Assignment._Fields>
-
equals
public boolean equals(Assignment that)
-
compareTo
public int compareTo(Assignment other)
- Specified by:
compareToin interfaceComparable<Assignment>
-
fieldForId
public Assignment._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<Assignment,Assignment._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException- Specified by:
readin interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
write
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException- Specified by:
writein interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-
-