Uses of Interface
org.apache.druid.query.topn.TopNQueryMetrics
-
Packages that use TopNQueryMetrics Package Description org.apache.druid.query.topn -
-
Uses of TopNQueryMetrics in org.apache.druid.query.topn
Classes in org.apache.druid.query.topn that implement TopNQueryMetrics Modifier and Type Class Description classDefaultTopNQueryMetricsMethods in org.apache.druid.query.topn that return TopNQueryMetrics Modifier and Type Method Description TopNQueryMetricsDefaultTopNQueryMetrics. addProcessedRows(long numRows)TopNQueryMetricsTopNQueryMetrics. addProcessedRows(long numRows)Called with the number of rows, processed via each cursor, processed for the query within the segment.TopNQueryMetricsDefaultTopNQueryMetricsFactory. makeMetrics()TopNQueryMetricsTopNQueryMetricsFactory. makeMetrics()TopNQueryMetricsTopNQueryQueryToolChest. makeMetrics(TopNQuery query)TopNQueryMetricsDefaultTopNQueryMetrics. stopRecordingScanTime()TopNQueryMetricsTopNQueryMetrics. stopRecordingScanTime()Calls ofstartRecordingScanTime()and this method wrap scanning of each cursor, processed for the query.Methods in org.apache.druid.query.topn with parameters of type TopNQueryMetrics Modifier and Type Method Description Result<TopNResultValue>TopNMapFn. apply(Cursor cursor, TopNQueryMetrics queryMetrics)Sequence<Result<TopNResultValue>>TopNQueryEngine. query(TopNQuery query, StorageAdapter adapter, TopNQueryMetrics queryMetrics)Do the thing - process aStorageAdapterinto aSequenceofTopNResultValue, with one of the fineTopNAlgorithmavailable chosen based on the type of column being aggregated.voidAggregateTopNMetricFirstAlgorithm. run(TopNParams params, TopNResultBuilder resultBuilder, int[] ints, TopNQueryMetrics queryMetrics)voidBaseTopNAlgorithm. run(Parameters params, TopNResultBuilder resultBuilder, DimValSelector dimValSelector, TopNQueryMetrics queryMetrics)voidTopNAlgorithm. run(Parameters params, TopNResultBuilder resultBuilder, DimValSelector dimValSelector, TopNQueryMetrics queryMetrics)
-