Package org.apache.pinot.common.request
Class GroupBy
- java.lang.Object
-
- org.apache.pinot.common.request.GroupBy
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<GroupBy>,org.apache.thrift.TBase<GroupBy,GroupBy._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.13.0)", date="2021-09-28") public class GroupBy extends Object implements org.apache.thrift.TBase<GroupBy,GroupBy._Fields>, Serializable, Cloneable, Comparable<GroupBy>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroupBy._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<GroupBy._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToColumns(String elem)voidaddToExpressions(String elem)voidclear()intcompareTo(GroupBy other)GroupBydeepCopy()booleanequals(Object that)booleanequals(GroupBy that)GroupBy._FieldsfieldForId(int fieldId)List<String>getColumns()Iterator<String>getColumnsIterator()intgetColumnsSize()List<String>getExpressions()Iterator<String>getExpressionsIterator()intgetExpressionsSize()ObjectgetFieldValue(GroupBy._Fields field)longgetTopN()inthashCode()booleanisSet(GroupBy._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetColumns()Returns true if field columns is set (has been assigned a value) and false otherwisebooleanisSetExpressions()Returns true if field expressions is set (has been assigned a value) and false otherwisebooleanisSetTopN()Returns true if field topN is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetColumns(List<String> columns)voidsetColumnsIsSet(boolean value)voidsetExpressions(List<String> expressions)voidsetExpressionsIsSet(boolean value)voidsetFieldValue(GroupBy._Fields field, Object value)voidsetTopN(long topN)voidsetTopNIsSet(boolean value)StringtoString()voidunsetColumns()voidunsetExpressions()voidunsetTopN()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<GroupBy._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
GroupBy
public GroupBy()
-
GroupBy
public GroupBy(GroupBy other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public GroupBy deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<GroupBy,GroupBy._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<GroupBy,GroupBy._Fields>
-
getColumnsSize
public int getColumnsSize()
-
addToColumns
public void addToColumns(String elem)
-
unsetColumns
public void unsetColumns()
-
isSetColumns
public boolean isSetColumns()
Returns true if field columns is set (has been assigned a value) and false otherwise
-
setColumnsIsSet
public void setColumnsIsSet(boolean value)
-
getTopN
public long getTopN()
-
setTopN
public void setTopN(long topN)
-
unsetTopN
public void unsetTopN()
-
isSetTopN
public boolean isSetTopN()
Returns true if field topN is set (has been assigned a value) and false otherwise
-
setTopNIsSet
public void setTopNIsSet(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(GroupBy._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<GroupBy,GroupBy._Fields>
-
getFieldValue
public Object getFieldValue(GroupBy._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<GroupBy,GroupBy._Fields>
-
isSet
public boolean isSet(GroupBy._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<GroupBy,GroupBy._Fields>
-
equals
public boolean equals(GroupBy that)
-
compareTo
public int compareTo(GroupBy other)
- Specified by:
compareToin interfaceComparable<GroupBy>
-
fieldForId
public GroupBy._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<GroupBy,GroupBy._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
-
-