public class Queries extends Object
| Constructor and Description |
|---|
Queries() |
| Modifier and Type | Method and Description |
|---|---|
static List<PostAggregator> |
decoratePostAggregators(List<PostAggregator> postAggs,
Map<String,AggregatorFactory> aggFactories) |
static List<PostAggregator> |
prepareAggregations(List<String> otherOutputNames,
List<AggregatorFactory> aggFactories,
List<PostAggregator> postAggs)
Returns decorated post-aggregators, based on original un-decorated post-aggregators.
|
public static List<PostAggregator> decoratePostAggregators(List<PostAggregator> postAggs, Map<String,AggregatorFactory> aggFactories)
public static List<PostAggregator> prepareAggregations(List<String> otherOutputNames, List<AggregatorFactory> aggFactories, List<PostAggregator> postAggs)
otherOutputNames - names of fields that will appear in the same output namespace as aggregators and
post-aggregators. For most built-in query types, this is either empty, or the list of
dimension output names.aggFactories - aggregator factories for this querypostAggs - post-aggregators for this queryNullPointerException - if otherOutputNames or aggFactories is nullIllegalArgumentException - if there are any output name collisions or missing post-aggregator inputsCopyright © 2011–2017. All rights reserved.