Interface TimeseriesQueryMetrics
-
- All Superinterfaces:
QueryMetrics<TimeseriesQuery>
- All Known Implementing Classes:
DefaultTimeseriesQueryMetrics
public interface TimeseriesQueryMetrics extends QueryMetrics<TimeseriesQuery>
Specialization ofQueryMetrics
forTimeseriesQuery
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
granularity(TimeseriesQuery query)
Sets the granularity ofBaseQuery.getGranularity()
of the given query as dimension.void
limit(TimeseriesQuery query)
SetsTimeseriesQuery.getLimit()
of the given query as dimension.void
numComplexMetrics(TimeseriesQuery query)
Sets the number of "complex" metrics of the given timeseries query as dimension.void
numMetrics(TimeseriesQuery query)
Sets the number of metrics of the given timeseries 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
-
limit
void limit(TimeseriesQuery query)
SetsTimeseriesQuery.getLimit()
of the given query as dimension.
-
numMetrics
void numMetrics(TimeseriesQuery query)
Sets the number of metrics of the given timeseries query as dimension.
-
numComplexMetrics
void numComplexMetrics(TimeseriesQuery query)
Sets the number of "complex" metrics of the given timeseries 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(TimeseriesQuery query)
Sets the granularity ofBaseQuery.getGranularity()
of the given query as dimension.
-
-