Class AggregationContext

java.lang.Object
org.elasticsearch.search.aggregations.support.AggregationContext
Direct Known Subclasses:
AggregationContext.ProductionAggregationContext

public abstract class AggregationContext
extends java.lang.Object
Everything used to build and execute aggregations and the data sources that power them.

In production we always use the AggregationContext.ProductionAggregationContext but this is abstract so that tests can build it without creating the massing QueryShardContext.