Package org.apache.storm.generated
Class StormTopology
java.lang.Object
org.apache.storm.generated.StormTopology
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<StormTopology>,- org.apache.storm.thrift.TBase<StormTopology,,- StormTopology._Fields> - org.apache.storm.thrift.TSerializable
- Direct Known Subclasses:
- LocalCluster.LocalTopology
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class StormTopology
extends Object
implements org.apache.storm.thrift.TBase<StormTopology,StormTopology._Fields>, Serializable, Cloneable, Comparable<StormTopology> 
- 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<StormTopology._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionStormTopology(Map<String, SpoutSpec> spouts, Map<String, Bolt> bolts, Map<String, StateSpoutSpec> state_spouts) StormTopology(StormTopology other) Performs a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidadd_to_dependency_jars(String elem) voidvoidclear()intcompareTo(StormTopology other) deepCopy()booleanbooleanequals(StormTopology that) fieldForId(int fieldId) intintintintintintintintinthashCode()booleanReturns true if field bolts is set (has been assigned a value) and false otherwisebooleanReturns true if field component_to_shared_memory is set (has been assigned a value) and false otherwisebooleanReturns true if field dependency_artifacts is set (has been assigned a value) and false otherwisebooleanReturns true if field dependency_jars is set (has been assigned a value) and false otherwisebooleanReturns true if field jdk_version is set (has been assigned a value) and false otherwisebooleanReturns true if field shared_memory is set (has been assigned a value) and false otherwisebooleanReturns true if field spouts is set (has been assigned a value) and false otherwisebooleanReturns true if field state_spouts is set (has been assigned a value) and false otherwisebooleanReturns true if field storm_version is set (has been assigned a value) and false otherwisebooleanReturns true if field worker_hooks is set (has been assigned a value) and false otherwisebooleanisSet(StormTopology._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidput_to_bolts(String key, Bolt val) voidput_to_component_to_shared_memory(String key, Set<String> val) voidput_to_shared_memory(String key, SharedMemory val) voidput_to_spouts(String key, SpoutSpec val) voidput_to_state_spouts(String key, StateSpoutSpec val) voidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidvoidset_bolts_isSet(boolean value) voidset_component_to_shared_memory(Map<String, Set<String>> component_to_shared_memory) voidset_component_to_shared_memory_isSet(boolean value) voidset_dependency_artifacts(List<String> dependency_artifacts) voidset_dependency_artifacts_isSet(boolean value) voidset_dependency_jars(List<String> dependency_jars) voidset_dependency_jars_isSet(boolean value) voidset_jdk_version(String jdk_version) voidset_jdk_version_isSet(boolean value) voidset_shared_memory(Map<String, SharedMemory> shared_memory) voidset_shared_memory_isSet(boolean value) voidset_spouts(Map<String, SpoutSpec> spouts) voidset_spouts_isSet(boolean value) voidset_state_spouts(Map<String, StateSpoutSpec> state_spouts) voidset_state_spouts_isSet(boolean value) voidset_storm_version(String storm_version) voidset_storm_version_isSet(boolean value) voidset_worker_hooks(List<ByteBuffer> worker_hooks) voidset_worker_hooks_isSet(boolean value) voidsetFieldValue(StormTopology._Fields field, Object value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<StormTopology._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
StormTopologypublic StormTopology()
- 
StormTopology
- 
StormTopologyPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<StormTopology,- StormTopology._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<StormTopology,- StormTopology._Fields> 
 
- 
get_spouts_sizepublic int get_spouts_size()
- 
put_to_spouts
- 
get_spouts
- 
set_spouts
- 
unset_spoutspublic void unset_spouts()
- 
is_set_spoutspublic boolean is_set_spouts()Returns true if field spouts is set (has been assigned a value) and false otherwise
- 
set_spouts_isSetpublic void set_spouts_isSet(boolean value) 
- 
get_bolts_sizepublic int get_bolts_size()
- 
put_to_bolts
- 
get_bolts
- 
set_bolts
- 
unset_boltspublic void unset_bolts()
- 
is_set_boltspublic boolean is_set_bolts()Returns true if field bolts is set (has been assigned a value) and false otherwise
- 
set_bolts_isSetpublic void set_bolts_isSet(boolean value) 
- 
get_state_spouts_sizepublic int get_state_spouts_size()
- 
put_to_state_spouts
- 
get_state_spouts
- 
set_state_spouts
- 
unset_state_spoutspublic void unset_state_spouts()
- 
is_set_state_spoutspublic boolean is_set_state_spouts()Returns true if field state_spouts is set (has been assigned a value) and false otherwise
- 
set_state_spouts_isSetpublic void set_state_spouts_isSet(boolean value) 
- 
get_worker_hooks_sizepublic int get_worker_hooks_size()
- 
get_worker_hooks_iterator
- 
add_to_worker_hooks
- 
get_worker_hooks
- 
set_worker_hooks
- 
unset_worker_hookspublic void unset_worker_hooks()
- 
is_set_worker_hookspublic boolean is_set_worker_hooks()Returns true if field worker_hooks is set (has been assigned a value) and false otherwise
- 
set_worker_hooks_isSetpublic void set_worker_hooks_isSet(boolean value) 
- 
get_dependency_jars_sizepublic int get_dependency_jars_size()
- 
get_dependency_jars_iterator
- 
add_to_dependency_jars
- 
get_dependency_jars
- 
set_dependency_jars
- 
unset_dependency_jarspublic void unset_dependency_jars()
- 
is_set_dependency_jarspublic boolean is_set_dependency_jars()Returns true if field dependency_jars is set (has been assigned a value) and false otherwise
- 
set_dependency_jars_isSetpublic void set_dependency_jars_isSet(boolean value) 
- 
get_dependency_artifacts_sizepublic int get_dependency_artifacts_size()
- 
get_dependency_artifacts_iterator
- 
add_to_dependency_artifacts
- 
get_dependency_artifacts
- 
set_dependency_artifacts
- 
unset_dependency_artifactspublic void unset_dependency_artifacts()
- 
is_set_dependency_artifactspublic boolean is_set_dependency_artifacts()Returns true if field dependency_artifacts is set (has been assigned a value) and false otherwise
- 
set_dependency_artifacts_isSetpublic void set_dependency_artifacts_isSet(boolean value) 
- 
get_storm_version
- 
set_storm_version
- 
unset_storm_versionpublic void unset_storm_version()
- 
is_set_storm_versionpublic boolean is_set_storm_version()Returns true if field storm_version is set (has been assigned a value) and false otherwise
- 
set_storm_version_isSetpublic void set_storm_version_isSet(boolean value) 
- 
get_jdk_version
- 
set_jdk_version
- 
unset_jdk_versionpublic void unset_jdk_version()
- 
is_set_jdk_versionpublic boolean is_set_jdk_version()Returns true if field jdk_version is set (has been assigned a value) and false otherwise
- 
set_jdk_version_isSetpublic void set_jdk_version_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<StormTopology,- StormTopology._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<StormTopology,- StormTopology._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<StormTopology,- StormTopology._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<StormTopology>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<StormTopology,- StormTopology._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
 
 
-