Package org.apache.storm.generated
Enum StormTopology._Fields
- java.lang.Object
-
- java.lang.Enum<StormTopology._Fields>
-
- org.apache.storm.generated.StormTopology._Fields
-
- All Implemented Interfaces:
Serializable,Comparable<StormTopology._Fields>,org.apache.storm.thrift.TFieldIdEnum
- Enclosing class:
- StormTopology
public static enum StormTopology._Fields extends Enum<StormTopology._Fields> implements org.apache.storm.thrift.TFieldIdEnum
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOLTSCOMPONENT_TO_SHARED_MEMORYDEPENDENCY_ARTIFACTSDEPENDENCY_JARSJDK_VERSIONSHARED_MEMORYSPOUTSSTATE_SPOUTSSTORM_VERSIONWORKER_HOOKS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StormTopology._FieldsfindByName(String name)Find the _Fields constant that matches name, or null if its not found.static StormTopology._FieldsfindByThriftId(int fieldId)Find the _Fields constant that matches fieldId, or null if its not found.static StormTopology._FieldsfindByThriftIdOrThrow(int fieldId)Find the _Fields constant that matches fieldId, throwing an exception if it is not found.StringgetFieldName()shortgetThriftFieldId()static StormTopology._FieldsvalueOf(String name)Returns the enum constant of this type with the specified name.static StormTopology._Fields[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SPOUTS
public static final StormTopology._Fields SPOUTS
-
BOLTS
public static final StormTopology._Fields BOLTS
-
STATE_SPOUTS
public static final StormTopology._Fields STATE_SPOUTS
-
WORKER_HOOKS
public static final StormTopology._Fields WORKER_HOOKS
-
DEPENDENCY_JARS
public static final StormTopology._Fields DEPENDENCY_JARS
-
DEPENDENCY_ARTIFACTS
public static final StormTopology._Fields DEPENDENCY_ARTIFACTS
-
STORM_VERSION
public static final StormTopology._Fields STORM_VERSION
-
JDK_VERSION
public static final StormTopology._Fields JDK_VERSION
-
COMPONENT_TO_SHARED_MEMORY
public static final StormTopology._Fields COMPONENT_TO_SHARED_MEMORY
-
SHARED_MEMORY
public static final StormTopology._Fields SHARED_MEMORY
-
-
Method Detail
-
values
public static StormTopology._Fields[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StormTopology._Fields c : StormTopology._Fields.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StormTopology._Fields valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
findByThriftId
public static StormTopology._Fields findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
-
findByThriftIdOrThrow
public static StormTopology._Fields findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
-
findByName
public static StormTopology._Fields findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
-
getThriftFieldId
public short getThriftFieldId()
- Specified by:
getThriftFieldIdin interfaceorg.apache.storm.thrift.TFieldIdEnum
-
getFieldName
public String getFieldName()
- Specified by:
getFieldNamein interfaceorg.apache.storm.thrift.TFieldIdEnum
-
-