Uses of Interface
org.apache.druid.query.QueryRunner
-
-
Uses of QueryRunner in org.apache.druid.query
Classes in org.apache.druid.query that implement QueryRunner Modifier and Type Class Description classBySegmentQueryRunner<T>Query runner that wraps a base single-segment query runner, and wraps its results in aBySegmentResultValueClassobject if the "bySegment" query context parameter is set.classBySegmentSkippingQueryRunner<T>classChainedExecutionQueryRunner<T>A QueryRunner that combines a list of other QueryRunners and executes them in parallel on an executor.classConcatQueryRunner<T>classCPUTimeMetricQueryRunner<T>classFinalizeResultsQueryRunner<T>Query runner that appliesQueryToolChest.makePostComputeManipulatorFn(Query, MetricManipulationFn)to the result stream.classFluentQueryRunner<T>classMetricsEmittingQueryRunner<T>classNoopQueryRunner<T>classPerSegmentOptimizingQueryRunner<T>This runner optimizes queries made on a single segment, using per-segment information, before submitting the queries to the base runner.classReferenceCountingSegmentQueryRunner<T>classReportTimelineMissingSegmentQueryRunner<T>classResultMergeQueryRunner<T>classSubqueryQueryRunner<T>If there's a subquery, run it instead of the outer queryclassUnionQueryRunner<T>Methods in org.apache.druid.query that return QueryRunner Modifier and Type Method Description QueryRunner<T>QueryRunnerFactory. createRunner(Segment segment)Given a specific segment, this method will create aQueryRunner.<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<T>BaseQuery. getRunner(QuerySegmentWalker walker)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)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. mergeResults(QueryRunner<ResultType> runner, boolean willMergeRunner)LikeQueryToolChest.mergeResults(QueryRunner), but with an additional flag that indicates the type of runner that is passeed to the call.default QueryRunner<T>QueryRunnerFactory. mergeRunners(ExecutorService queryExecutor, Iterable<QueryRunner<T>> queryRunners)Deprecated.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 anQueryProcessingPool.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)QueryRunner<T>FluentQueryRunner. setToString(String toStringValue)Sets the toString of the QueryRunner.Methods in org.apache.druid.query that return types with arguments of type QueryRunner Modifier and Type Method Description Iterator<QueryRunner<T>>SinkQueryRunners. iterator()Iterator<Pair<org.joda.time.Interval,QueryRunner<T>>>SinkQueryRunners. runnerIntervalMappingIterator()Methods in org.apache.druid.query with parameters of type QueryRunner Modifier and Type Method Description static <K,J extends Query<K>>
FluentQueryRunner<K>FluentQueryRunner. create(QueryRunner<K> runner, QueryToolChest<K,J> toolchest)protected abstract Sequence<T>BySegmentSkippingQueryRunner. doRun(QueryRunner<T> baseRunner, QueryPlus<T> queryPlus, ResponseContext context)Sequence<T>ResultMergeQueryRunner. doRun(QueryRunner<T> baseRunner, QueryPlus<T> queryPlus, ResponseContext context)FluentQueryRunner<T>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. mergeResults(QueryRunner<ResultType> runner, boolean willMergeRunner)LikeQueryToolChest.mergeResults(QueryRunner), but with an additional flag that indicates the type of runner that is passeed to the call.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)Method parameters in org.apache.druid.query with type arguments of type QueryRunner Modifier and Type Method Description FluentQueryRunner<T>FluentQueryRunner. map(Function<QueryRunner<T>,QueryRunner<T>> mapFn)FluentQueryRunner<T>FluentQueryRunner. map(Function<QueryRunner<T>,QueryRunner<T>> mapFn)default QueryRunner<T>QueryRunnerFactory. mergeRunners(ExecutorService queryExecutor, Iterable<QueryRunner<T>> queryRunners)Deprecated.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 anQueryProcessingPool.Constructor parameters in org.apache.druid.query with type arguments of type QueryRunner Constructor Description ChainedExecutionQueryRunner(QueryProcessingPool queryProcessingPool, QueryWatcher queryWatcher, Iterable<QueryRunner<T>> queryables)ConcatQueryRunner(Sequence<QueryRunner<T>> queryRunners)SinkQueryRunners(Iterable<Pair<org.joda.time.Interval,QueryRunner<T>>> runners) -
Uses of QueryRunner in org.apache.druid.query.datasourcemetadata
Methods in org.apache.druid.query.datasourcemetadata that return QueryRunner Modifier and Type Method 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)Methods in org.apache.druid.query.datasourcemetadata with parameters of type QueryRunner Modifier and Type Method Description QueryRunner<Result<DataSourceMetadataResultValue>>DataSourceQueryQueryToolChest. mergeResults(QueryRunner<Result<DataSourceMetadataResultValue>> runner)Method parameters in org.apache.druid.query.datasourcemetadata with type arguments of type QueryRunner Modifier and Type Method Description QueryRunner<Result<DataSourceMetadataResultValue>>DataSourceMetadataQueryRunnerFactory. mergeRunners(QueryProcessingPool queryProcessingPool, Iterable<QueryRunner<Result<DataSourceMetadataResultValue>>> queryRunners) -
Uses of QueryRunner in org.apache.druid.query.groupby
Methods in org.apache.druid.query.groupby that return QueryRunner Modifier and Type Method Description QueryRunner<ResultRow>GroupByQueryRunnerFactory. createRunner(Segment segment)QueryRunner<ResultRow>GroupByQueryQueryToolChest. mergeResults(QueryRunner<ResultRow> runner)QueryRunner<ResultRow>GroupByQueryQueryToolChest. mergeResults(QueryRunner<ResultRow> runner, boolean willMergeRunner)QueryRunner<ResultRow>GroupByQueryRunnerFactory. mergeRunners(QueryProcessingPool queryProcessingPool, Iterable<QueryRunner<ResultRow>> queryRunners)QueryRunner<ResultRow>GroupingEngine. mergeRunners(QueryProcessingPool queryProcessingPool, Iterable<QueryRunner<ResultRow>> queryRunners)Merges a variety of single-segment query runners into a combined runner.QueryRunner<ResultRow>GroupByQueryQueryToolChest. preMergeQueryDecoration(QueryRunner<ResultRow> runner)Methods in org.apache.druid.query.groupby with parameters of type QueryRunner Modifier and Type Method Description QueryRunner<ResultRow>GroupByQueryQueryToolChest. mergeResults(QueryRunner<ResultRow> runner)QueryRunner<ResultRow>GroupByQueryQueryToolChest. mergeResults(QueryRunner<ResultRow> runner, boolean willMergeRunner)Sequence<ResultRow>GroupingEngine. mergeResults(QueryRunner<ResultRow> baseRunner, GroupByQuery query, ResponseContext responseContext)Runs a providedQueryRunneron a providedGroupByQuery, 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.QueryRunner<ResultRow>GroupByQueryQueryToolChest. preMergeQueryDecoration(QueryRunner<ResultRow> runner)Method parameters in org.apache.druid.query.groupby with type arguments of type QueryRunner Modifier and Type Method Description QueryRunner<ResultRow>GroupByQueryRunnerFactory. mergeRunners(QueryProcessingPool queryProcessingPool, Iterable<QueryRunner<ResultRow>> queryRunners)QueryRunner<ResultRow>GroupingEngine. mergeRunners(QueryProcessingPool queryProcessingPool, Iterable<QueryRunner<ResultRow>> queryRunners)Merges a variety of single-segment query runners into a combined runner. -
Uses of QueryRunner in org.apache.druid.query.groupby.epinephelinae
Classes in org.apache.druid.query.groupby.epinephelinae that implement QueryRunner Modifier and Type Class Description classGroupByMergingQueryRunnerClass that knows how to merge a collection of groupByQueryRunnerobjects, calledqueryables, using a buffer provided bymergeBufferPooland a parallel executor provided byexec.Constructor parameters in org.apache.druid.query.groupby.epinephelinae with type arguments of type QueryRunner Constructor Description GroupByMergingQueryRunner(GroupByQueryConfig config, DruidProcessingConfig processingConfig, QueryProcessingPool queryProcessingPool, QueryWatcher queryWatcher, Iterable<QueryRunner<ResultRow>> queryables, GroupByResourcesReservationPool groupByResourcesReservationPool, int concurrencyHint, int mergeBufferSize, com.fasterxml.jackson.databind.ObjectMapper spillMapper, String processingTmpDir) -
Uses of QueryRunner in org.apache.druid.query.metadata
Methods in org.apache.druid.query.metadata that return QueryRunner Modifier and Type Method Description QueryRunner<SegmentAnalysis>SegmentMetadataQueryRunnerFactory. createRunner(Segment segment)QueryRunner<SegmentAnalysis>SegmentMetadataQueryQueryToolChest. mergeResults(QueryRunner<SegmentAnalysis> runner)QueryRunner<SegmentAnalysis>SegmentMetadataQueryRunnerFactory. mergeRunners(QueryProcessingPool queryProcessingPool, Iterable<QueryRunner<SegmentAnalysis>> queryRunners)Methods in org.apache.druid.query.metadata with parameters of type QueryRunner Modifier and Type Method Description QueryRunner<SegmentAnalysis>SegmentMetadataQueryQueryToolChest. mergeResults(QueryRunner<SegmentAnalysis> runner)Method parameters in org.apache.druid.query.metadata with type arguments of type QueryRunner Modifier and Type Method Description QueryRunner<SegmentAnalysis>SegmentMetadataQueryRunnerFactory. mergeRunners(QueryProcessingPool queryProcessingPool, Iterable<QueryRunner<SegmentAnalysis>> queryRunners) -
Uses of QueryRunner in org.apache.druid.query.operator
Methods in org.apache.druid.query.operator that return QueryRunner Modifier and Type Method Description QueryRunner<RowsAndColumns>WindowOperatorQueryQueryRunnerFactory. createRunner(Segment segment)QueryRunner<RowsAndColumns>WindowOperatorQueryQueryToolChest. mergeResults(QueryRunner<RowsAndColumns> runner)QueryRunner<RowsAndColumns>WindowOperatorQueryQueryRunnerFactory. mergeRunners(QueryProcessingPool queryProcessingPool, Iterable<QueryRunner<RowsAndColumns>> queryRunners)Methods in org.apache.druid.query.operator with parameters of type QueryRunner Modifier and Type Method Description QueryRunner<RowsAndColumns>WindowOperatorQueryQueryToolChest. mergeResults(QueryRunner<RowsAndColumns> runner)Method parameters in org.apache.druid.query.operator with type arguments of type QueryRunner Modifier and Type Method Description QueryRunner<RowsAndColumns>WindowOperatorQueryQueryRunnerFactory. mergeRunners(QueryProcessingPool queryProcessingPool, Iterable<QueryRunner<RowsAndColumns>> queryRunners) -
Uses of QueryRunner in org.apache.druid.query.scan
Methods in org.apache.druid.query.scan that return QueryRunner Modifier and Type Method 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)Methods in org.apache.druid.query.scan with parameters of type QueryRunner Modifier and Type Method Description QueryRunner<ScanResultValue>ScanQueryQueryToolChest. mergeResults(QueryRunner<ScanResultValue> runner)QueryRunner<ScanResultValue>ScanQueryQueryToolChest. preMergeQueryDecoration(QueryRunner<ScanResultValue> runner)Method parameters in org.apache.druid.query.scan with type arguments of type QueryRunner Modifier and Type Method Description QueryRunner<ScanResultValue>ScanQueryRunnerFactory. mergeRunners(QueryProcessingPool queryProcessingPool, Iterable<QueryRunner<ScanResultValue>> queryRunners) -
Uses of QueryRunner in org.apache.druid.query.search
Classes in org.apache.druid.query.search that implement QueryRunner Modifier and Type Class Description classSearchQueryRunnerMethods in org.apache.druid.query.search that return QueryRunner Modifier and Type Method 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)Methods in org.apache.druid.query.search with parameters of type QueryRunner Modifier and Type Method Description QueryRunner<Result<SearchResultValue>>SearchQueryQueryToolChest. preMergeQueryDecoration(QueryRunner<Result<SearchResultValue>> runner)Method parameters in org.apache.druid.query.search with type arguments of type QueryRunner Modifier and Type Method Description QueryRunner<Result<SearchResultValue>>SearchQueryRunnerFactory. mergeRunners(QueryProcessingPool queryProcessingPool, Iterable<QueryRunner<Result<SearchResultValue>>> queryRunners) -
Uses of QueryRunner in org.apache.druid.query.select
Methods in org.apache.druid.query.select that return QueryRunner Modifier and Type Method Description QueryRunner<Object>SelectQuery. getRunner(QuerySegmentWalker walker)Deprecated. -
Uses of QueryRunner in org.apache.druid.query.spec
Classes in org.apache.druid.query.spec that implement QueryRunner Modifier and Type Class Description classSpecificSegmentQueryRunner<T>Methods in org.apache.druid.query.spec that return QueryRunner Modifier and Type Method Description <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)<T> QueryRunner<T>SpecificSegmentSpec. lookup(Query<T> query, QuerySegmentWalker walker)Constructors in org.apache.druid.query.spec with parameters of type QueryRunner Constructor Description SpecificSegmentQueryRunner(QueryRunner<T> base, SpecificSegmentSpec specificSpec) -
Uses of QueryRunner in org.apache.druid.query.timeboundary
Methods in org.apache.druid.query.timeboundary that return QueryRunner Modifier and Type Method 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)Methods in org.apache.druid.query.timeboundary with parameters of type QueryRunner Modifier and Type Method Description QueryRunner<Result<TimeBoundaryResultValue>>TimeBoundaryQueryQueryToolChest. mergeResults(QueryRunner<Result<TimeBoundaryResultValue>> runner)Method parameters in org.apache.druid.query.timeboundary with type arguments of type QueryRunner Modifier and Type Method Description QueryRunner<Result<TimeBoundaryResultValue>>TimeBoundaryQueryRunnerFactory. mergeRunners(QueryProcessingPool queryProcessingPool, Iterable<QueryRunner<Result<TimeBoundaryResultValue>>> queryRunners) -
Uses of QueryRunner in org.apache.druid.query.timeseries
Methods in org.apache.druid.query.timeseries that return QueryRunner Modifier and Type Method 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)Methods in org.apache.druid.query.timeseries with parameters of type QueryRunner Modifier and Type Method Description QueryRunner<Result<TimeseriesResultValue>>TimeseriesQueryQueryToolChest. mergeResults(QueryRunner<Result<TimeseriesResultValue>> queryRunner)QueryRunner<Result<TimeseriesResultValue>>TimeseriesQueryQueryToolChest. preMergeQueryDecoration(QueryRunner<Result<TimeseriesResultValue>> runner)Method parameters in org.apache.druid.query.timeseries with type arguments of type QueryRunner Modifier and Type Method Description QueryRunner<Result<TimeseriesResultValue>>TimeseriesQueryRunnerFactory. mergeRunners(QueryProcessingPool queryProcessingPool, Iterable<QueryRunner<Result<TimeseriesResultValue>>> queryRunners) -
Uses of QueryRunner in org.apache.druid.query.topn
Methods in org.apache.druid.query.topn that return QueryRunner Modifier and Type Method Description QueryRunner<Result<TopNResultValue>>TopNQueryRunnerFactory. createRunner(Segment segment)QueryRunner<Result<TopNResultValue>>TopNQueryQueryToolChest. mergeResults(QueryRunner<Result<TopNResultValue>> runner)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)Methods in org.apache.druid.query.topn with parameters of type QueryRunner Modifier and Type Method Description QueryRunner<Result<TopNResultValue>>TopNQueryQueryToolChest. mergeResults(QueryRunner<Result<TopNResultValue>> runner)QueryRunner<Result<TopNResultValue>>TopNQueryQueryToolChest. postMergeQueryDecoration(QueryRunner<Result<TopNResultValue>> runner)QueryRunner<Result<TopNResultValue>>TopNQueryQueryToolChest. preMergeQueryDecoration(QueryRunner<Result<TopNResultValue>> runner)Method parameters in org.apache.druid.query.topn with type arguments of type QueryRunner Modifier and Type Method Description QueryRunner<Result<TopNResultValue>>TopNQueryRunnerFactory. mergeRunners(QueryProcessingPool queryProcessingPool, Iterable<QueryRunner<Result<TopNResultValue>>> queryRunners)
-