public class GroupByQueryQueryToolChest extends QueryToolChest<io.druid.data.input.Row,GroupByQuery>
Constructor and Description |
---|
GroupByQueryQueryToolChest(com.google.common.base.Supplier<GroupByQueryConfig> configSupplier,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
GroupByQueryEngine engine) |
Modifier and Type | Method and Description |
---|---|
CacheStrategy<io.druid.data.input.Row,Object,GroupByQuery> |
getCacheStrategy(GroupByQuery query) |
com.fasterxml.jackson.core.type.TypeReference<io.druid.data.input.Row> |
getResultTypeReference() |
com.metamx.emitter.service.ServiceMetricEvent.Builder |
makeMetricBuilder(GroupByQuery query) |
com.google.common.base.Function<io.druid.data.input.Row,io.druid.data.input.Row> |
makePreComputeManipulatorFn(GroupByQuery query,
MetricManipulationFn fn) |
QueryRunner<io.druid.data.input.Row> |
mergeResults(QueryRunner<io.druid.data.input.Row> runner) |
com.metamx.common.guava.Sequence<io.druid.data.input.Row> |
mergeSequences(com.metamx.common.guava.Sequence<com.metamx.common.guava.Sequence<io.druid.data.input.Row>> seqOfSequences)
This method doesn't belong here, but it's here for now just to make it work.
|
com.metamx.common.guava.Sequence<io.druid.data.input.Row> |
mergeSequencesUnordered(com.metamx.common.guava.Sequence<com.metamx.common.guava.Sequence<io.druid.data.input.Row>> seqOfSequences) |
QueryRunner<io.druid.data.input.Row> |
preMergeQueryDecoration(QueryRunner<io.druid.data.input.Row> runner) |
filterSegments, makePostComputeManipulatorFn, postMergeQueryDecoration
@Inject public GroupByQueryQueryToolChest(com.google.common.base.Supplier<GroupByQueryConfig> configSupplier, com.fasterxml.jackson.databind.ObjectMapper jsonMapper, GroupByQueryEngine engine)
public QueryRunner<io.druid.data.input.Row> mergeResults(QueryRunner<io.druid.data.input.Row> runner)
mergeResults
in class QueryToolChest<io.druid.data.input.Row,GroupByQuery>
public com.metamx.common.guava.Sequence<io.druid.data.input.Row> mergeSequences(com.metamx.common.guava.Sequence<com.metamx.common.guava.Sequence<io.druid.data.input.Row>> seqOfSequences)
QueryToolChest
mergeSequences
in class QueryToolChest<io.druid.data.input.Row,GroupByQuery>
seqOfSequences
- sequence of sequences to be mergedpublic com.metamx.common.guava.Sequence<io.druid.data.input.Row> mergeSequencesUnordered(com.metamx.common.guava.Sequence<com.metamx.common.guava.Sequence<io.druid.data.input.Row>> seqOfSequences)
mergeSequencesUnordered
in class QueryToolChest<io.druid.data.input.Row,GroupByQuery>
public com.metamx.emitter.service.ServiceMetricEvent.Builder makeMetricBuilder(GroupByQuery query)
makeMetricBuilder
in class QueryToolChest<io.druid.data.input.Row,GroupByQuery>
public com.google.common.base.Function<io.druid.data.input.Row,io.druid.data.input.Row> makePreComputeManipulatorFn(GroupByQuery query, MetricManipulationFn fn)
makePreComputeManipulatorFn
in class QueryToolChest<io.druid.data.input.Row,GroupByQuery>
public com.fasterxml.jackson.core.type.TypeReference<io.druid.data.input.Row> getResultTypeReference()
getResultTypeReference
in class QueryToolChest<io.druid.data.input.Row,GroupByQuery>
public QueryRunner<io.druid.data.input.Row> preMergeQueryDecoration(QueryRunner<io.druid.data.input.Row> runner)
preMergeQueryDecoration
in class QueryToolChest<io.druid.data.input.Row,GroupByQuery>
public CacheStrategy<io.druid.data.input.Row,Object,GroupByQuery> getCacheStrategy(GroupByQuery query)
getCacheStrategy
in class QueryToolChest<io.druid.data.input.Row,GroupByQuery>
Copyright © 2015. All rights reserved.