Package org.apache.storm.generated
Class ThriftSerializedObject
java.lang.Object
org.apache.storm.generated.ThriftSerializedObject
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<ThriftSerializedObject>,- org.apache.storm.thrift.TBase<ThriftSerializedObject,,- ThriftSerializedObject._Fields> - org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class ThriftSerializedObject
extends Object
implements org.apache.storm.thrift.TBase<ThriftSerializedObject,ThriftSerializedObject._Fields>, Serializable, Cloneable, Comparable<ThriftSerializedObject> 
- 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<ThriftSerializedObject._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionThriftSerializedObject(String name, ByteBuffer bits) Performs a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intcompareTo(ThriftSerializedObject other) deepCopy()booleanbooleanequals(ThriftSerializedObject that) fieldForId(int fieldId) byte[]get_bits()get_name()inthashCode()booleanReturns true if field bits is set (has been assigned a value) and false otherwisebooleanReturns true if field name is set (has been assigned a value) and false otherwisebooleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidset_bits(byte[] bits) voidset_bits(ByteBuffer bits) voidset_bits_isSet(boolean value) voidvoidset_name_isSet(boolean value) voidsetFieldValue(ThriftSerializedObject._Fields field, Object value) toString()voidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<ThriftSerializedObject._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
ThriftSerializedObjectpublic ThriftSerializedObject()
- 
ThriftSerializedObject
- 
ThriftSerializedObjectPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<ThriftSerializedObject,- ThriftSerializedObject._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<ThriftSerializedObject,- ThriftSerializedObject._Fields> 
 
- 
get_name
- 
set_name
- 
unset_namepublic void unset_name()
- 
is_set_namepublic boolean is_set_name()Returns true if field name is set (has been assigned a value) and false otherwise
- 
set_name_isSetpublic void set_name_isSet(boolean value) 
- 
get_bitspublic byte[] get_bits()
- 
buffer_for_bits
- 
set_bitspublic void set_bits(byte[] bits) 
- 
set_bits
- 
unset_bitspublic void unset_bits()
- 
is_set_bitspublic boolean is_set_bits()Returns true if field bits is set (has been assigned a value) and false otherwise
- 
set_bits_isSetpublic void set_bits_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<ThriftSerializedObject,- ThriftSerializedObject._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<ThriftSerializedObject,- ThriftSerializedObject._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<ThriftSerializedObject,- ThriftSerializedObject._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<ThriftSerializedObject>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<ThriftSerializedObject,- ThriftSerializedObject._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
 
 
-