public class SearchContextAggregations extends Object
Constructor and Description |
---|
SearchContextAggregations(AggregatorFactories factories)
Creates a new aggregation context with the parsed aggregator factories
|
Modifier and Type | Method and Description |
---|---|
AggregationContext |
aggregationContext() |
void |
aggregationContext(AggregationContext aggregationContext) |
Aggregator[] |
aggregators() |
void |
aggregators(Aggregator[] aggregators)
Registers all the created aggregators (top level aggregators) for the search execution context.
|
AggregatorFactories |
factories() |
public SearchContextAggregations(AggregatorFactories factories)
public AggregatorFactories factories()
public Aggregator[] aggregators()
public AggregationContext aggregationContext()
public void aggregationContext(AggregationContext aggregationContext)
public void aggregators(Aggregator[] aggregators)
aggregators
- The top level aggregators of the search execution.Copyright © 2009–2016. All rights reserved.