Package org.apache.pinot.common.request
Class AggregationInfo
- java.lang.Object
-
- org.apache.pinot.common.request.AggregationInfo
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<AggregationInfo>,org.apache.thrift.TBase<AggregationInfo,AggregationInfo._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.13.0)", date="2021-09-28") public class AggregationInfo extends Object implements org.apache.thrift.TBase<AggregationInfo,AggregationInfo._Fields>, Serializable, Cloneable, Comparable<AggregationInfo>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAggregationInfo._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<AggregationInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description AggregationInfo()AggregationInfo(AggregationInfo other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToExpressions(String elem)voidclear()intcompareTo(AggregationInfo other)AggregationInfodeepCopy()booleanequals(Object that)booleanequals(AggregationInfo that)AggregationInfo._FieldsfieldForId(int fieldId)Map<String,String>getAggregationParams()intgetAggregationParamsSize()StringgetAggregationType()List<String>getExpressions()Iterator<String>getExpressionsIterator()intgetExpressionsSize()ObjectgetFieldValue(AggregationInfo._Fields field)inthashCode()booleanisIsInSelectList()booleanisSet(AggregationInfo._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAggregationParams()Returns true if field aggregationParams is set (has been assigned a value) and false otherwisebooleanisSetAggregationType()Returns true if field aggregationType is set (has been assigned a value) and false otherwisebooleanisSetExpressions()Returns true if field expressions is set (has been assigned a value) and false otherwisebooleanisSetIsInSelectList()Returns true if field isInSelectList is set (has been assigned a value) and false otherwisevoidputToAggregationParams(String key, String val)voidread(org.apache.thrift.protocol.TProtocol iprot)voidsetAggregationParams(Map<String,String> aggregationParams)voidsetAggregationParamsIsSet(boolean value)voidsetAggregationType(String aggregationType)voidsetAggregationTypeIsSet(boolean value)voidsetExpressions(List<String> expressions)voidsetExpressionsIsSet(boolean value)voidsetFieldValue(AggregationInfo._Fields field, Object value)voidsetIsInSelectList(boolean isInSelectList)voidsetIsInSelectListIsSet(boolean value)StringtoString()voidunsetAggregationParams()voidunsetAggregationType()voidunsetExpressions()voidunsetIsInSelectList()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<AggregationInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
AggregationInfo
public AggregationInfo()
-
AggregationInfo
public AggregationInfo(AggregationInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public AggregationInfo deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<AggregationInfo,AggregationInfo._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<AggregationInfo,AggregationInfo._Fields>
-
getAggregationType
public String getAggregationType()
-
setAggregationType
public void setAggregationType(String aggregationType)
-
unsetAggregationType
public void unsetAggregationType()
-
isSetAggregationType
public boolean isSetAggregationType()
Returns true if field aggregationType is set (has been assigned a value) and false otherwise
-
setAggregationTypeIsSet
public void setAggregationTypeIsSet(boolean value)
-
getAggregationParamsSize
public int getAggregationParamsSize()
-
unsetAggregationParams
public void unsetAggregationParams()
-
isSetAggregationParams
public boolean isSetAggregationParams()
Returns true if field aggregationParams is set (has been assigned a value) and false otherwise
-
setAggregationParamsIsSet
public void setAggregationParamsIsSet(boolean value)
-
isIsInSelectList
public boolean isIsInSelectList()
-
setIsInSelectList
public void setIsInSelectList(boolean isInSelectList)
-
unsetIsInSelectList
public void unsetIsInSelectList()
-
isSetIsInSelectList
public boolean isSetIsInSelectList()
Returns true if field isInSelectList is set (has been assigned a value) and false otherwise
-
setIsInSelectListIsSet
public void setIsInSelectListIsSet(boolean value)
-
getExpressionsSize
public int getExpressionsSize()
-
addToExpressions
public void addToExpressions(String elem)
-
unsetExpressions
public void unsetExpressions()
-
isSetExpressions
public boolean isSetExpressions()
Returns true if field expressions is set (has been assigned a value) and false otherwise
-
setExpressionsIsSet
public void setExpressionsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(AggregationInfo._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<AggregationInfo,AggregationInfo._Fields>
-
getFieldValue
public Object getFieldValue(AggregationInfo._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<AggregationInfo,AggregationInfo._Fields>
-
isSet
public boolean isSet(AggregationInfo._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<AggregationInfo,AggregationInfo._Fields>
-
equals
public boolean equals(AggregationInfo that)
-
compareTo
public int compareTo(AggregationInfo other)
- Specified by:
compareToin interfaceComparable<AggregationInfo>
-
fieldForId
public AggregationInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<AggregationInfo,AggregationInfo._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
-
-