Package org.apache.storm.generated
Class ComponentCommon
java.lang.Object
org.apache.storm.generated.ComponentCommon
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<ComponentCommon>,- org.apache.storm.thrift.TBase<ComponentCommon,,- ComponentCommon._Fields> - org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class ComponentCommon
extends Object
implements org.apache.storm.thrift.TBase<ComponentCommon,ComponentCommon._Fields>, Serializable, Cloneable, Comparable<ComponentCommon> 
- 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<ComponentCommon._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionComponentCommon(Map<GlobalStreamId, Grouping> inputs, Map<String, StreamInfo> streams) ComponentCommon(ComponentCommon other) Performs a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intcompareTo(ComponentCommon other) deepCopy()booleanbooleanequals(ComponentCommon that) fieldForId(int fieldId) intintintinthashCode()booleanReturns true if field inputs is set (has been assigned a value) and false otherwisebooleanReturns true if field json_conf is set (has been assigned a value) and false otherwisebooleanReturns true if field parallelism_hint is set (has been assigned a value) and false otherwisebooleanReturns true if field streams is set (has been assigned a value) and false otherwisebooleanisSet(ComponentCommon._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidput_to_inputs(GlobalStreamId key, Grouping val) voidput_to_streams(String key, StreamInfo val) voidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidset_inputs(Map<GlobalStreamId, Grouping> inputs) voidset_inputs_isSet(boolean value) voidset_json_conf(String json_conf) voidset_json_conf_isSet(boolean value) voidset_parallelism_hint(int parallelism_hint) voidset_parallelism_hint_isSet(boolean value) voidset_streams(Map<String, StreamInfo> streams) voidset_streams_isSet(boolean value) voidsetFieldValue(ComponentCommon._Fields field, Object value) toString()voidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<ComponentCommon._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
ComponentCommonpublic ComponentCommon()
- 
ComponentCommon
- 
ComponentCommonPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<ComponentCommon,- ComponentCommon._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<ComponentCommon,- ComponentCommon._Fields> 
 
- 
get_inputs_sizepublic int get_inputs_size()
- 
put_to_inputs
- 
get_inputs
- 
set_inputs
- 
unset_inputspublic void unset_inputs()
- 
is_set_inputspublic boolean is_set_inputs()Returns true if field inputs is set (has been assigned a value) and false otherwise
- 
set_inputs_isSetpublic void set_inputs_isSet(boolean value) 
- 
get_streams_sizepublic int get_streams_size()
- 
put_to_streams
- 
get_streams
- 
set_streams
- 
unset_streamspublic void unset_streams()
- 
is_set_streamspublic boolean is_set_streams()Returns true if field streams is set (has been assigned a value) and false otherwise
- 
set_streams_isSetpublic void set_streams_isSet(boolean value) 
- 
get_parallelism_hintpublic int get_parallelism_hint()
- 
set_parallelism_hintpublic void set_parallelism_hint(int parallelism_hint) 
- 
unset_parallelism_hintpublic void unset_parallelism_hint()
- 
is_set_parallelism_hintpublic boolean is_set_parallelism_hint()Returns true if field parallelism_hint is set (has been assigned a value) and false otherwise
- 
set_parallelism_hint_isSetpublic void set_parallelism_hint_isSet(boolean value) 
- 
get_json_conf
- 
set_json_conf
- 
unset_json_confpublic void unset_json_conf()
- 
is_set_json_confpublic boolean is_set_json_conf()Returns true if field json_conf is set (has been assigned a value) and false otherwise
- 
set_json_conf_isSetpublic void set_json_conf_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<ComponentCommon,- ComponentCommon._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<ComponentCommon,- ComponentCommon._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<ComponentCommon,- ComponentCommon._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<ComponentCommon>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<ComponentCommon,- ComponentCommon._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
 
 
-