Package org.apache.storm.generated
Class JavaObjectArg
java.lang.Object
org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
org.apache.storm.generated.JavaObjectArg
- All Implemented Interfaces:
Serializable
,Comparable<JavaObjectArg>
,org.apache.storm.thrift.TBase<JavaObjectArg,
,JavaObjectArg._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class JavaObjectArg
extends org.apache.storm.thrift.TUnion<JavaObjectArg,JavaObjectArg._Fields>
- 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<JavaObjectArg._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> Fields inherited from class org.apache.storm.thrift.TUnion
setField_, value_
-
Constructor Summary
ConstructorDescriptionJavaObjectArg
(JavaObjectArg other) JavaObjectArg
(JavaObjectArg._Fields setField, Object value) -
Method Summary
Modifier and TypeMethodDescriptionstatic JavaObjectArg
binary_arg
(byte[] value) static JavaObjectArg
binary_arg
(ByteBuffer value) static JavaObjectArg
bool_arg
(boolean value) protected void
checkType
(JavaObjectArg._Fields setField, Object value) int
compareTo
(JavaObjectArg other) deepCopy()
static JavaObjectArg
double_arg
(double value) protected JavaObjectArg._Fields
enumForId
(short id) boolean
boolean
equals
(JavaObjectArg other) fieldForId
(int fieldId) byte[]
boolean
double
int
long
protected org.apache.storm.thrift.protocol.TField
getFieldDesc
(JavaObjectArg._Fields setField) protected org.apache.storm.thrift.protocol.TStruct
int
hashCode()
static JavaObjectArg
int_arg
(int value) boolean
boolean
boolean
boolean
boolean
boolean
static JavaObjectArg
long_arg
(long value) void
set_binary_arg
(byte[] value) void
set_binary_arg
(ByteBuffer value) void
set_bool_arg
(boolean value) void
set_double_arg
(double value) void
set_int_arg
(int value) void
set_long_arg
(long value) void
set_string_arg
(String value) protected Object
standardSchemeReadValue
(org.apache.storm.thrift.protocol.TProtocol iprot, org.apache.storm.thrift.protocol.TField field) protected void
standardSchemeWriteValue
(org.apache.storm.thrift.protocol.TProtocol oprot) static JavaObjectArg
string_arg
(String value) protected Object
tupleSchemeReadValue
(org.apache.storm.thrift.protocol.TProtocol iprot, short fieldID) protected void
tupleSchemeWriteValue
(org.apache.storm.thrift.protocol.TProtocol oprot) Methods inherited from class org.apache.storm.thrift.TUnion
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write
-
Field Details
-
metaDataMap
public static final Map<JavaObjectArg._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
JavaObjectArg
public JavaObjectArg() -
JavaObjectArg
-
JavaObjectArg
-
-
Method Details
-
deepCopy
-
int_arg
-
long_arg
-
string_arg
-
bool_arg
-
binary_arg
-
binary_arg
-
double_arg
-
checkType
- Specified by:
checkType
in classorg.apache.storm.thrift.TUnion<JavaObjectArg,
JavaObjectArg._Fields> - Throws:
ClassCastException
-
standardSchemeReadValue
protected Object standardSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot, org.apache.storm.thrift.protocol.TField field) throws org.apache.storm.thrift.TException - Specified by:
standardSchemeReadValue
in classorg.apache.storm.thrift.TUnion<JavaObjectArg,
JavaObjectArg._Fields> - Throws:
org.apache.storm.thrift.TException
-
standardSchemeWriteValue
protected void standardSchemeWriteValue(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
standardSchemeWriteValue
in classorg.apache.storm.thrift.TUnion<JavaObjectArg,
JavaObjectArg._Fields> - Throws:
org.apache.storm.thrift.TException
-
tupleSchemeReadValue
protected Object tupleSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.storm.thrift.TException - Specified by:
tupleSchemeReadValue
in classorg.apache.storm.thrift.TUnion<JavaObjectArg,
JavaObjectArg._Fields> - Throws:
org.apache.storm.thrift.TException
-
tupleSchemeWriteValue
protected void tupleSchemeWriteValue(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
tupleSchemeWriteValue
in classorg.apache.storm.thrift.TUnion<JavaObjectArg,
JavaObjectArg._Fields> - Throws:
org.apache.storm.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDesc
in classorg.apache.storm.thrift.TUnion<JavaObjectArg,
JavaObjectArg._Fields>
-
getStructDesc
protected org.apache.storm.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDesc
in classorg.apache.storm.thrift.TUnion<JavaObjectArg,
JavaObjectArg._Fields>
-
enumForId
- Specified by:
enumForId
in classorg.apache.storm.thrift.TUnion<JavaObjectArg,
JavaObjectArg._Fields>
-
fieldForId
-
get_int_arg
public int get_int_arg() -
set_int_arg
public void set_int_arg(int value) -
get_long_arg
public long get_long_arg() -
set_long_arg
public void set_long_arg(long value) -
get_string_arg
-
set_string_arg
-
get_bool_arg
public boolean get_bool_arg() -
set_bool_arg
public void set_bool_arg(boolean value) -
get_binary_arg
public byte[] get_binary_arg() -
buffer_for_binary_arg
-
set_binary_arg
public void set_binary_arg(byte[] value) -
set_binary_arg
-
get_double_arg
public double get_double_arg() -
set_double_arg
public void set_double_arg(double value) -
is_set_int_arg
public boolean is_set_int_arg() -
is_set_long_arg
public boolean is_set_long_arg() -
is_set_string_arg
public boolean is_set_string_arg() -
is_set_bool_arg
public boolean is_set_bool_arg() -
is_set_binary_arg
public boolean is_set_binary_arg() -
is_set_double_arg
public boolean is_set_double_arg() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-