@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class Grouping extends org.apache.storm.thrift.TUnion<Grouping,Grouping._Fields>
Modifier and Type | Class and Description |
---|---|
static class |
Grouping._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<Grouping._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
Grouping() |
Grouping(Grouping._Fields setField,
Object value) |
Grouping(Grouping other) |
public static final Map<Grouping._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public Grouping()
public Grouping(Grouping._Fields setField, Object value)
public Grouping(Grouping other)
public Grouping deepCopy()
public static Grouping shuffle(NullStruct value)
public static Grouping all(NullStruct value)
public static Grouping none(NullStruct value)
public static Grouping direct(NullStruct value)
public static Grouping custom_object(JavaObject value)
public static Grouping custom_serialized(ByteBuffer value)
public static Grouping custom_serialized(byte[] value)
public static Grouping local_or_shuffle(NullStruct value)
protected void checkType(Grouping._Fields setField, Object value) throws ClassCastException
checkType
in class org.apache.storm.thrift.TUnion<Grouping,Grouping._Fields>
ClassCastException
protected Object standardSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot, org.apache.storm.thrift.protocol.TField field) throws org.apache.storm.thrift.TException
standardSchemeReadValue
in class org.apache.storm.thrift.TUnion<Grouping,Grouping._Fields>
org.apache.storm.thrift.TException
protected void standardSchemeWriteValue(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
standardSchemeWriteValue
in class org.apache.storm.thrift.TUnion<Grouping,Grouping._Fields>
org.apache.storm.thrift.TException
protected Object tupleSchemeReadValue(org.apache.storm.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.storm.thrift.TException
tupleSchemeReadValue
in class org.apache.storm.thrift.TUnion<Grouping,Grouping._Fields>
org.apache.storm.thrift.TException
protected void tupleSchemeWriteValue(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
tupleSchemeWriteValue
in class org.apache.storm.thrift.TUnion<Grouping,Grouping._Fields>
org.apache.storm.thrift.TException
protected org.apache.storm.thrift.protocol.TField getFieldDesc(Grouping._Fields setField)
getFieldDesc
in class org.apache.storm.thrift.TUnion<Grouping,Grouping._Fields>
protected org.apache.storm.thrift.protocol.TStruct getStructDesc()
getStructDesc
in class org.apache.storm.thrift.TUnion<Grouping,Grouping._Fields>
protected Grouping._Fields enumForId(short id)
enumForId
in class org.apache.storm.thrift.TUnion<Grouping,Grouping._Fields>
public Grouping._Fields fieldForId(int fieldId)
public NullStruct get_shuffle()
public void set_shuffle(NullStruct value)
public NullStruct get_all()
public void set_all(NullStruct value)
public NullStruct get_none()
public void set_none(NullStruct value)
public NullStruct get_direct()
public void set_direct(NullStruct value)
public JavaObject get_custom_object()
public void set_custom_object(JavaObject value)
public byte[] get_custom_serialized()
public ByteBuffer buffer_for_custom_serialized()
public void set_custom_serialized(byte[] value)
public void set_custom_serialized(ByteBuffer value)
public NullStruct get_local_or_shuffle()
public void set_local_or_shuffle(NullStruct value)
public boolean is_set_fields()
public boolean is_set_shuffle()
public boolean is_set_all()
public boolean is_set_none()
public boolean is_set_direct()
public boolean is_set_custom_object()
public boolean is_set_custom_serialized()
public boolean is_set_local_or_shuffle()
public boolean equals(Grouping other)
public int compareTo(Grouping other)
Copyright © 2020 The Apache Software Foundation. All rights reserved.