Package org.apache.storm.generated
Class SpoutSpec
java.lang.Object
org.apache.storm.generated.SpoutSpec
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<SpoutSpec>,- org.apache.storm.thrift.TBase<SpoutSpec,,- SpoutSpec._Fields> - org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class SpoutSpec
extends Object
implements org.apache.storm.thrift.TBase<SpoutSpec,SpoutSpec._Fields>, Serializable, Cloneable, Comparable<SpoutSpec> 
- 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<SpoutSpec._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionSpoutSpec(ComponentObject spout_object, ComponentCommon common) Performs a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) getFieldValue(SpoutSpec._Fields field) inthashCode()booleanReturns true if field common is set (has been assigned a value) and false otherwisebooleanReturns true if field spout_object is set (has been assigned a value) and false otherwisebooleanisSet(SpoutSpec._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidset_common(ComponentCommon common) voidset_common_isSet(boolean value) voidset_spout_object(ComponentObject spout_object) voidset_spout_object_isSet(boolean value) voidsetFieldValue(SpoutSpec._Fields field, Object value) toString()voidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<SpoutSpec._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
SpoutSpecpublic SpoutSpec()
- 
SpoutSpec
- 
SpoutSpecPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<SpoutSpec,- SpoutSpec._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<SpoutSpec,- SpoutSpec._Fields> 
 
- 
get_spout_object
- 
set_spout_object
- 
unset_spout_objectpublic void unset_spout_object()
- 
is_set_spout_objectpublic boolean is_set_spout_object()Returns true if field spout_object is set (has been assigned a value) and false otherwise
- 
set_spout_object_isSetpublic void set_spout_object_isSet(boolean value) 
- 
get_common
- 
set_common
- 
unset_commonpublic void unset_common()
- 
is_set_commonpublic boolean is_set_common()Returns true if field common is set (has been assigned a value) and false otherwise
- 
set_common_isSetpublic void set_common_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<SpoutSpec,- SpoutSpec._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<SpoutSpec,- SpoutSpec._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<SpoutSpec,- SpoutSpec._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<SpoutSpec>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<SpoutSpec,- SpoutSpec._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
 
 
-