Package org.apache.pinot.common.request
Class QueryType
- java.lang.Object
-
- org.apache.pinot.common.request.QueryType
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QueryType>,org.apache.thrift.TBase<QueryType,QueryType._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.13.0)", date="2021-09-28") public class QueryType extends Object implements org.apache.thrift.TBase<QueryType,QueryType._Fields>, Serializable, Cloneable, Comparable<QueryType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryType._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<QueryType._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(QueryType other)QueryTypedeepCopy()booleanequals(Object that)booleanequals(QueryType that)QueryType._FieldsfieldForId(int fieldId)ObjectgetFieldValue(QueryType._Fields field)inthashCode()booleanisHasAggregation()booleanisHasFilter()booleanisHasGroup_by()booleanisHasHaving()booleanisHasSelection()booleanisSet(QueryType._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetHasAggregation()Returns true if field hasAggregation is set (has been assigned a value) and false otherwisebooleanisSetHasFilter()Returns true if field hasFilter is set (has been assigned a value) and false otherwisebooleanisSetHasGroup_by()Returns true if field hasGroup_by is set (has been assigned a value) and false otherwisebooleanisSetHasHaving()Returns true if field hasHaving is set (has been assigned a value) and false otherwisebooleanisSetHasSelection()Returns true if field hasSelection is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(QueryType._Fields field, Object value)voidsetHasAggregation(boolean hasAggregation)voidsetHasAggregationIsSet(boolean value)voidsetHasFilter(boolean hasFilter)voidsetHasFilterIsSet(boolean value)voidsetHasGroup_by(boolean hasGroup_by)voidsetHasGroup_byIsSet(boolean value)voidsetHasHaving(boolean hasHaving)voidsetHasHavingIsSet(boolean value)voidsetHasSelection(boolean hasSelection)voidsetHasSelectionIsSet(boolean value)StringtoString()voidunsetHasAggregation()voidunsetHasFilter()voidunsetHasGroup_by()voidunsetHasHaving()voidunsetHasSelection()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<QueryType._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
QueryType
public QueryType()
-
QueryType
public QueryType(QueryType other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public QueryType deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<QueryType,QueryType._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<QueryType,QueryType._Fields>
-
isHasSelection
public boolean isHasSelection()
-
setHasSelection
public void setHasSelection(boolean hasSelection)
-
unsetHasSelection
public void unsetHasSelection()
-
isSetHasSelection
public boolean isSetHasSelection()
Returns true if field hasSelection is set (has been assigned a value) and false otherwise
-
setHasSelectionIsSet
public void setHasSelectionIsSet(boolean value)
-
isHasFilter
public boolean isHasFilter()
-
setHasFilter
public void setHasFilter(boolean hasFilter)
-
unsetHasFilter
public void unsetHasFilter()
-
isSetHasFilter
public boolean isSetHasFilter()
Returns true if field hasFilter is set (has been assigned a value) and false otherwise
-
setHasFilterIsSet
public void setHasFilterIsSet(boolean value)
-
isHasAggregation
public boolean isHasAggregation()
-
setHasAggregation
public void setHasAggregation(boolean hasAggregation)
-
unsetHasAggregation
public void unsetHasAggregation()
-
isSetHasAggregation
public boolean isSetHasAggregation()
Returns true if field hasAggregation is set (has been assigned a value) and false otherwise
-
setHasAggregationIsSet
public void setHasAggregationIsSet(boolean value)
-
isHasGroup_by
public boolean isHasGroup_by()
-
setHasGroup_by
public void setHasGroup_by(boolean hasGroup_by)
-
unsetHasGroup_by
public void unsetHasGroup_by()
-
isSetHasGroup_by
public boolean isSetHasGroup_by()
Returns true if field hasGroup_by is set (has been assigned a value) and false otherwise
-
setHasGroup_byIsSet
public void setHasGroup_byIsSet(boolean value)
-
isHasHaving
public boolean isHasHaving()
-
setHasHaving
public void setHasHaving(boolean hasHaving)
-
unsetHasHaving
public void unsetHasHaving()
-
isSetHasHaving
public boolean isSetHasHaving()
Returns true if field hasHaving is set (has been assigned a value) and false otherwise
-
setHasHavingIsSet
public void setHasHavingIsSet(boolean value)
-
setFieldValue
public void setFieldValue(QueryType._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<QueryType,QueryType._Fields>
-
getFieldValue
public Object getFieldValue(QueryType._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<QueryType,QueryType._Fields>
-
isSet
public boolean isSet(QueryType._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<QueryType,QueryType._Fields>
-
equals
public boolean equals(QueryType that)
-
compareTo
public int compareTo(QueryType other)
- Specified by:
compareToin interfaceComparable<QueryType>
-
fieldForId
public QueryType._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<QueryType,QueryType._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
-
-