@Generated(value="Autogenerated by Thrift Compiler (0.12.0)") public class StormTopology extends Object implements org.apache.thrift.TBase<StormTopology,StormTopology._Fields>, Serializable, Cloneable, Comparable<StormTopology>
Modifier and Type | Class and Description |
---|---|
static class |
StormTopology._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<StormTopology._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
StormTopology() |
StormTopology(Map<String,SpoutSpec> spouts,
Map<String,Bolt> bolts,
Map<String,StateSpoutSpec> state_spouts) |
StormTopology(StormTopology other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
add_to_dependency_artifacts(String elem) |
void |
add_to_dependency_jars(String elem) |
void |
add_to_worker_hooks(ByteBuffer elem) |
void |
clear() |
int |
compareTo(StormTopology other) |
StormTopology |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(StormTopology that) |
StormTopology._Fields |
fieldForId(int fieldId) |
int |
get_bolts_size() |
Map<String,Bolt> |
get_bolts() |
Iterator<String> |
get_dependency_artifacts_iterator() |
int |
get_dependency_artifacts_size() |
List<String> |
get_dependency_artifacts() |
Iterator<String> |
get_dependency_jars_iterator() |
int |
get_dependency_jars_size() |
List<String> |
get_dependency_jars() |
String |
get_jdk_version() |
int |
get_spouts_size() |
Map<String,SpoutSpec> |
get_spouts() |
int |
get_state_spouts_size() |
Map<String,StateSpoutSpec> |
get_state_spouts() |
String |
get_storm_version() |
Iterator<ByteBuffer> |
get_worker_hooks_iterator() |
int |
get_worker_hooks_size() |
List<ByteBuffer> |
get_worker_hooks() |
Object |
getFieldValue(StormTopology._Fields field) |
int |
hashCode() |
boolean |
is_set_bolts()
Returns true if field bolts is set (has been assigned a value) and false otherwise
|
boolean |
is_set_dependency_artifacts()
Returns true if field dependency_artifacts is set (has been assigned a value) and false otherwise
|
boolean |
is_set_dependency_jars()
Returns true if field dependency_jars is set (has been assigned a value) and false otherwise
|
boolean |
is_set_jdk_version()
Returns true if field jdk_version is set (has been assigned a value) and false otherwise
|
boolean |
is_set_spouts()
Returns true if field spouts is set (has been assigned a value) and false otherwise
|
boolean |
is_set_state_spouts()
Returns true if field state_spouts is set (has been assigned a value) and false otherwise
|
boolean |
is_set_storm_version()
Returns true if field storm_version is set (has been assigned a value) and false otherwise
|
boolean |
is_set_worker_hooks()
Returns true if field worker_hooks is set (has been assigned a value) and false otherwise
|
boolean |
isSet(StormTopology._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
put_to_bolts(String key,
Bolt val) |
void |
put_to_spouts(String key,
SpoutSpec val) |
void |
put_to_state_spouts(String key,
StateSpoutSpec val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_bolts_isSet(boolean value) |
void |
set_bolts(Map<String,Bolt> bolts) |
void |
set_dependency_artifacts_isSet(boolean value) |
void |
set_dependency_artifacts(List<String> dependency_artifacts) |
void |
set_dependency_jars_isSet(boolean value) |
void |
set_dependency_jars(List<String> dependency_jars) |
void |
set_jdk_version_isSet(boolean value) |
void |
set_jdk_version(String jdk_version) |
void |
set_spouts_isSet(boolean value) |
void |
set_spouts(Map<String,SpoutSpec> spouts) |
void |
set_state_spouts_isSet(boolean value) |
void |
set_state_spouts(Map<String,StateSpoutSpec> state_spouts) |
void |
set_storm_version_isSet(boolean value) |
void |
set_storm_version(String storm_version) |
void |
set_worker_hooks_isSet(boolean value) |
void |
set_worker_hooks(List<ByteBuffer> worker_hooks) |
void |
setFieldValue(StormTopology._Fields field,
Object value) |
String |
toString() |
void |
unset_bolts() |
void |
unset_dependency_artifacts() |
void |
unset_dependency_jars() |
void |
unset_jdk_version() |
void |
unset_spouts() |
void |
unset_state_spouts() |
void |
unset_storm_version() |
void |
unset_worker_hooks() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<StormTopology._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public StormTopology()
public StormTopology(Map<String,SpoutSpec> spouts, Map<String,Bolt> bolts, Map<String,StateSpoutSpec> state_spouts)
public StormTopology(StormTopology other)
Performs a deep copy on other.
public StormTopology deepCopy()
deepCopy
in interface org.apache.thrift.TBase<StormTopology,StormTopology._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<StormTopology,StormTopology._Fields>
public int get_spouts_size()
public void unset_spouts()
public boolean is_set_spouts()
Returns true if field spouts is set (has been assigned a value) and false otherwise
public void set_spouts_isSet(boolean value)
public int get_bolts_size()
public void unset_bolts()
public boolean is_set_bolts()
Returns true if field bolts is set (has been assigned a value) and false otherwise
public void set_bolts_isSet(boolean value)
public int get_state_spouts_size()
public void put_to_state_spouts(String key, StateSpoutSpec val)
public Map<String,StateSpoutSpec> get_state_spouts()
public void set_state_spouts(Map<String,StateSpoutSpec> state_spouts)
public void unset_state_spouts()
public boolean is_set_state_spouts()
Returns true if field state_spouts is set (has been assigned a value) and false otherwise
public void set_state_spouts_isSet(boolean value)
public int get_worker_hooks_size()
public Iterator<ByteBuffer> get_worker_hooks_iterator()
public void add_to_worker_hooks(ByteBuffer elem)
public List<ByteBuffer> get_worker_hooks()
public void set_worker_hooks(List<ByteBuffer> worker_hooks)
public void unset_worker_hooks()
public boolean is_set_worker_hooks()
Returns true if field worker_hooks is set (has been assigned a value) and false otherwise
public void set_worker_hooks_isSet(boolean value)
public int get_dependency_jars_size()
public void add_to_dependency_jars(String elem)
public void unset_dependency_jars()
public boolean is_set_dependency_jars()
Returns true if field dependency_jars is set (has been assigned a value) and false otherwise
public void set_dependency_jars_isSet(boolean value)
public int get_dependency_artifacts_size()
public void add_to_dependency_artifacts(String elem)
public void unset_dependency_artifacts()
public boolean is_set_dependency_artifacts()
Returns true if field dependency_artifacts is set (has been assigned a value) and false otherwise
public void set_dependency_artifacts_isSet(boolean value)
public String get_storm_version()
public void set_storm_version(String storm_version)
public void unset_storm_version()
public boolean is_set_storm_version()
Returns true if field storm_version is set (has been assigned a value) and false otherwise
public void set_storm_version_isSet(boolean value)
public String get_jdk_version()
public void set_jdk_version(String jdk_version)
public void unset_jdk_version()
public boolean is_set_jdk_version()
Returns true if field jdk_version is set (has been assigned a value) and false otherwise
public void set_jdk_version_isSet(boolean value)
public void setFieldValue(StormTopology._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<StormTopology,StormTopology._Fields>
public Object getFieldValue(StormTopology._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<StormTopology,StormTopology._Fields>
public boolean isSet(StormTopology._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.thrift.TBase<StormTopology,StormTopology._Fields>
public boolean equals(StormTopology that)
public int compareTo(StormTopology other)
compareTo
in interface Comparable<StormTopology>
public StormTopology._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<StormTopology,StormTopology._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.