Package org.apache.druid.query.groupby
Interface GroupByQueryMetrics
-
- All Superinterfaces:
QueryMetrics<GroupByQuery>
- All Known Implementing Classes:
DefaultGroupByQueryMetrics
public interface GroupByQueryMetrics extends QueryMetrics<GroupByQuery>
Specialization ofQueryMetrics
forGroupByQuery
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
granularity(GroupByQuery query)
Sets the granularity ofBaseQuery.getGranularity()
of the given query as dimension.void
numComplexMetrics(GroupByQuery query)
Sets the number of "complex" metrics of the given groupBy query as dimension.void
numDimensions(GroupByQuery query)
Sets the size ofGroupByQuery.getDimensions()
of the given query as dimension.void
numMetrics(GroupByQuery query)
Sets the number of metrics of the given groupBy query as dimension.-
Methods inherited from interface org.apache.druid.query.QueryMetrics
context, dataSource, duration, emit, hasFilters, identity, interval, makeBitmapResultFactory, parallelMergeParallelism, postFilters, preFilters, query, queryId, queryId, queryType, remoteAddress, reportBackPressureTime, reportBitmapConstructionTime, reportCpuTime, reportNodeBytes, reportNodeTime, reportNodeTimeToFirstByte, reportParallelMergeFastestPartitionTime, reportParallelMergeInputRows, reportParallelMergeInputSequences, reportParallelMergeOutputRows, reportParallelMergeParallelism, reportParallelMergeSlowestPartitionTime, reportParallelMergeTaskCount, reportParallelMergeTotalCpuTime, reportParallelMergeTotalTime, reportPreFilteredRows, reportQueriedSegmentCount, reportQueryBytes, reportQueryTime, reportSegmentAndCacheTime, reportSegmentRows, reportSegmentTime, reportWaitTime, segment, server, sqlQueryId, sqlQueryId, status, subQueryId, success, vectorized
-
-
-
-
Method Detail
-
numDimensions
void numDimensions(GroupByQuery query)
Sets the size ofGroupByQuery.getDimensions()
of the given query as dimension.
-
numMetrics
void numMetrics(GroupByQuery query)
Sets the number of metrics of the given groupBy query as dimension.
-
numComplexMetrics
void numComplexMetrics(GroupByQuery query)
Sets the number of "complex" metrics of the given groupBy query as dimension. By default it is assumed that "complex" metric is a metric of not long or double type, but it could be redefined in the implementation of this method.
-
granularity
void granularity(GroupByQuery query)
Sets the granularity ofBaseQuery.getGranularity()
of the given query as dimension.
-
-