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:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Map<Assignment._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionAssignment(String master_code_dir) Assignment(Assignment other) Performs a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intcompareTo(Assignment other) deepCopy()booleanbooleanequals(Assignment that) fieldForId(int fieldId) intintintintintgetFieldValue(Assignment._Fields field) inthashCode()booleanReturns true if field executor_node_port is set (has been assigned a value) and false otherwisebooleanReturns true if field executor_start_time_secs is set (has been assigned a value) and false otherwisebooleanReturns true if field master_code_dir is set (has been assigned a value) and false otherwisebooleanReturns true if field node_host is set (has been assigned a value) and false otherwisebooleanReturns true if field owner is set (has been assigned a value) and false otherwisebooleanReturns true if field total_shared_off_heap is set (has been assigned a value) and false otherwisebooleanReturns 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) voidvoidset_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) toString()voidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<Assignment._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
Assignmentpublic Assignment()
- 
Assignment
- 
AssignmentPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<Assignment,- Assignment._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<Assignment,- Assignment._Fields> 
 
- 
get_master_code_dir
- 
set_master_code_dir
- 
unset_master_code_dirpublic void unset_master_code_dir()
- 
is_set_master_code_dirpublic 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_isSetpublic void set_master_code_dir_isSet(boolean value) 
- 
get_node_host_sizepublic int get_node_host_size()
- 
put_to_node_host
- 
get_node_host
- 
set_node_host
- 
unset_node_hostpublic void unset_node_host()
- 
is_set_node_hostpublic boolean is_set_node_host()Returns true if field node_host is set (has been assigned a value) and false otherwise
- 
set_node_host_isSetpublic void set_node_host_isSet(boolean value) 
- 
get_executor_node_port_sizepublic int get_executor_node_port_size()
- 
put_to_executor_node_port
- 
get_executor_node_port
- 
set_executor_node_port
- 
unset_executor_node_portpublic void unset_executor_node_port()
- 
is_set_executor_node_portpublic 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_isSetpublic void set_executor_node_port_isSet(boolean value) 
- 
get_executor_start_time_secs_sizepublic int get_executor_start_time_secs_size()
- 
put_to_executor_start_time_secs
- 
get_executor_start_time_secs
- 
set_executor_start_time_secs
- 
unset_executor_start_time_secspublic void unset_executor_start_time_secs()
- 
is_set_executor_start_time_secspublic 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_isSetpublic void set_executor_start_time_secs_isSet(boolean value) 
- 
get_worker_resources_sizepublic int get_worker_resources_size()
- 
put_to_worker_resources
- 
get_worker_resources
- 
set_worker_resources
- 
unset_worker_resourcespublic void unset_worker_resources()
- 
is_set_worker_resourcespublic boolean is_set_worker_resources()Returns true if field worker_resources is set (has been assigned a value) and false otherwise
- 
set_worker_resources_isSetpublic void set_worker_resources_isSet(boolean value) 
- 
get_owner
- 
set_owner
- 
unset_ownerpublic void unset_owner()
- 
is_set_ownerpublic boolean is_set_owner()Returns true if field owner is set (has been assigned a value) and false otherwise
- 
set_owner_isSetpublic void set_owner_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<Assignment,- Assignment._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<Assignment,- Assignment._Fields> 
 
- 
isSetReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
- isSetin interface- org.apache.storm.thrift.TBase<Assignment,- Assignment._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<Assignment>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<Assignment,- Assignment._Fields> 
 
- 
readpublic void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
- readin interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
writepublic void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
- writein interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
toString
- 
validatepublic void validate() throws org.apache.storm.thrift.TException- Throws:
- org.apache.storm.thrift.TException
 
 
-