Uses of Interface
org.apache.druid.query.topn.TopNQueryMetrics
Packages that use TopNQueryMetrics
-
Uses of TopNQueryMetrics in org.apache.druid.query.topn
Classes in org.apache.druid.query.topn that implement TopNQueryMetricsMethods in org.apache.druid.query.topn that return TopNQueryMetricsModifier and TypeMethodDescriptionDefaultTopNQueryMetrics.addProcessedRows(long numRows) TopNQueryMetrics.addProcessedRows(long numRows) Called with the number of rows, processed via each cursor, processed for the query within the segment.DefaultTopNQueryMetricsFactory.makeMetrics()TopNQueryMetricsFactory.makeMetrics()TopNQueryQueryToolChest.makeMetrics(TopNQuery query) DefaultTopNQueryMetrics.stopRecordingScanTime()TopNQueryMetrics.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 TopNQueryMetricsModifier and TypeMethodDescriptionTopNMapFn.apply(Cursor cursor, ColumnSelectorPlus<TopNColumnAggregatesProcessor<?>> selectorPlus, CursorGranularizer granularizer, TopNQueryMetrics queryMetrics) TopNQueryEngine.query(TopNQuery query, Segment segment, TopNQueryMetrics queryMetrics) Do the thing - process aSegmentinto 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)