public class GroupByStrategyV2 extends Object implements GroupByStrategy
| Modifier and Type | Field and Description |
|---|---|
static String |
CTX_KEY_FUDGE_TIMESTAMP |
| Constructor and Description |
|---|
GroupByStrategyV2(DruidProcessingConfig processingConfig,
com.google.common.base.Supplier<GroupByQueryConfig> configSupplier,
StupidPool<ByteBuffer> bufferPool,
BlockingPool<ByteBuffer> mergeBufferPool,
com.fasterxml.jackson.databind.ObjectMapper spillMapper,
QueryWatcher queryWatcher) |
| Modifier and Type | Method and Description |
|---|---|
static org.joda.time.DateTime |
getUniversalTimestamp(GroupByQuery query)
If "query" has a single universal timestamp, return it.
|
com.metamx.common.guava.Sequence<io.druid.data.input.Row> |
mergeResults(QueryRunner<io.druid.data.input.Row> baseRunner,
GroupByQuery query,
Map<String,Object> responseContext) |
QueryRunner<io.druid.data.input.Row> |
mergeRunners(com.google.common.util.concurrent.ListeningExecutorService exec,
Iterable<QueryRunner<io.druid.data.input.Row>> queryRunners) |
com.metamx.common.guava.Sequence<io.druid.data.input.Row> |
process(GroupByQuery query,
StorageAdapter storageAdapter) |
com.metamx.common.guava.Sequence<io.druid.data.input.Row> |
processSubqueryResult(GroupByQuery subquery,
GroupByQuery query,
com.metamx.common.guava.Sequence<io.druid.data.input.Row> subqueryResult) |
public static final String CTX_KEY_FUDGE_TIMESTAMP
@Inject public GroupByStrategyV2(DruidProcessingConfig processingConfig, com.google.common.base.Supplier<GroupByQueryConfig> configSupplier, StupidPool<ByteBuffer> bufferPool, BlockingPool<ByteBuffer> mergeBufferPool, com.fasterxml.jackson.databind.ObjectMapper spillMapper, QueryWatcher queryWatcher)
public static org.joda.time.DateTime getUniversalTimestamp(GroupByQuery query)
query - the querypublic com.metamx.common.guava.Sequence<io.druid.data.input.Row> mergeResults(QueryRunner<io.druid.data.input.Row> baseRunner, GroupByQuery query, Map<String,Object> responseContext)
mergeResults in interface GroupByStrategypublic com.metamx.common.guava.Sequence<io.druid.data.input.Row> processSubqueryResult(GroupByQuery subquery, GroupByQuery query, com.metamx.common.guava.Sequence<io.druid.data.input.Row> subqueryResult)
processSubqueryResult in interface GroupByStrategypublic QueryRunner<io.druid.data.input.Row> mergeRunners(com.google.common.util.concurrent.ListeningExecutorService exec, Iterable<QueryRunner<io.druid.data.input.Row>> queryRunners)
mergeRunners in interface GroupByStrategypublic com.metamx.common.guava.Sequence<io.druid.data.input.Row> process(GroupByQuery query, StorageAdapter storageAdapter)
process in interface GroupByStrategyCopyright © 2011–2016. All rights reserved.