Package ai.heavy.thrift.server
Class TColumnRange
- java.lang.Object
-
- ai.heavy.thrift.server.TColumnRange
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TColumnRange>,org.apache.thrift.TBase<TColumnRange,TColumnRange._Fields>,org.apache.thrift.TSerializable
public class TColumnRange extends Object implements org.apache.thrift.TBase<TColumnRange,TColumnRange._Fields>, Serializable, Cloneable, Comparable<TColumnRange>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTColumnRange._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description longbucketintcol_iddoublefp_maxdoublefp_minbooleanhas_nullslongint_maxlongint_minstatic Map<TColumnRange._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapinttable_idTExpressionRangeTypetype
-
Constructor Summary
Constructors Constructor Description TColumnRange()TColumnRange(TColumnRange other)Performs a deep copy on other.TColumnRange(TExpressionRangeType type, int col_id, int table_id, boolean has_nulls, long int_min, long int_max, long bucket, double fp_min, double fp_max)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TColumnRange other)TColumnRangedeepCopy()booleanequals(TColumnRange that)booleanequals(Object that)TColumnRange._FieldsfieldForId(int fieldId)longgetBucket()intgetCol_id()ObjectgetFieldValue(TColumnRange._Fields field)doublegetFp_max()doublegetFp_min()longgetInt_max()longgetInt_min()intgetTable_id()TExpressionRangeTypegetType()inthashCode()booleanisHas_nulls()booleanisSet(TColumnRange._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetBucket()Returns true if field bucket is set (has been assigned a value) and false otherwisebooleanisSetCol_id()Returns true if field col_id is set (has been assigned a value) and false otherwisebooleanisSetFp_max()Returns true if field fp_max is set (has been assigned a value) and false otherwisebooleanisSetFp_min()Returns true if field fp_min is set (has been assigned a value) and false otherwisebooleanisSetHas_nulls()Returns true if field has_nulls is set (has been assigned a value) and false otherwisebooleanisSetInt_max()Returns true if field int_max is set (has been assigned a value) and false otherwisebooleanisSetInt_min()Returns true if field int_min is set (has been assigned a value) and false otherwisebooleanisSetTable_id()Returns true if field table_id 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)TColumnRangesetBucket(long bucket)voidsetBucketIsSet(boolean value)TColumnRangesetCol_id(int col_id)voidsetCol_idIsSet(boolean value)voidsetFieldValue(TColumnRange._Fields field, Object value)TColumnRangesetFp_max(double fp_max)voidsetFp_maxIsSet(boolean value)TColumnRangesetFp_min(double fp_min)voidsetFp_minIsSet(boolean value)TColumnRangesetHas_nulls(boolean has_nulls)voidsetHas_nullsIsSet(boolean value)TColumnRangesetInt_max(long int_max)voidsetInt_maxIsSet(boolean value)TColumnRangesetInt_min(long int_min)voidsetInt_minIsSet(boolean value)TColumnRangesetTable_id(int table_id)voidsetTable_idIsSet(boolean value)TColumnRangesetType(TExpressionRangeType type)voidsetTypeIsSet(boolean value)StringtoString()voidunsetBucket()voidunsetCol_id()voidunsetFp_max()voidunsetFp_min()voidunsetHas_nulls()voidunsetInt_max()voidunsetInt_min()voidunsetTable_id()voidunsetType()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
type
public TExpressionRangeType type
- See Also:
TExpressionRangeType
-
col_id
public int col_id
-
table_id
public int table_id
-
has_nulls
public boolean has_nulls
-
int_min
public long int_min
-
int_max
public long int_max
-
bucket
public long bucket
-
fp_min
public double fp_min
-
fp_max
public double fp_max
-
metaDataMap
public static final Map<TColumnRange._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TColumnRange
public TColumnRange()
-
TColumnRange
public TColumnRange(TExpressionRangeType type, int col_id, int table_id, boolean has_nulls, long int_min, long int_max, long bucket, double fp_min, double fp_max)
-
TColumnRange
public TColumnRange(TColumnRange other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TColumnRange deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TColumnRange,TColumnRange._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TColumnRange,TColumnRange._Fields>
-
getType
public TExpressionRangeType getType()
- See Also:
TExpressionRangeType
-
setType
public TColumnRange setType(TExpressionRangeType type)
- See Also:
TExpressionRangeType
-
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)
-
getCol_id
public int getCol_id()
-
setCol_id
public TColumnRange setCol_id(int col_id)
-
unsetCol_id
public void unsetCol_id()
-
isSetCol_id
public boolean isSetCol_id()
Returns true if field col_id is set (has been assigned a value) and false otherwise
-
setCol_idIsSet
public void setCol_idIsSet(boolean value)
-
getTable_id
public int getTable_id()
-
setTable_id
public TColumnRange setTable_id(int table_id)
-
unsetTable_id
public void unsetTable_id()
-
isSetTable_id
public boolean isSetTable_id()
Returns true if field table_id is set (has been assigned a value) and false otherwise
-
setTable_idIsSet
public void setTable_idIsSet(boolean value)
-
isHas_nulls
public boolean isHas_nulls()
-
setHas_nulls
public TColumnRange setHas_nulls(boolean has_nulls)
-
unsetHas_nulls
public void unsetHas_nulls()
-
isSetHas_nulls
public boolean isSetHas_nulls()
Returns true if field has_nulls is set (has been assigned a value) and false otherwise
-
setHas_nullsIsSet
public void setHas_nullsIsSet(boolean value)
-
getInt_min
public long getInt_min()
-
setInt_min
public TColumnRange setInt_min(long int_min)
-
unsetInt_min
public void unsetInt_min()
-
isSetInt_min
public boolean isSetInt_min()
Returns true if field int_min is set (has been assigned a value) and false otherwise
-
setInt_minIsSet
public void setInt_minIsSet(boolean value)
-
getInt_max
public long getInt_max()
-
setInt_max
public TColumnRange setInt_max(long int_max)
-
unsetInt_max
public void unsetInt_max()
-
isSetInt_max
public boolean isSetInt_max()
Returns true if field int_max is set (has been assigned a value) and false otherwise
-
setInt_maxIsSet
public void setInt_maxIsSet(boolean value)
-
getBucket
public long getBucket()
-
setBucket
public TColumnRange setBucket(long bucket)
-
unsetBucket
public void unsetBucket()
-
isSetBucket
public boolean isSetBucket()
Returns true if field bucket is set (has been assigned a value) and false otherwise
-
setBucketIsSet
public void setBucketIsSet(boolean value)
-
getFp_min
public double getFp_min()
-
setFp_min
public TColumnRange setFp_min(double fp_min)
-
unsetFp_min
public void unsetFp_min()
-
isSetFp_min
public boolean isSetFp_min()
Returns true if field fp_min is set (has been assigned a value) and false otherwise
-
setFp_minIsSet
public void setFp_minIsSet(boolean value)
-
getFp_max
public double getFp_max()
-
setFp_max
public TColumnRange setFp_max(double fp_max)
-
unsetFp_max
public void unsetFp_max()
-
isSetFp_max
public boolean isSetFp_max()
Returns true if field fp_max is set (has been assigned a value) and false otherwise
-
setFp_maxIsSet
public void setFp_maxIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TColumnRange._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TColumnRange,TColumnRange._Fields>
-
getFieldValue
public Object getFieldValue(TColumnRange._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TColumnRange,TColumnRange._Fields>
-
isSet
public boolean isSet(TColumnRange._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<TColumnRange,TColumnRange._Fields>
-
equals
public boolean equals(TColumnRange that)
-
compareTo
public int compareTo(TColumnRange other)
- Specified by:
compareToin interfaceComparable<TColumnRange>
-
fieldForId
public TColumnRange._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TColumnRange,TColumnRange._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
-
-