Interface TimeseriesQueryMetrics
- All Superinterfaces:
QueryMetrics<TimeseriesQuery>
- All Known Implementing Classes:
DefaultTimeseriesQueryMetrics
Specialization of
QueryMetrics for TimeseriesQuery.-
Method Summary
Modifier and TypeMethodDescriptionvoidgranularity(TimeseriesQuery query) Sets the granularity ofBaseQuery.getGranularity()of the given query as dimension.voidlimit(TimeseriesQuery query) SetsTimeseriesQuery.getLimit()of the given query as dimension.voidnumComplexMetrics(TimeseriesQuery query) Sets the number of "complex" metrics of the given timeseries query as dimension.voidnumMetrics(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, filterBundle, hasFilters, identity, interval, makeBitmapResultFactory, parallelMergeParallelism, postFilters, preFilters, projection, query, queryId, queryId, queryType, remoteAddress, reportBackPressureTime, reportBitmapConstructionTime, reportCpuTime, reportNodeBytes, reportNodeTime, reportNodeTimeToFirstByte, reportParallelMergeFastestPartitionTime, reportParallelMergeInputRows, reportParallelMergeInputSequences, reportParallelMergeOutputRows, reportParallelMergeParallelism, reportParallelMergeSlowestPartitionTime, reportParallelMergeTaskCount, reportParallelMergeTotalCpuTime, reportParallelMergeTotalTime, reportPreFilteredRows, reportQueriedSegmentCount, reportQueryBytes, reportQueryTime, reportResultCachePoll, reportSegmentAndCacheTime, reportSegmentOnDemandLoadBytes, reportSegmentOnDemandLoadCount, reportSegmentOnDemandLoadTime, reportSegmentOnDemandLoadTimeAvg, reportSegmentOnDemandLoadTimeMax, reportSegmentOnDemandLoadWaitTimeAvg, reportSegmentOnDemandLoadWaitTimeMax, reportSegmentRows, reportSegmentTime, reportWaitTime, segment, server, sqlQueryId, sqlQueryId, status, statusCode, subQueryId, success, vectorized
-
Method Details
-
limit
SetsTimeseriesQuery.getLimit()of the given query as dimension. -
numMetrics
Sets the number of metrics of the given timeseries query as dimension. -
numComplexMetrics
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
Sets the granularity ofBaseQuery.getGranularity()of the given query as dimension.
-