Package org.apache.storm.generated
Class Grouping
java.lang.Object
org.apache.storm.thrift.TUnion<Grouping,Grouping._Fields>
org.apache.storm.generated.Grouping
- All Implemented Interfaces:
Serializable
,Comparable<Grouping>
,org.apache.storm.thrift.TBase<Grouping,
,Grouping._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class Grouping
extends org.apache.storm.thrift.TUnion<Grouping,Grouping._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<Grouping._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> Fields inherited from class org.apache.storm.thrift.TUnion
setField_, value_
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Grouping
all
(NullStruct value) protected void
checkType
(Grouping._Fields setField, Object value) int
static Grouping
custom_object
(JavaObject value) static Grouping
custom_serialized
(byte[] value) static Grouping
custom_serialized
(ByteBuffer value) deepCopy()
static Grouping
direct
(NullStruct value) protected Grouping._Fields
enumForId
(short id) boolean
boolean
fieldForId
(int fieldId) static Grouping
get_all()
byte[]
get_none()
protected org.apache.storm.thrift.protocol.TField
getFieldDesc
(Grouping._Fields setField) protected org.apache.storm.thrift.protocol.TStruct
int
hashCode()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
static Grouping
local_or_shuffle
(NullStruct value) static Grouping
none
(NullStruct value) void
set_all
(NullStruct value) void
set_custom_object
(JavaObject value) void
set_custom_serialized
(byte[] value) void
set_custom_serialized
(ByteBuffer value) void
set_direct
(NullStruct value) void
set_fields
(List<String> value) void
set_local_or_shuffle
(NullStruct value) void
set_none
(NullStruct value) void
set_shuffle
(NullStruct value) static Grouping
shuffle
(NullStruct 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) 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<Grouping._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
Grouping
public Grouping() -
Grouping
-
Grouping
-
-
Method Details
-
deepCopy
-
fields
-
shuffle
-
all
-
none
-
direct
-
custom_object
-
custom_serialized
-
custom_serialized
-
local_or_shuffle
-
checkType
- Specified by:
checkType
in classorg.apache.storm.thrift.TUnion<Grouping,
Grouping._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<Grouping,
Grouping._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<Grouping,
Grouping._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<Grouping,
Grouping._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<Grouping,
Grouping._Fields> - Throws:
org.apache.storm.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDesc
in classorg.apache.storm.thrift.TUnion<Grouping,
Grouping._Fields>
-
getStructDesc
protected org.apache.storm.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDesc
in classorg.apache.storm.thrift.TUnion<Grouping,
Grouping._Fields>
-
enumForId
- Specified by:
enumForId
in classorg.apache.storm.thrift.TUnion<Grouping,
Grouping._Fields>
-
fieldForId
-
get_fields
-
set_fields
-
get_shuffle
-
set_shuffle
-
get_all
-
set_all
-
get_none
-
set_none
-
get_direct
-
set_direct
-
get_custom_object
-
set_custom_object
-
get_custom_serialized
public byte[] get_custom_serialized() -
buffer_for_custom_serialized
-
set_custom_serialized
public void set_custom_serialized(byte[] value) -
set_custom_serialized
-
get_local_or_shuffle
-
set_local_or_shuffle
-
is_set_fields
public boolean is_set_fields() -
is_set_shuffle
public boolean is_set_shuffle() -
is_set_all
public boolean is_set_all() -
is_set_none
public boolean is_set_none() -
is_set_direct
public boolean is_set_direct() -
is_set_custom_object
public boolean is_set_custom_object() -
is_set_custom_serialized
public boolean is_set_custom_serialized() -
is_set_local_or_shuffle
public boolean is_set_local_or_shuffle() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-