Package ai.heavy.thrift.server
Class TCountDistinctSetStorage
- java.lang.Object
-
- org.apache.thrift.TUnion<TCountDistinctSetStorage,TCountDistinctSetStorage._Fields>
-
- ai.heavy.thrift.server.TCountDistinctSetStorage
-
- All Implemented Interfaces:
Serializable,Comparable<TCountDistinctSetStorage>,org.apache.thrift.TBase<TCountDistinctSetStorage,TCountDistinctSetStorage._Fields>,org.apache.thrift.TSerializable
public class TCountDistinctSetStorage extends org.apache.thrift.TUnion<TCountDistinctSetStorage,TCountDistinctSetStorage._Fields>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTCountDistinctSetStorage._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<TCountDistinctSetStorage._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description TCountDistinctSetStorage()TCountDistinctSetStorage(TCountDistinctSetStorage other)TCountDistinctSetStorage(TCountDistinctSetStorage._Fields setField, Object value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TCountDistinctSetStoragebitmap(byte[] value)static TCountDistinctSetStoragebitmap(ByteBuffer value)ByteBufferbufferForBitmap()protected voidcheckType(TCountDistinctSetStorage._Fields setField, Object value)intcompareTo(TCountDistinctSetStorage other)TCountDistinctSetStoragedeepCopy()protected TCountDistinctSetStorage._FieldsenumForId(short id)booleanequals(TCountDistinctSetStorage other)booleanequals(Object other)TCountDistinctSetStorage._FieldsfieldForId(int fieldId)byte[]getBitmap()protected org.apache.thrift.protocol.TFieldgetFieldDesc(TCountDistinctSetStorage._Fields setField)Set<Long>getSparse_set()protected org.apache.thrift.protocol.TStructgetStructDesc()inthashCode()booleanisSetBitmap()booleanisSetSparse_set()voidsetBitmap(byte[] value)voidsetBitmap(ByteBuffer value)voidsetSparse_set(Set<Long> value)static TCountDistinctSetStoragesparse_set(Set<Long> value)protected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field)protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)protected ObjecttupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID)protected voidtupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<TCountDistinctSetStorage._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TCountDistinctSetStorage
public TCountDistinctSetStorage()
-
TCountDistinctSetStorage
public TCountDistinctSetStorage(TCountDistinctSetStorage._Fields setField, Object value)
-
TCountDistinctSetStorage
public TCountDistinctSetStorage(TCountDistinctSetStorage other)
-
-
Method Detail
-
deepCopy
public TCountDistinctSetStorage deepCopy()
-
bitmap
public static TCountDistinctSetStorage bitmap(ByteBuffer value)
-
bitmap
public static TCountDistinctSetStorage bitmap(byte[] value)
-
sparse_set
public static TCountDistinctSetStorage sparse_set(Set<Long> value)
-
checkType
protected void checkType(TCountDistinctSetStorage._Fields setField, Object value) throws ClassCastException
- Specified by:
checkTypein classorg.apache.thrift.TUnion<TCountDistinctSetStorage,TCountDistinctSetStorage._Fields>- Throws:
ClassCastException
-
standardSchemeReadValue
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException
- Specified by:
standardSchemeReadValuein classorg.apache.thrift.TUnion<TCountDistinctSetStorage,TCountDistinctSetStorage._Fields>- Throws:
org.apache.thrift.TException
-
standardSchemeWriteValue
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
standardSchemeWriteValuein classorg.apache.thrift.TUnion<TCountDistinctSetStorage,TCountDistinctSetStorage._Fields>- Throws:
org.apache.thrift.TException
-
tupleSchemeReadValue
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
- Specified by:
tupleSchemeReadValuein classorg.apache.thrift.TUnion<TCountDistinctSetStorage,TCountDistinctSetStorage._Fields>- Throws:
org.apache.thrift.TException
-
tupleSchemeWriteValue
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
tupleSchemeWriteValuein classorg.apache.thrift.TUnion<TCountDistinctSetStorage,TCountDistinctSetStorage._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
protected org.apache.thrift.protocol.TField getFieldDesc(TCountDistinctSetStorage._Fields setField)
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<TCountDistinctSetStorage,TCountDistinctSetStorage._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()
- Specified by:
getStructDescin classorg.apache.thrift.TUnion<TCountDistinctSetStorage,TCountDistinctSetStorage._Fields>
-
enumForId
protected TCountDistinctSetStorage._Fields enumForId(short id)
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<TCountDistinctSetStorage,TCountDistinctSetStorage._Fields>
-
fieldForId
public TCountDistinctSetStorage._Fields fieldForId(int fieldId)
-
getBitmap
public byte[] getBitmap()
-
bufferForBitmap
public ByteBuffer bufferForBitmap()
-
setBitmap
public void setBitmap(byte[] value)
-
setBitmap
public void setBitmap(ByteBuffer value)
-
isSetBitmap
public boolean isSetBitmap()
-
isSetSparse_set
public boolean isSetSparse_set()
-
equals
public boolean equals(TCountDistinctSetStorage other)
-
compareTo
public int compareTo(TCountDistinctSetStorage other)
-
-