public interface LimitSpec
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Function<com.metamx.common.guava.Sequence<io.druid.data.input.Row>,com.metamx.common.guava.Sequence<io.druid.data.input.Row>> |
build(List<DimensionSpec> dimensions,
List<AggregatorFactory> aggs,
List<PostAggregator> postAggs)
Returns a function that applies a limit to an input sequence that is assumed to be sorted on dimensions.
|
byte[] |
getCacheKey() |
LimitSpec |
merge(LimitSpec other) |
com.google.common.base.Function<com.metamx.common.guava.Sequence<io.druid.data.input.Row>,com.metamx.common.guava.Sequence<io.druid.data.input.Row>> build(List<DimensionSpec> dimensions, List<AggregatorFactory> aggs, List<PostAggregator> postAggs)
dimensions - query dimensionsaggs - query aggregatorspostAggs - query postAggregatorsbyte[] getCacheKey()
Copyright © 2011–2016. All rights reserved.