Package ai.heavy.thrift.server
Class TCountDistinctSet
- java.lang.Object
-
- ai.heavy.thrift.server.TCountDistinctSet
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TCountDistinctSet>,org.apache.thrift.TBase<TCountDistinctSet,TCountDistinctSet._Fields>,org.apache.thrift.TSerializable
public class TCountDistinctSet extends Object implements org.apache.thrift.TBase<TCountDistinctSet,TCountDistinctSet._Fields>, Serializable, Cloneable, Comparable<TCountDistinctSet>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTCountDistinctSet._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<TCountDistinctSet._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongremote_ptrTCountDistinctSetStoragestorageTCountDistinctImplTypetype
-
Constructor Summary
Constructors Constructor Description TCountDistinctSet()TCountDistinctSet(TCountDistinctImplType type, TCountDistinctSetStorage storage, long remote_ptr)TCountDistinctSet(TCountDistinctSet other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TCountDistinctSet other)TCountDistinctSetdeepCopy()booleanequals(TCountDistinctSet that)booleanequals(Object that)TCountDistinctSet._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TCountDistinctSet._Fields field)longgetRemote_ptr()TCountDistinctSetStoragegetStorage()TCountDistinctImplTypegetType()inthashCode()booleanisSet(TCountDistinctSet._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetRemote_ptr()Returns true if field remote_ptr is set (has been assigned a value) and false otherwisebooleanisSetStorage()Returns true if field storage is set (has been assigned a value) and false otherwisebooleanisSetType()Returns true if field type is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TCountDistinctSet._Fields field, Object value)TCountDistinctSetsetRemote_ptr(long remote_ptr)voidsetRemote_ptrIsSet(boolean value)TCountDistinctSetsetStorage(TCountDistinctSetStorage storage)voidsetStorageIsSet(boolean value)TCountDistinctSetsetType(TCountDistinctImplType type)voidsetTypeIsSet(boolean value)StringtoString()voidunsetRemote_ptr()voidunsetStorage()voidunsetType()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
type
public TCountDistinctImplType type
- See Also:
TCountDistinctImplType
-
storage
public TCountDistinctSetStorage storage
-
remote_ptr
public long remote_ptr
-
metaDataMap
public static final Map<TCountDistinctSet._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TCountDistinctSet
public TCountDistinctSet()
-
TCountDistinctSet
public TCountDistinctSet(TCountDistinctImplType type, TCountDistinctSetStorage storage, long remote_ptr)
-
TCountDistinctSet
public TCountDistinctSet(TCountDistinctSet other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TCountDistinctSet deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TCountDistinctSet,TCountDistinctSet._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TCountDistinctSet,TCountDistinctSet._Fields>
-
getType
public TCountDistinctImplType getType()
- See Also:
TCountDistinctImplType
-
setType
public TCountDistinctSet setType(TCountDistinctImplType type)
- See Also:
TCountDistinctImplType
-
unsetType
public void unsetType()
-
isSetType
public boolean isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
-
setTypeIsSet
public void setTypeIsSet(boolean value)
-
getStorage
public TCountDistinctSetStorage getStorage()
-
setStorage
public TCountDistinctSet setStorage(TCountDistinctSetStorage storage)
-
unsetStorage
public void unsetStorage()
-
isSetStorage
public boolean isSetStorage()
Returns true if field storage is set (has been assigned a value) and false otherwise
-
setStorageIsSet
public void setStorageIsSet(boolean value)
-
getRemote_ptr
public long getRemote_ptr()
-
setRemote_ptr
public TCountDistinctSet setRemote_ptr(long remote_ptr)
-
unsetRemote_ptr
public void unsetRemote_ptr()
-
isSetRemote_ptr
public boolean isSetRemote_ptr()
Returns true if field remote_ptr is set (has been assigned a value) and false otherwise
-
setRemote_ptrIsSet
public void setRemote_ptrIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TCountDistinctSet._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TCountDistinctSet,TCountDistinctSet._Fields>
-
getFieldValue
public Object getFieldValue(TCountDistinctSet._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TCountDistinctSet,TCountDistinctSet._Fields>
-
isSet
public boolean isSet(TCountDistinctSet._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TCountDistinctSet,TCountDistinctSet._Fields>
-
equals
public boolean equals(TCountDistinctSet that)
-
compareTo
public int compareTo(TCountDistinctSet other)
- Specified by:
compareToin interfaceComparable<TCountDistinctSet>
-
fieldForId
public TCountDistinctSet._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TCountDistinctSet,TCountDistinctSet._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-