backtype.storm.generated
Class Grouping
java.lang.Object
org.apache.thrift.TUnion<Grouping,Grouping._Fields>
backtype.storm.generated.Grouping
- All Implemented Interfaces:
- Serializable, Comparable<Grouping>, org.apache.thrift.TBase<Grouping,Grouping._Fields>
public class Grouping
- extends org.apache.thrift.TUnion<Grouping,Grouping._Fields>
- See Also:
- Serialized Form
|
Nested Class Summary |
static class |
Grouping._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
| Fields inherited from class org.apache.thrift.TUnion |
setField_, value_ |
| Methods inherited from class org.apache.thrift.TUnion |
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write |
metaDataMap
public static final Map<Grouping._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Grouping
public Grouping()
Grouping
public Grouping(Grouping._Fields setField,
Object value)
Grouping
public Grouping(Grouping other)
deepCopy
public Grouping deepCopy()
fields
public static Grouping fields(List<String> value)
shuffle
public static Grouping shuffle(NullStruct value)
all
public static Grouping all(NullStruct value)
none
public static Grouping none(NullStruct value)
direct
public static Grouping direct(NullStruct value)
custom_object
public static Grouping custom_object(JavaObject value)
custom_serialized
public static Grouping custom_serialized(ByteBuffer value)
custom_serialized
public static Grouping custom_serialized(byte[] value)
local_or_shuffle
public static Grouping local_or_shuffle(NullStruct value)
checkType
protected void checkType(Grouping._Fields setField,
Object value)
throws ClassCastException
- Specified by:
checkType in class org.apache.thrift.TUnion<Grouping,Grouping._Fields>
- Throws:
ClassCastException
readValue
protected Object readValue(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TField field)
throws org.apache.thrift.TException
- Specified by:
readValue in class org.apache.thrift.TUnion<Grouping,Grouping._Fields>
- Throws:
org.apache.thrift.TException
writeValue
protected void writeValue(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
- Specified by:
writeValue in class org.apache.thrift.TUnion<Grouping,Grouping._Fields>
- Throws:
org.apache.thrift.TException
getFieldDesc
protected org.apache.thrift.protocol.TField getFieldDesc(Grouping._Fields setField)
- Specified by:
getFieldDesc in class org.apache.thrift.TUnion<Grouping,Grouping._Fields>
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()
- Specified by:
getStructDesc in class org.apache.thrift.TUnion<Grouping,Grouping._Fields>
enumForId
protected Grouping._Fields enumForId(short id)
- Specified by:
enumForId in class org.apache.thrift.TUnion<Grouping,Grouping._Fields>
fieldForId
public Grouping._Fields fieldForId(int fieldId)
get_fields
public List<String> get_fields()
set_fields
public void set_fields(List<String> value)
get_shuffle
public NullStruct get_shuffle()
set_shuffle
public void set_shuffle(NullStruct value)
get_all
public NullStruct get_all()
set_all
public void set_all(NullStruct value)
get_none
public NullStruct get_none()
set_none
public void set_none(NullStruct value)
get_direct
public NullStruct get_direct()
set_direct
public void set_direct(NullStruct value)
get_custom_object
public JavaObject get_custom_object()
set_custom_object
public void set_custom_object(JavaObject value)
get_custom_serialized
public byte[] get_custom_serialized()
buffer_for_custom_serialized
public ByteBuffer buffer_for_custom_serialized()
set_custom_serialized
public void set_custom_serialized(byte[] value)
set_custom_serialized
public void set_custom_serialized(ByteBuffer value)
get_local_or_shuffle
public NullStruct get_local_or_shuffle()
set_local_or_shuffle
public void set_local_or_shuffle(NullStruct value)
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
public boolean equals(Object other)
- Overrides:
equals in class Object
equals
public boolean equals(Grouping other)
compareTo
public int compareTo(Grouping other)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.