Package org.apache.druid.query
Class FluentQueryRunner<T>
java.lang.Object
org.apache.druid.query.FluentQueryRunner<T>
- All Implemented Interfaces:
QueryRunner<T>
-
Constructor Summary
ConstructorsConstructorDescriptionFluentQueryRunner(QueryRunner<T> runner, QueryToolChest<T, Query<T>> toolChest) -
Method Summary
Modifier and TypeMethodDescriptionstatic <K,J extends Query<K>>
FluentQueryRunner<K> create(QueryRunner<K> runner, QueryToolChest<K, J> toolchest) emitCPUTimeMetric(ServiceEmitter emitter) emitCPUTimeMetric(ServiceEmitter emitter, AtomicLong accumulator) from(QueryRunner<T> runner) map(Function<QueryRunner<T>, QueryRunner<T>> mapFn) mergeResults(boolean willMergeRunner) Delegates toQueryToolChest.mergeResults(QueryRunner, boolean).postProcess(PostProcessingOperator<T> postProcessing) run(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
-
FluentQueryRunner
-
-
Method Details
-
create
public static <K,J extends Query<K>> FluentQueryRunner<K> create(QueryRunner<K> runner, QueryToolChest<K, J> toolchest) -
run
Description copied from interface:QueryRunnerRuns the given query and returns results in a time-ordered sequence.- Specified by:
runin interfaceQueryRunner<T>
-
from
-
applyPostMergeDecoration
-
applyPreMergeDecoration
-
emitCPUTimeMetric
-
emitCPUTimeMetric
-
postProcess
-
mergeResults
Delegates toQueryToolChest.mergeResults(QueryRunner, boolean).- See Also:
-
map
-