| Constructor and Description |
|---|
GroupByMergedQueryRunner(ExecutorService exec,
com.google.common.base.Supplier<GroupByQueryConfig> configSupplier,
QueryWatcher queryWatcher,
NonBlockingPool<ByteBuffer> bufferPool,
Iterable<QueryRunner<T>> queryables) |
| Modifier and Type | Method and Description |
|---|---|
GroupByQueryConfig |
GroupByQueryConfig.withOverrides(GroupByQuery query) |
| Modifier and Type | Method and Description |
|---|---|
static <T> Pair<IncrementalIndex,Accumulator<IncrementalIndex,T>> |
GroupByQueryHelper.createIndexAccumulatorPair(GroupByQuery query,
GroupByQuery subquery,
GroupByQueryConfig config,
NonBlockingPool<ByteBuffer> bufferPool) |
static IncrementalIndex |
GroupByQueryHelper.makeIncrementalIndex(GroupByQuery query,
GroupByQuery subquery,
GroupByQueryConfig config,
NonBlockingPool<ByteBuffer> bufferPool,
Sequence<ResultRow> rows) |
| Constructor and Description |
|---|
GroupByQueryEngine(com.google.common.base.Supplier<GroupByQueryConfig> config,
NonBlockingPool<ByteBuffer> intermediateResultsBufferPool) |
| Modifier and Type | Method and Description |
|---|---|
static Pair<Grouper<RowBasedGrouperHelper.RowBasedKey>,Accumulator<AggregateResult,ResultRow>> |
RowBasedGrouperHelper.createGrouperAccumulatorPair(GroupByQuery query,
GroupByQuery subquery,
GroupByQueryConfig config,
com.google.common.base.Supplier<ByteBuffer> bufferSupplier,
LimitedTemporaryStorage temporaryStorage,
com.fasterxml.jackson.databind.ObjectMapper spillMapper,
int mergeBufferSize)
Create a single-threaded grouper and accumulator.
|
static Pair<Grouper<RowBasedGrouperHelper.RowBasedKey>,Accumulator<AggregateResult,ResultRow>> |
RowBasedGrouperHelper.createGrouperAccumulatorPair(GroupByQuery query,
GroupByQuery subquery,
GroupByQueryConfig config,
com.google.common.base.Supplier<ByteBuffer> bufferSupplier,
ReferenceCountingResourceHolder<ByteBuffer> combineBufferHolder,
int concurrencyHint,
LimitedTemporaryStorage temporaryStorage,
com.fasterxml.jackson.databind.ObjectMapper spillMapper,
com.google.common.util.concurrent.ListeningExecutorService grouperSorter,
int priority,
boolean hasQueryTimeout,
long queryTimeoutAt,
int mergeBufferSize)
Create a
Grouper that groups according to the dimensions and aggregators in "query", along with
an Accumulator that accepts ResultRows and forwards them to the grouper. |
static int |
GroupByQueryEngineV2.getCardinalityForArrayAggregation(GroupByQueryConfig querySpecificConfig,
GroupByQuery query,
StorageAdapter storageAdapter,
ByteBuffer buffer)
Returns the cardinality of array needed to do array-based aggregation, or -1 if array-based aggregation
is impossible.
|
static GroupByRowProcessor.ResultSupplier |
GroupByRowProcessor.process(GroupByQuery query,
GroupByQuery subquery,
Sequence<ResultRow> rows,
GroupByQueryConfig config,
GroupByQueryResource resource,
com.fasterxml.jackson.databind.ObjectMapper spillMapper,
String processingTmpDir,
int mergeBufferSize)
Process the input of sequence "rows" (output by "subquery") based on "query" and returns a
GroupByRowProcessor.ResultSupplier. |
static Sequence<ResultRow> |
GroupByQueryEngineV2.process(GroupByQuery query,
StorageAdapter storageAdapter,
NonBlockingPool<ByteBuffer> intermediateResultsBufferPool,
GroupByQueryConfig querySpecificConfig,
QueryConfig queryConfig) |
| Constructor and Description |
|---|
ConcurrentGrouper(GroupByQueryConfig groupByQueryConfig,
com.google.common.base.Supplier<ByteBuffer> bufferSupplier,
ReferenceCountingResourceHolder<ByteBuffer> combineBufferHolder,
Grouper.KeySerdeFactory<KeyType> keySerdeFactory,
Grouper.KeySerdeFactory<KeyType> combineKeySerdeFactory,
ColumnSelectorFactory columnSelectorFactory,
AggregatorFactory[] aggregatorFactories,
LimitedTemporaryStorage temporaryStorage,
com.fasterxml.jackson.databind.ObjectMapper spillMapper,
int concurrencyHint,
DefaultLimitSpec limitSpec,
boolean sortHasNonGroupingFields,
com.google.common.util.concurrent.ListeningExecutorService executor,
int priority,
boolean hasQueryTimeout,
long queryTimeoutAt) |
GroupByMergingQueryRunnerV2(GroupByQueryConfig config,
ExecutorService exec,
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 |
|---|---|
static Sequence<ResultRow> |
VectorGroupByEngine.process(GroupByQuery query,
StorageAdapter storageAdapter,
ByteBuffer processingBuffer,
org.joda.time.DateTime fudgeTimestamp,
Filter filter,
org.joda.time.Interval interval,
GroupByQueryConfig config,
QueryConfig queryConfig) |
| Constructor and Description |
|---|
GroupByStrategySelector(com.google.common.base.Supplier<GroupByQueryConfig> configSupplier,
GroupByStrategyV1 strategyV1,
GroupByStrategyV2 strategyV2) |
GroupByStrategyV1(com.google.common.base.Supplier<GroupByQueryConfig> configSupplier,
GroupByQueryEngine engine,
QueryWatcher queryWatcher,
NonBlockingPool<ByteBuffer> bufferPool) |
GroupByStrategyV2(DruidProcessingConfig processingConfig,
com.google.common.base.Supplier<GroupByQueryConfig> configSupplier,
com.google.common.base.Supplier<QueryConfig> queryConfigSupplier,
NonBlockingPool<ByteBuffer> bufferPool,
BlockingPool<ByteBuffer> mergeBufferPool,
com.fasterxml.jackson.databind.ObjectMapper spillMapper,
QueryWatcher queryWatcher) |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.