Package org.apache.pinot.common.request
Class BrokerRequest
- java.lang.Object
-
- org.apache.pinot.common.request.BrokerRequest
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<BrokerRequest>,org.apache.thrift.TBase<BrokerRequest,BrokerRequest._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.13.0)", date="2021-09-28") public class BrokerRequest extends Object implements org.apache.thrift.TBase<BrokerRequest,BrokerRequest._Fields>, Serializable, Cloneable, Comparable<BrokerRequest>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBrokerRequest._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<BrokerRequest._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description BrokerRequest()BrokerRequest(BrokerRequest other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToAggregationsInfo(AggregationInfo elem)voidaddToOrderBy(SelectionSort elem)voidclear()intcompareTo(BrokerRequest other)BrokerRequestdeepCopy()booleanequals(Object that)booleanequals(BrokerRequest that)BrokerRequest._FieldsfieldForId(int fieldId)List<AggregationInfo>getAggregationsInfo()Iterator<AggregationInfo>getAggregationsInfoIterator()intgetAggregationsInfoSize()StringgetBucketHashKey()Map<String,String>getDebugOptions()intgetDebugOptionsSize()StringgetDuration()ObjectgetFieldValue(BrokerRequest._Fields field)FilterQuerygetFilterQuery()FilterQueryMapgetFilterSubQueryMap()GroupBygetGroupBy()HavingFilterQuerygetHavingFilterQuery()HavingFilterQueryMapgetHavingFilterSubQueryMap()intgetLimit()List<SelectionSort>getOrderBy()Iterator<SelectionSort>getOrderByIterator()intgetOrderBySize()PinotQuerygetPinotQuery()Map<String,String>getQueryOptions()intgetQueryOptionsSize()QuerySourcegetQuerySource()QueryTypegetQueryType()StringgetResponseFormat()SelectiongetSelections()StringgetTimeInterval()inthashCode()booleanisEnableTrace()booleanisSet(BrokerRequest._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAggregationsInfo()Returns true if field aggregationsInfo is set (has been assigned a value) and false otherwisebooleanisSetBucketHashKey()Returns true if field bucketHashKey is set (has been assigned a value) and false otherwisebooleanisSetDebugOptions()Returns true if field debugOptions is set (has been assigned a value) and false otherwisebooleanisSetDuration()Returns true if field duration is set (has been assigned a value) and false otherwisebooleanisSetEnableTrace()Returns true if field enableTrace is set (has been assigned a value) and false otherwisebooleanisSetFilterQuery()Returns true if field filterQuery is set (has been assigned a value) and false otherwisebooleanisSetFilterSubQueryMap()Returns true if field filterSubQueryMap is set (has been assigned a value) and false otherwisebooleanisSetGroupBy()Returns true if field groupBy is set (has been assigned a value) and false otherwisebooleanisSetHavingFilterQuery()Returns true if field havingFilterQuery is set (has been assigned a value) and false otherwisebooleanisSetHavingFilterSubQueryMap()Returns true if field havingFilterSubQueryMap is set (has been assigned a value) and false otherwisebooleanisSetLimit()Returns true if field limit is set (has been assigned a value) and false otherwisebooleanisSetOrderBy()Returns true if field orderBy is set (has been assigned a value) and false otherwisebooleanisSetPinotQuery()Returns true if field pinotQuery is set (has been assigned a value) and false otherwisebooleanisSetQueryOptions()Returns true if field queryOptions is set (has been assigned a value) and false otherwisebooleanisSetQuerySource()Returns true if field querySource is set (has been assigned a value) and false otherwisebooleanisSetQueryType()Returns true if field queryType is set (has been assigned a value) and false otherwisebooleanisSetResponseFormat()Returns true if field responseFormat is set (has been assigned a value) and false otherwisebooleanisSetSelections()Returns true if field selections is set (has been assigned a value) and false otherwisebooleanisSetTimeInterval()Returns true if field timeInterval is set (has been assigned a value) and false otherwisevoidputToDebugOptions(String key, String val)voidputToQueryOptions(String key, String val)voidread(org.apache.thrift.protocol.TProtocol iprot)voidsetAggregationsInfo(List<AggregationInfo> aggregationsInfo)voidsetAggregationsInfoIsSet(boolean value)voidsetBucketHashKey(String bucketHashKey)voidsetBucketHashKeyIsSet(boolean value)voidsetDebugOptions(Map<String,String> debugOptions)voidsetDebugOptionsIsSet(boolean value)voidsetDuration(String duration)voidsetDurationIsSet(boolean value)voidsetEnableTrace(boolean enableTrace)voidsetEnableTraceIsSet(boolean value)voidsetFieldValue(BrokerRequest._Fields field, Object value)voidsetFilterQuery(FilterQuery filterQuery)voidsetFilterQueryIsSet(boolean value)voidsetFilterSubQueryMap(FilterQueryMap filterSubQueryMap)voidsetFilterSubQueryMapIsSet(boolean value)voidsetGroupBy(GroupBy groupBy)voidsetGroupByIsSet(boolean value)voidsetHavingFilterQuery(HavingFilterQuery havingFilterQuery)voidsetHavingFilterQueryIsSet(boolean value)voidsetHavingFilterSubQueryMap(HavingFilterQueryMap havingFilterSubQueryMap)voidsetHavingFilterSubQueryMapIsSet(boolean value)voidsetLimit(int limit)voidsetLimitIsSet(boolean value)voidsetOrderBy(List<SelectionSort> orderBy)voidsetOrderByIsSet(boolean value)voidsetPinotQuery(PinotQuery pinotQuery)voidsetPinotQueryIsSet(boolean value)voidsetQueryOptions(Map<String,String> queryOptions)voidsetQueryOptionsIsSet(boolean value)voidsetQuerySource(QuerySource querySource)voidsetQuerySourceIsSet(boolean value)voidsetQueryType(QueryType queryType)voidsetQueryTypeIsSet(boolean value)voidsetResponseFormat(String responseFormat)voidsetResponseFormatIsSet(boolean value)voidsetSelections(Selection selections)voidsetSelectionsIsSet(boolean value)voidsetTimeInterval(String timeInterval)voidsetTimeIntervalIsSet(boolean value)StringtoString()voidunsetAggregationsInfo()voidunsetBucketHashKey()voidunsetDebugOptions()voidunsetDuration()voidunsetEnableTrace()voidunsetFilterQuery()voidunsetFilterSubQueryMap()voidunsetGroupBy()voidunsetHavingFilterQuery()voidunsetHavingFilterSubQueryMap()voidunsetLimit()voidunsetOrderBy()voidunsetPinotQuery()voidunsetQueryOptions()voidunsetQuerySource()voidunsetQueryType()voidunsetResponseFormat()voidunsetSelections()voidunsetTimeInterval()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<BrokerRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
BrokerRequest
public BrokerRequest()
-
BrokerRequest
public BrokerRequest(BrokerRequest other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public BrokerRequest deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<BrokerRequest,BrokerRequest._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<BrokerRequest,BrokerRequest._Fields>
-
getQueryType
public QueryType getQueryType()
-
setQueryType
public void setQueryType(QueryType queryType)
-
unsetQueryType
public void unsetQueryType()
-
isSetQueryType
public boolean isSetQueryType()
Returns true if field queryType is set (has been assigned a value) and false otherwise
-
setQueryTypeIsSet
public void setQueryTypeIsSet(boolean value)
-
getQuerySource
public QuerySource getQuerySource()
-
setQuerySource
public void setQuerySource(QuerySource querySource)
-
unsetQuerySource
public void unsetQuerySource()
-
isSetQuerySource
public boolean isSetQuerySource()
Returns true if field querySource is set (has been assigned a value) and false otherwise
-
setQuerySourceIsSet
public void setQuerySourceIsSet(boolean value)
-
getTimeInterval
public String getTimeInterval()
-
setTimeInterval
public void setTimeInterval(String timeInterval)
-
unsetTimeInterval
public void unsetTimeInterval()
-
isSetTimeInterval
public boolean isSetTimeInterval()
Returns true if field timeInterval is set (has been assigned a value) and false otherwise
-
setTimeIntervalIsSet
public void setTimeIntervalIsSet(boolean value)
-
getDuration
public String getDuration()
-
setDuration
public void setDuration(String duration)
-
unsetDuration
public void unsetDuration()
-
isSetDuration
public boolean isSetDuration()
Returns true if field duration is set (has been assigned a value) and false otherwise
-
setDurationIsSet
public void setDurationIsSet(boolean value)
-
getFilterQuery
public FilterQuery getFilterQuery()
-
setFilterQuery
public void setFilterQuery(FilterQuery filterQuery)
-
unsetFilterQuery
public void unsetFilterQuery()
-
isSetFilterQuery
public boolean isSetFilterQuery()
Returns true if field filterQuery is set (has been assigned a value) and false otherwise
-
setFilterQueryIsSet
public void setFilterQueryIsSet(boolean value)
-
getAggregationsInfoSize
public int getAggregationsInfoSize()
-
getAggregationsInfoIterator
public Iterator<AggregationInfo> getAggregationsInfoIterator()
-
addToAggregationsInfo
public void addToAggregationsInfo(AggregationInfo elem)
-
getAggregationsInfo
public List<AggregationInfo> getAggregationsInfo()
-
setAggregationsInfo
public void setAggregationsInfo(List<AggregationInfo> aggregationsInfo)
-
unsetAggregationsInfo
public void unsetAggregationsInfo()
-
isSetAggregationsInfo
public boolean isSetAggregationsInfo()
Returns true if field aggregationsInfo is set (has been assigned a value) and false otherwise
-
setAggregationsInfoIsSet
public void setAggregationsInfoIsSet(boolean value)
-
getGroupBy
public GroupBy getGroupBy()
-
setGroupBy
public void setGroupBy(GroupBy groupBy)
-
unsetGroupBy
public void unsetGroupBy()
-
isSetGroupBy
public boolean isSetGroupBy()
Returns true if field groupBy is set (has been assigned a value) and false otherwise
-
setGroupByIsSet
public void setGroupByIsSet(boolean value)
-
getSelections
public Selection getSelections()
-
setSelections
public void setSelections(Selection selections)
-
unsetSelections
public void unsetSelections()
-
isSetSelections
public boolean isSetSelections()
Returns true if field selections is set (has been assigned a value) and false otherwise
-
setSelectionsIsSet
public void setSelectionsIsSet(boolean value)
-
getFilterSubQueryMap
public FilterQueryMap getFilterSubQueryMap()
-
setFilterSubQueryMap
public void setFilterSubQueryMap(FilterQueryMap filterSubQueryMap)
-
unsetFilterSubQueryMap
public void unsetFilterSubQueryMap()
-
isSetFilterSubQueryMap
public boolean isSetFilterSubQueryMap()
Returns true if field filterSubQueryMap is set (has been assigned a value) and false otherwise
-
setFilterSubQueryMapIsSet
public void setFilterSubQueryMapIsSet(boolean value)
-
getBucketHashKey
public String getBucketHashKey()
-
setBucketHashKey
public void setBucketHashKey(String bucketHashKey)
-
unsetBucketHashKey
public void unsetBucketHashKey()
-
isSetBucketHashKey
public boolean isSetBucketHashKey()
Returns true if field bucketHashKey is set (has been assigned a value) and false otherwise
-
setBucketHashKeyIsSet
public void setBucketHashKeyIsSet(boolean value)
-
isEnableTrace
public boolean isEnableTrace()
-
setEnableTrace
public void setEnableTrace(boolean enableTrace)
-
unsetEnableTrace
public void unsetEnableTrace()
-
isSetEnableTrace
public boolean isSetEnableTrace()
Returns true if field enableTrace is set (has been assigned a value) and false otherwise
-
setEnableTraceIsSet
public void setEnableTraceIsSet(boolean value)
-
getResponseFormat
public String getResponseFormat()
-
setResponseFormat
public void setResponseFormat(String responseFormat)
-
unsetResponseFormat
public void unsetResponseFormat()
-
isSetResponseFormat
public boolean isSetResponseFormat()
Returns true if field responseFormat is set (has been assigned a value) and false otherwise
-
setResponseFormatIsSet
public void setResponseFormatIsSet(boolean value)
-
getDebugOptionsSize
public int getDebugOptionsSize()
-
unsetDebugOptions
public void unsetDebugOptions()
-
isSetDebugOptions
public boolean isSetDebugOptions()
Returns true if field debugOptions is set (has been assigned a value) and false otherwise
-
setDebugOptionsIsSet
public void setDebugOptionsIsSet(boolean value)
-
getQueryOptionsSize
public int getQueryOptionsSize()
-
unsetQueryOptions
public void unsetQueryOptions()
-
isSetQueryOptions
public boolean isSetQueryOptions()
Returns true if field queryOptions is set (has been assigned a value) and false otherwise
-
setQueryOptionsIsSet
public void setQueryOptionsIsSet(boolean value)
-
getHavingFilterQuery
public HavingFilterQuery getHavingFilterQuery()
-
setHavingFilterQuery
public void setHavingFilterQuery(HavingFilterQuery havingFilterQuery)
-
unsetHavingFilterQuery
public void unsetHavingFilterQuery()
-
isSetHavingFilterQuery
public boolean isSetHavingFilterQuery()
Returns true if field havingFilterQuery is set (has been assigned a value) and false otherwise
-
setHavingFilterQueryIsSet
public void setHavingFilterQueryIsSet(boolean value)
-
getHavingFilterSubQueryMap
public HavingFilterQueryMap getHavingFilterSubQueryMap()
-
setHavingFilterSubQueryMap
public void setHavingFilterSubQueryMap(HavingFilterQueryMap havingFilterSubQueryMap)
-
unsetHavingFilterSubQueryMap
public void unsetHavingFilterSubQueryMap()
-
isSetHavingFilterSubQueryMap
public boolean isSetHavingFilterSubQueryMap()
Returns true if field havingFilterSubQueryMap is set (has been assigned a value) and false otherwise
-
setHavingFilterSubQueryMapIsSet
public void setHavingFilterSubQueryMapIsSet(boolean value)
-
getPinotQuery
public PinotQuery getPinotQuery()
-
setPinotQuery
public void setPinotQuery(PinotQuery pinotQuery)
-
unsetPinotQuery
public void unsetPinotQuery()
-
isSetPinotQuery
public boolean isSetPinotQuery()
Returns true if field pinotQuery is set (has been assigned a value) and false otherwise
-
setPinotQueryIsSet
public void setPinotQueryIsSet(boolean value)
-
getOrderBySize
public int getOrderBySize()
-
getOrderByIterator
public Iterator<SelectionSort> getOrderByIterator()
-
addToOrderBy
public void addToOrderBy(SelectionSort elem)
-
getOrderBy
public List<SelectionSort> getOrderBy()
-
setOrderBy
public void setOrderBy(List<SelectionSort> orderBy)
-
unsetOrderBy
public void unsetOrderBy()
-
isSetOrderBy
public boolean isSetOrderBy()
Returns true if field orderBy is set (has been assigned a value) and false otherwise
-
setOrderByIsSet
public void setOrderByIsSet(boolean value)
-
getLimit
public int getLimit()
-
setLimit
public void setLimit(int limit)
-
unsetLimit
public void unsetLimit()
-
isSetLimit
public boolean isSetLimit()
Returns true if field limit is set (has been assigned a value) and false otherwise
-
setLimitIsSet
public void setLimitIsSet(boolean value)
-
setFieldValue
public void setFieldValue(BrokerRequest._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<BrokerRequest,BrokerRequest._Fields>
-
getFieldValue
public Object getFieldValue(BrokerRequest._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<BrokerRequest,BrokerRequest._Fields>
-
isSet
public boolean isSet(BrokerRequest._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<BrokerRequest,BrokerRequest._Fields>
-
equals
public boolean equals(BrokerRequest that)
-
compareTo
public int compareTo(BrokerRequest other)
- Specified by:
compareToin interfaceComparable<BrokerRequest>
-
fieldForId
public BrokerRequest._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<BrokerRequest,BrokerRequest._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
-
-