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 Summary
Modifier and TypeClassDescriptionstatic enum
The set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<StormTopology._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionStormTopology
(Map<String, SpoutSpec> spouts, Map<String, Bolt> bolts, Map<String, StateSpoutSpec> state_spouts) StormTopology
(StormTopology other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
add_to_dependency_jars
(String elem) void
void
clear()
int
compareTo
(StormTopology other) deepCopy()
boolean
boolean
equals
(StormTopology that) fieldForId
(int fieldId) int
int
int
int
int
int
int
int
int
hashCode()
boolean
Returns true if field bolts is set (has been assigned a value) and false otherwiseboolean
Returns true if field component_to_shared_memory is set (has been assigned a value) and false otherwiseboolean
Returns true if field dependency_artifacts is set (has been assigned a value) and false otherwiseboolean
Returns true if field dependency_jars is set (has been assigned a value) and false otherwiseboolean
Returns true if field jdk_version is set (has been assigned a value) and false otherwiseboolean
Returns true if field shared_memory is set (has been assigned a value) and false otherwiseboolean
Returns true if field spouts is set (has been assigned a value) and false otherwiseboolean
Returns true if field state_spouts is set (has been assigned a value) and false otherwiseboolean
Returns true if field storm_version is set (has been assigned a value) and false otherwiseboolean
Returns true if field worker_hooks is set (has been assigned a value) and false otherwiseboolean
isSet
(StormTopology._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
put_to_bolts
(String key, Bolt val) void
put_to_component_to_shared_memory
(String key, Set<String> val) void
put_to_shared_memory
(String key, SharedMemory val) void
put_to_spouts
(String key, SpoutSpec val) void
put_to_state_spouts
(String key, StateSpoutSpec val) void
read
(org.apache.storm.thrift.protocol.TProtocol iprot) void
void
set_bolts_isSet
(boolean value) void
set_component_to_shared_memory
(Map<String, Set<String>> component_to_shared_memory) void
set_component_to_shared_memory_isSet
(boolean value) void
set_dependency_artifacts
(List<String> dependency_artifacts) void
set_dependency_artifacts_isSet
(boolean value) void
set_dependency_jars
(List<String> dependency_jars) void
set_dependency_jars_isSet
(boolean value) void
set_jdk_version
(String jdk_version) void
set_jdk_version_isSet
(boolean value) void
set_shared_memory
(Map<String, SharedMemory> shared_memory) void
set_shared_memory_isSet
(boolean value) void
set_spouts
(Map<String, SpoutSpec> spouts) void
set_spouts_isSet
(boolean value) void
set_state_spouts
(Map<String, StateSpoutSpec> state_spouts) void
set_state_spouts_isSet
(boolean value) void
set_storm_version
(String storm_version) void
set_storm_version_isSet
(boolean value) void
set_worker_hooks
(List<ByteBuffer> worker_hooks) void
set_worker_hooks_isSet
(boolean value) void
setFieldValue
(StormTopology._Fields field, Object value) toString()
void
void
void
void
void
void
void
void
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<StormTopology._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
StormTopology
public StormTopology() -
StormTopology
-
StormTopology
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<StormTopology,
StormTopology._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<StormTopology,
StormTopology._Fields>
-
get_spouts_size
public int get_spouts_size() -
put_to_spouts
-
get_spouts
-
set_spouts
-
unset_spouts
public void unset_spouts() -
is_set_spouts
public boolean is_set_spouts()Returns true if field spouts is set (has been assigned a value) and false otherwise -
set_spouts_isSet
public void set_spouts_isSet(boolean value) -
get_bolts_size
public int get_bolts_size() -
put_to_bolts
-
get_bolts
-
set_bolts
-
unset_bolts
public void unset_bolts() -
is_set_bolts
public boolean is_set_bolts()Returns true if field bolts is set (has been assigned a value) and false otherwise -
set_bolts_isSet
public void set_bolts_isSet(boolean value) -
get_state_spouts_size
public int get_state_spouts_size() -
put_to_state_spouts
-
get_state_spouts
-
set_state_spouts
-
unset_state_spouts
public void unset_state_spouts() -
is_set_state_spouts
public boolean is_set_state_spouts()Returns true if field state_spouts is set (has been assigned a value) and false otherwise -
set_state_spouts_isSet
public void set_state_spouts_isSet(boolean value) -
get_worker_hooks_size
public int get_worker_hooks_size() -
get_worker_hooks_iterator
-
add_to_worker_hooks
-
get_worker_hooks
-
set_worker_hooks
-
unset_worker_hooks
public void unset_worker_hooks() -
is_set_worker_hooks
public boolean is_set_worker_hooks()Returns true if field worker_hooks is set (has been assigned a value) and false otherwise -
set_worker_hooks_isSet
public void set_worker_hooks_isSet(boolean value) -
get_dependency_jars_size
public int get_dependency_jars_size() -
get_dependency_jars_iterator
-
add_to_dependency_jars
-
get_dependency_jars
-
set_dependency_jars
-
unset_dependency_jars
public void unset_dependency_jars() -
is_set_dependency_jars
public boolean is_set_dependency_jars()Returns true if field dependency_jars is set (has been assigned a value) and false otherwise -
set_dependency_jars_isSet
public void set_dependency_jars_isSet(boolean value) -
get_dependency_artifacts_size
public int get_dependency_artifacts_size() -
get_dependency_artifacts_iterator
-
add_to_dependency_artifacts
-
get_dependency_artifacts
-
set_dependency_artifacts
-
unset_dependency_artifacts
public void unset_dependency_artifacts() -
is_set_dependency_artifacts
public boolean is_set_dependency_artifacts()Returns true if field dependency_artifacts is set (has been assigned a value) and false otherwise -
set_dependency_artifacts_isSet
public void set_dependency_artifacts_isSet(boolean value) -
get_storm_version
-
set_storm_version
-
unset_storm_version
public void unset_storm_version() -
is_set_storm_version
public boolean is_set_storm_version()Returns true if field storm_version is set (has been assigned a value) and false otherwise -
set_storm_version_isSet
public void set_storm_version_isSet(boolean value) -
get_jdk_version
-
set_jdk_version
-
unset_jdk_version
public void unset_jdk_version() -
is_set_jdk_version
public boolean is_set_jdk_version()Returns true if field jdk_version is set (has been assigned a value) and false otherwise -
set_jdk_version_isSet
public void set_jdk_version_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<StormTopology,
StormTopology._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<StormTopology,
StormTopology._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.storm.thrift.TBase<StormTopology,
StormTopology._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<StormTopology>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<StormTopology,
StormTopology._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
read
in 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:
write
in interfaceorg.apache.storm.thrift.TSerializable
- Throws:
org.apache.storm.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-