Package ai.heavy.thrift.server
Class TCountDistinctDescriptor
- java.lang.Object
-
- ai.heavy.thrift.server.TCountDistinctDescriptor
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TCountDistinctDescriptor>,org.apache.thrift.TBase<TCountDistinctDescriptor,TCountDistinctDescriptor._Fields>,org.apache.thrift.TSerializable
public class TCountDistinctDescriptor extends Object implements org.apache.thrift.TBase<TCountDistinctDescriptor,TCountDistinctDescriptor._Fields>, Serializable, Cloneable, Comparable<TCountDistinctDescriptor>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTCountDistinctDescriptor._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description booleanapproximatelongbitmap_sz_bitsTDeviceTypedevice_typeTCountDistinctImplTypeimpl_typestatic Map<TCountDistinctDescriptor._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongmin_vallongsub_bitmap_count
-
Constructor Summary
Constructors Constructor Description TCountDistinctDescriptor()TCountDistinctDescriptor(TCountDistinctDescriptor other)Performs a deep copy on other.TCountDistinctDescriptor(TCountDistinctImplType impl_type, long min_val, long bitmap_sz_bits, boolean approximate, TDeviceType device_type, long sub_bitmap_count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TCountDistinctDescriptor other)TCountDistinctDescriptordeepCopy()booleanequals(TCountDistinctDescriptor that)booleanequals(Object that)TCountDistinctDescriptor._FieldsfieldForId(int fieldId)longgetBitmap_sz_bits()TDeviceTypegetDevice_type()ObjectgetFieldValue(TCountDistinctDescriptor._Fields field)TCountDistinctImplTypegetImpl_type()longgetMin_val()longgetSub_bitmap_count()inthashCode()booleanisApproximate()booleanisSet(TCountDistinctDescriptor._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetApproximate()Returns true if field approximate is set (has been assigned a value) and false otherwisebooleanisSetBitmap_sz_bits()Returns true if field bitmap_sz_bits is set (has been assigned a value) and false otherwisebooleanisSetDevice_type()Returns true if field device_type is set (has been assigned a value) and false otherwisebooleanisSetImpl_type()Returns true if field impl_type is set (has been assigned a value) and false otherwisebooleanisSetMin_val()Returns true if field min_val is set (has been assigned a value) and false otherwisebooleanisSetSub_bitmap_count()Returns true if field sub_bitmap_count is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TCountDistinctDescriptorsetApproximate(boolean approximate)voidsetApproximateIsSet(boolean value)TCountDistinctDescriptorsetBitmap_sz_bits(long bitmap_sz_bits)voidsetBitmap_sz_bitsIsSet(boolean value)TCountDistinctDescriptorsetDevice_type(TDeviceType device_type)voidsetDevice_typeIsSet(boolean value)voidsetFieldValue(TCountDistinctDescriptor._Fields field, Object value)TCountDistinctDescriptorsetImpl_type(TCountDistinctImplType impl_type)voidsetImpl_typeIsSet(boolean value)TCountDistinctDescriptorsetMin_val(long min_val)voidsetMin_valIsSet(boolean value)TCountDistinctDescriptorsetSub_bitmap_count(long sub_bitmap_count)voidsetSub_bitmap_countIsSet(boolean value)StringtoString()voidunsetApproximate()voidunsetBitmap_sz_bits()voidunsetDevice_type()voidunsetImpl_type()voidunsetMin_val()voidunsetSub_bitmap_count()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
impl_type
public TCountDistinctImplType impl_type
- See Also:
TCountDistinctImplType
-
min_val
public long min_val
-
bitmap_sz_bits
public long bitmap_sz_bits
-
approximate
public boolean approximate
-
device_type
public TDeviceType device_type
- See Also:
TDeviceType
-
sub_bitmap_count
public long sub_bitmap_count
-
metaDataMap
public static final Map<TCountDistinctDescriptor._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TCountDistinctDescriptor
public TCountDistinctDescriptor()
-
TCountDistinctDescriptor
public TCountDistinctDescriptor(TCountDistinctImplType impl_type, long min_val, long bitmap_sz_bits, boolean approximate, TDeviceType device_type, long sub_bitmap_count)
-
TCountDistinctDescriptor
public TCountDistinctDescriptor(TCountDistinctDescriptor other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TCountDistinctDescriptor deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TCountDistinctDescriptor,TCountDistinctDescriptor._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TCountDistinctDescriptor,TCountDistinctDescriptor._Fields>
-
getImpl_type
public TCountDistinctImplType getImpl_type()
- See Also:
TCountDistinctImplType
-
setImpl_type
public TCountDistinctDescriptor setImpl_type(TCountDistinctImplType impl_type)
- See Also:
TCountDistinctImplType
-
unsetImpl_type
public void unsetImpl_type()
-
isSetImpl_type
public boolean isSetImpl_type()
Returns true if field impl_type is set (has been assigned a value) and false otherwise
-
setImpl_typeIsSet
public void setImpl_typeIsSet(boolean value)
-
getMin_val
public long getMin_val()
-
setMin_val
public TCountDistinctDescriptor setMin_val(long min_val)
-
unsetMin_val
public void unsetMin_val()
-
isSetMin_val
public boolean isSetMin_val()
Returns true if field min_val is set (has been assigned a value) and false otherwise
-
setMin_valIsSet
public void setMin_valIsSet(boolean value)
-
getBitmap_sz_bits
public long getBitmap_sz_bits()
-
setBitmap_sz_bits
public TCountDistinctDescriptor setBitmap_sz_bits(long bitmap_sz_bits)
-
unsetBitmap_sz_bits
public void unsetBitmap_sz_bits()
-
isSetBitmap_sz_bits
public boolean isSetBitmap_sz_bits()
Returns true if field bitmap_sz_bits is set (has been assigned a value) and false otherwise
-
setBitmap_sz_bitsIsSet
public void setBitmap_sz_bitsIsSet(boolean value)
-
isApproximate
public boolean isApproximate()
-
setApproximate
public TCountDistinctDescriptor setApproximate(boolean approximate)
-
unsetApproximate
public void unsetApproximate()
-
isSetApproximate
public boolean isSetApproximate()
Returns true if field approximate is set (has been assigned a value) and false otherwise
-
setApproximateIsSet
public void setApproximateIsSet(boolean value)
-
getDevice_type
public TDeviceType getDevice_type()
- See Also:
TDeviceType
-
setDevice_type
public TCountDistinctDescriptor setDevice_type(TDeviceType device_type)
- See Also:
TDeviceType
-
unsetDevice_type
public void unsetDevice_type()
-
isSetDevice_type
public boolean isSetDevice_type()
Returns true if field device_type is set (has been assigned a value) and false otherwise
-
setDevice_typeIsSet
public void setDevice_typeIsSet(boolean value)
-
getSub_bitmap_count
public long getSub_bitmap_count()
-
setSub_bitmap_count
public TCountDistinctDescriptor setSub_bitmap_count(long sub_bitmap_count)
-
unsetSub_bitmap_count
public void unsetSub_bitmap_count()
-
isSetSub_bitmap_count
public boolean isSetSub_bitmap_count()
Returns true if field sub_bitmap_count is set (has been assigned a value) and false otherwise
-
setSub_bitmap_countIsSet
public void setSub_bitmap_countIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TCountDistinctDescriptor._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TCountDistinctDescriptor,TCountDistinctDescriptor._Fields>
-
getFieldValue
public Object getFieldValue(TCountDistinctDescriptor._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TCountDistinctDescriptor,TCountDistinctDescriptor._Fields>
-
isSet
public boolean isSet(TCountDistinctDescriptor._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<TCountDistinctDescriptor,TCountDistinctDescriptor._Fields>
-
equals
public boolean equals(TCountDistinctDescriptor that)
-
compareTo
public int compareTo(TCountDistinctDescriptor other)
- Specified by:
compareToin interfaceComparable<TCountDistinctDescriptor>
-
fieldForId
public TCountDistinctDescriptor._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TCountDistinctDescriptor,TCountDistinctDescriptor._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
-
-