Package org.apache.druid.query
Class MetricsEmittingQueryRunner<T>
java.lang.Object
org.apache.druid.query.MetricsEmittingQueryRunner<T>
- All Implemented Interfaces:
QueryRunner<T>
-
Constructor Summary
ConstructorsConstructorDescriptionMetricsEmittingQueryRunner(ServiceEmitter emitter, QueryToolChest<T, ? extends Query<T>> queryToolChest, QueryRunner<T> queryRunner, ObjLongConsumer<? super QueryMetrics<?>> reportMetric, Consumer<QueryMetrics<?>> applyCustomDimensions) -
Method Summary
Modifier and TypeMethodDescriptionrun(QueryPlus<T> queryPlus, ResponseContext responseContext) Runs the given query and returns results in a time-ordered sequence.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.query.QueryRunner
run
-
Constructor Details
-
MetricsEmittingQueryRunner
public MetricsEmittingQueryRunner(ServiceEmitter emitter, QueryToolChest<T, ? extends Query<T>> queryToolChest, QueryRunner<T> queryRunner, ObjLongConsumer<? super QueryMetrics<?>> reportMetric, Consumer<QueryMetrics<?>> applyCustomDimensions)
-
-
Method Details
-
withWaitMeasuredFromNow
-
run
Description copied from interface:QueryRunnerRuns the given query and returns results in a time-ordered sequence.- Specified by:
runin interfaceQueryRunner<T>
-