| Modifier and Type | Class and Description |
|---|---|
class |
BySegmentQueryRunner<T>
Query runner that wraps a base single-segment query runner, and wraps its results in a
BySegmentResultValueClass object if the "bySegment" query context parameter is set. |
class |
BySegmentSkippingQueryRunner<T> |
class |
ChainedExecutionQueryRunner<T>
A QueryRunner that combines a list of other QueryRunners and executes them in parallel on an executor.
|
class |
ConcatQueryRunner<T> |
class |
CPUTimeMetricQueryRunner<T> |
class |
FinalizeResultsQueryRunner<T>
Query runner that applies
QueryToolChest.makePostComputeManipulatorFn(Query, MetricManipulationFn) to the
result stream. |
class |
FluentQueryRunnerBuilder.FluentQueryRunner |
class |
GroupByMergedQueryRunner<T> |
class |
MetricsEmittingQueryRunner<T> |
class |
NoopQueryRunner<T> |
class |
PerSegmentOptimizingQueryRunner<T>
This runner optimizes queries made on a single segment, using per-segment information,
before submitting the queries to the base runner.
|
class |
ReferenceCountingSegmentQueryRunner<T> |
class |
ReportTimelineMissingSegmentQueryRunner<T> |
class |
ResultMergeQueryRunner<T> |
class |
SubqueryQueryRunner<T>
If there's a subquery, run it instead of the outer query
|
class |
UnionQueryRunner<T> |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<T> |
QueryRunnerFactory.createRunner(Segment segment)
Given a specific segment, this method will create a
QueryRunner. |
<T> QueryRunner<T> |
QuerySegmentWalker.getQueryRunnerForIntervals(Query<T> query,
Iterable<org.joda.time.Interval> intervals)
Gets the Queryable for a given interval, the Queryable returned can be any version(s) or partitionNumber(s)
such that it represents the interval.
|
<T> QueryRunner<T> |
QuerySegmentWalker.getQueryRunnerForSegments(Query<T> query,
Iterable<SegmentDescriptor> specs)
Gets the Queryable for a given list of SegmentDescriptors.
|
QueryRunner<V> |
AbstractPrioritizedQueryRunnerCallable.getRunner() |
QueryRunner<V> |
PrioritizedQueryRunnerCallable.getRunner()
This method can be used by the extensions to get the runner that the given query execution task corresponds to.
|
QueryRunner<T> |
Query.getRunner(QuerySegmentWalker walker) |
QueryRunner<T> |
BaseQuery.getRunner(QuerySegmentWalker walker) |
static <T> QueryRunner<T> |
QueryRunnerHelper.makeClosingQueryRunner(QueryRunner<T> runner,
Closeable closeable) |
QueryRunner<ResultType> |
QueryToolChest.mergeResults(QueryRunner<ResultType> runner)
This method wraps a QueryRunner.
|
default QueryRunner<T> |
QueryRunnerFactory.mergeRunners(ExecutorService queryExecutor,
Iterable<QueryRunner<T>> queryRunners)
Deprecated.
Use
QueryRunnerFactory.mergeRunners(QueryProcessingPool, Iterable) instead.
Runners generated with createRunner() and combined into an Iterable in (time,shardId) order are passed
along to this method with an ExecutorService. The method should then return a QueryRunner that,
when asked, will use the ExecutorService to run the base QueryRunners in some fashion.
The vast majority of the time, this should be implemented with ChainedExecutionQueryRunner:
return new ChainedExecutionQueryRunner<>(queryExecutor, toolChest.getOrdering(), queryWatcher, queryRunners);
Which will allow for parallel execution up to the maximum number of processing threads allowed. |
QueryRunner<T> |
QueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<T>> queryRunners)
Runners generated with createRunner() and combined into an Iterable in (time,shardId) order are passed
along to this method with an
QueryProcessingPool. |
QueryRunner<ResultType> |
QueryToolChest.postMergeQueryDecoration(QueryRunner<ResultType> runner)
Wraps a QueryRunner.
|
QueryRunner<T> |
PostProcessingOperator.postProcess(QueryRunner<T> baseQueryRunner) |
QueryRunner<T> |
TimewarpOperator.postProcess(QueryRunner<T> baseQueryRunner) |
QueryRunner<T> |
TimewarpOperator.postProcess(QueryRunner<T> baseRunner,
long now) |
QueryRunner<ResultType> |
QueryToolChest.preMergeQueryDecoration(QueryRunner<ResultType> runner)
Wraps a QueryRunner.
|
static <T> QueryRunner<T> |
CPUTimeMetricQueryRunner.safeBuild(QueryRunner<T> delegate,
QueryToolChest<T,? extends Query<T>> queryToolChest,
ServiceEmitter emitter,
AtomicLong accumulator,
boolean report) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<QueryRunner<T>> |
SinkQueryRunners.iterator() |
Iterator<Pair<org.joda.time.Interval,QueryRunner<T>>> |
SinkQueryRunners.runnerIntervalMappingIterator() |
| Modifier and Type | Method and Description |
|---|---|
FluentQueryRunnerBuilder.FluentQueryRunner |
FluentQueryRunnerBuilder.create(QueryRunner<T> baseRunner) |
Sequence<T> |
ResultMergeQueryRunner.doRun(QueryRunner<T> baseRunner,
QueryPlus<T> queryPlus,
ResponseContext context) |
protected abstract Sequence<T> |
BySegmentSkippingQueryRunner.doRun(QueryRunner<T> baseRunner,
QueryPlus<T> queryPlus,
ResponseContext context) |
FluentQueryRunnerBuilder.FluentQueryRunner |
FluentQueryRunnerBuilder.FluentQueryRunner.from(QueryRunner<T> runner) |
static <T> QueryRunner<T> |
QueryRunnerHelper.makeClosingQueryRunner(QueryRunner<T> runner,
Closeable closeable) |
QueryRunner<ResultType> |
QueryToolChest.mergeResults(QueryRunner<ResultType> runner)
This method wraps a QueryRunner.
|
QueryRunner<ResultType> |
QueryToolChest.postMergeQueryDecoration(QueryRunner<ResultType> runner)
Wraps a QueryRunner.
|
QueryRunner<T> |
PostProcessingOperator.postProcess(QueryRunner<T> baseQueryRunner) |
QueryRunner<T> |
TimewarpOperator.postProcess(QueryRunner<T> baseQueryRunner) |
QueryRunner<T> |
TimewarpOperator.postProcess(QueryRunner<T> baseRunner,
long now) |
QueryRunner<ResultType> |
QueryToolChest.preMergeQueryDecoration(QueryRunner<ResultType> runner)
Wraps a QueryRunner.
|
static <T> QueryRunner<T> |
CPUTimeMetricQueryRunner.safeBuild(QueryRunner<T> delegate,
QueryToolChest<T,? extends Query<T>> queryToolChest,
ServiceEmitter emitter,
AtomicLong accumulator,
boolean report) |
| Modifier and Type | Method and Description |
|---|---|
FluentQueryRunnerBuilder.FluentQueryRunner |
FluentQueryRunnerBuilder.FluentQueryRunner.map(Function<QueryRunner<T>,QueryRunner<T>> mapFn) |
FluentQueryRunnerBuilder.FluentQueryRunner |
FluentQueryRunnerBuilder.FluentQueryRunner.map(Function<QueryRunner<T>,QueryRunner<T>> mapFn) |
default QueryRunner<T> |
QueryRunnerFactory.mergeRunners(ExecutorService queryExecutor,
Iterable<QueryRunner<T>> queryRunners)
Deprecated.
Use
QueryRunnerFactory.mergeRunners(QueryProcessingPool, Iterable) instead.
Runners generated with createRunner() and combined into an Iterable in (time,shardId) order are passed
along to this method with an ExecutorService. The method should then return a QueryRunner that,
when asked, will use the ExecutorService to run the base QueryRunners in some fashion.
The vast majority of the time, this should be implemented with ChainedExecutionQueryRunner:
return new ChainedExecutionQueryRunner<>(queryExecutor, toolChest.getOrdering(), queryWatcher, queryRunners);
Which will allow for parallel execution up to the maximum number of processing threads allowed. |
QueryRunner<T> |
QueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<T>> queryRunners)
Runners generated with createRunner() and combined into an Iterable in (time,shardId) order are passed
along to this method with an
QueryProcessingPool. |
| Constructor and Description |
|---|
ChainedExecutionQueryRunner(QueryProcessingPool queryProcessingPool,
QueryWatcher queryWatcher,
Iterable<QueryRunner<T>> queryables) |
ConcatQueryRunner(Sequence<QueryRunner<T>> queryRunners) |
GroupByMergedQueryRunner(QueryProcessingPool queryProcessingPool,
com.google.common.base.Supplier<GroupByQueryConfig> configSupplier,
QueryWatcher queryWatcher,
Iterable<QueryRunner<T>> queryables) |
SinkQueryRunners(Iterable<Pair<org.joda.time.Interval,QueryRunner<T>>> runners) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<DataSourceMetadataResultValue>> |
DataSourceMetadataQueryRunnerFactory.createRunner(Segment segment) |
QueryRunner<Result<DataSourceMetadataResultValue>> |
DataSourceQueryQueryToolChest.mergeResults(QueryRunner<Result<DataSourceMetadataResultValue>> runner) |
QueryRunner<Result<DataSourceMetadataResultValue>> |
DataSourceMetadataQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<Result<DataSourceMetadataResultValue>>> queryRunners) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<DataSourceMetadataResultValue>> |
DataSourceQueryQueryToolChest.mergeResults(QueryRunner<Result<DataSourceMetadataResultValue>> runner) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<DataSourceMetadataResultValue>> |
DataSourceMetadataQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<Result<DataSourceMetadataResultValue>>> queryRunners) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<ResultRow> |
GroupByQueryRunnerFactory.createRunner(Segment segment) |
QueryRunner<ResultRow> |
GroupByQueryQueryToolChest.mergeResults(QueryRunner<ResultRow> runner) |
QueryRunner<ResultRow> |
GroupByQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<ResultRow>> queryRunners) |
QueryRunner<ResultRow> |
GroupByQueryQueryToolChest.preMergeQueryDecoration(QueryRunner<ResultRow> runner) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<ResultRow> |
GroupByQueryQueryToolChest.mergeResults(QueryRunner<ResultRow> runner) |
QueryRunner<ResultRow> |
GroupByQueryQueryToolChest.preMergeQueryDecoration(QueryRunner<ResultRow> runner) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<ResultRow> |
GroupByQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<ResultRow>> queryRunners) |
| Modifier and Type | Class and Description |
|---|---|
class |
GroupByMergingQueryRunnerV2
Class that knows how to merge a collection of groupBy
QueryRunner objects, called queryables,
using a buffer provided by mergeBufferPool and a parallel executor provided by exec. |
| Constructor and Description |
|---|
GroupByMergingQueryRunnerV2(GroupByQueryConfig config,
DruidProcessingConfig processingConfig,
QueryProcessingPool queryProcessingPool,
QueryWatcher queryWatcher,
Iterable<QueryRunner<ResultRow>> queryables,
int concurrencyHint,
BlockingPool<ByteBuffer> mergeBufferPool,
int mergeBufferSize,
com.fasterxml.jackson.databind.ObjectMapper spillMapper,
String processingTmpDir) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<ResultRow> |
GroupByStrategy.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<ResultRow>> queryRunners)
Merge a variety of single-segment query runners into a combined runner.
|
QueryRunner<ResultRow> |
GroupByStrategyV1.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<ResultRow>> queryRunners) |
QueryRunner<ResultRow> |
GroupByStrategyV2.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<ResultRow>> queryRunners) |
| Modifier and Type | Method and Description |
|---|---|
Sequence<ResultRow> |
GroupByStrategy.mergeResults(QueryRunner<ResultRow> baseRunner,
GroupByQuery query,
ResponseContext responseContext)
Runs a provided
QueryRunner on a provided GroupByQuery, which is assumed to return rows that are
properly sorted (by timestamp and dimensions) but not necessarily fully merged (that is, there may be adjacent
rows with the same timestamp and dimensions) and without PostAggregators computed. |
Sequence<ResultRow> |
GroupByStrategyV1.mergeResults(QueryRunner<ResultRow> baseRunner,
GroupByQuery query,
ResponseContext responseContext) |
Sequence<ResultRow> |
GroupByStrategyV2.mergeResults(QueryRunner<ResultRow> baseRunner,
GroupByQuery query,
ResponseContext responseContext) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<ResultRow> |
GroupByStrategy.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<ResultRow>> queryRunners)
Merge a variety of single-segment query runners into a combined runner.
|
QueryRunner<ResultRow> |
GroupByStrategyV1.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<ResultRow>> queryRunners) |
QueryRunner<ResultRow> |
GroupByStrategyV2.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<ResultRow>> queryRunners) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<SegmentAnalysis> |
SegmentMetadataQueryRunnerFactory.createRunner(Segment segment) |
QueryRunner<SegmentAnalysis> |
SegmentMetadataQueryQueryToolChest.mergeResults(QueryRunner<SegmentAnalysis> runner) |
QueryRunner<SegmentAnalysis> |
SegmentMetadataQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<SegmentAnalysis>> queryRunners) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<SegmentAnalysis> |
SegmentMetadataQueryQueryToolChest.mergeResults(QueryRunner<SegmentAnalysis> runner) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<SegmentAnalysis> |
SegmentMetadataQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<SegmentAnalysis>> queryRunners) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<ScanResultValue> |
ScanQueryRunnerFactory.createRunner(Segment segment) |
QueryRunner<ScanResultValue> |
ScanQueryQueryToolChest.mergeResults(QueryRunner<ScanResultValue> runner) |
QueryRunner<ScanResultValue> |
ScanQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<ScanResultValue>> queryRunners) |
QueryRunner<ScanResultValue> |
ScanQueryQueryToolChest.preMergeQueryDecoration(QueryRunner<ScanResultValue> runner) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<ScanResultValue> |
ScanQueryQueryToolChest.mergeResults(QueryRunner<ScanResultValue> runner) |
QueryRunner<ScanResultValue> |
ScanQueryQueryToolChest.preMergeQueryDecoration(QueryRunner<ScanResultValue> runner) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<ScanResultValue> |
ScanQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<ScanResultValue>> queryRunners) |
| Modifier and Type | Class and Description |
|---|---|
class |
SearchQueryRunner |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<SearchResultValue>> |
SearchQueryRunnerFactory.createRunner(Segment segment) |
QueryRunner<Result<SearchResultValue>> |
SearchQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<Result<SearchResultValue>>> queryRunners) |
QueryRunner<Result<SearchResultValue>> |
SearchQueryQueryToolChest.preMergeQueryDecoration(QueryRunner<Result<SearchResultValue>> runner) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<SearchResultValue>> |
SearchQueryQueryToolChest.preMergeQueryDecoration(QueryRunner<Result<SearchResultValue>> runner) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<SearchResultValue>> |
SearchQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<Result<SearchResultValue>>> queryRunners) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Object> |
SelectQuery.getRunner(QuerySegmentWalker walker)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SpecificSegmentQueryRunner<T> |
| Modifier and Type | Method and Description |
|---|---|
<T> QueryRunner<T> |
SpecificSegmentSpec.lookup(Query<T> query,
QuerySegmentWalker walker) |
<T> QueryRunner<T> |
MultipleIntervalSegmentSpec.lookup(Query<T> query,
QuerySegmentWalker walker) |
<T> QueryRunner<T> |
MultipleSpecificSegmentSpec.lookup(Query<T> query,
QuerySegmentWalker walker) |
<T> QueryRunner<T> |
QuerySegmentSpec.lookup(Query<T> query,
QuerySegmentWalker walker) |
| Constructor and Description |
|---|
SpecificSegmentQueryRunner(QueryRunner<T> base,
SpecificSegmentSpec specificSpec) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<TimeBoundaryResultValue>> |
TimeBoundaryQueryRunnerFactory.createRunner(Segment segment) |
QueryRunner<Result<TimeBoundaryResultValue>> |
TimeBoundaryQueryQueryToolChest.mergeResults(QueryRunner<Result<TimeBoundaryResultValue>> runner) |
QueryRunner<Result<TimeBoundaryResultValue>> |
TimeBoundaryQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<Result<TimeBoundaryResultValue>>> queryRunners) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<TimeBoundaryResultValue>> |
TimeBoundaryQueryQueryToolChest.mergeResults(QueryRunner<Result<TimeBoundaryResultValue>> runner) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<TimeBoundaryResultValue>> |
TimeBoundaryQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<Result<TimeBoundaryResultValue>>> queryRunners) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<TimeseriesResultValue>> |
TimeseriesQueryRunnerFactory.createRunner(Segment segment) |
QueryRunner<Result<TimeseriesResultValue>> |
TimeseriesQueryQueryToolChest.mergeResults(QueryRunner<Result<TimeseriesResultValue>> queryRunner) |
QueryRunner<Result<TimeseriesResultValue>> |
TimeseriesQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<Result<TimeseriesResultValue>>> queryRunners) |
QueryRunner<Result<TimeseriesResultValue>> |
TimeseriesQueryQueryToolChest.preMergeQueryDecoration(QueryRunner<Result<TimeseriesResultValue>> runner) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<TimeseriesResultValue>> |
TimeseriesQueryQueryToolChest.mergeResults(QueryRunner<Result<TimeseriesResultValue>> queryRunner) |
QueryRunner<Result<TimeseriesResultValue>> |
TimeseriesQueryQueryToolChest.preMergeQueryDecoration(QueryRunner<Result<TimeseriesResultValue>> runner) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<TimeseriesResultValue>> |
TimeseriesQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<Result<TimeseriesResultValue>>> queryRunners) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<TopNResultValue>> |
TopNQueryRunnerFactory.createRunner(Segment segment) |
QueryRunner<Result<TopNResultValue>> |
TopNQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<Result<TopNResultValue>>> queryRunners) |
QueryRunner<Result<TopNResultValue>> |
TopNQueryQueryToolChest.postMergeQueryDecoration(QueryRunner<Result<TopNResultValue>> runner) |
QueryRunner<Result<TopNResultValue>> |
TopNQueryQueryToolChest.preMergeQueryDecoration(QueryRunner<Result<TopNResultValue>> runner) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<TopNResultValue>> |
TopNQueryQueryToolChest.postMergeQueryDecoration(QueryRunner<Result<TopNResultValue>> runner) |
QueryRunner<Result<TopNResultValue>> |
TopNQueryQueryToolChest.preMergeQueryDecoration(QueryRunner<Result<TopNResultValue>> runner) |
| Modifier and Type | Method and Description |
|---|---|
QueryRunner<Result<TopNResultValue>> |
TopNQueryRunnerFactory.mergeRunners(QueryProcessingPool queryProcessingPool,
Iterable<QueryRunner<Result<TopNResultValue>>> queryRunners) |
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.