Class GroupingAggregatorEvaluationContext

java.lang.Object
org.elasticsearch.compute.aggregation.GroupingAggregatorEvaluationContext
All Implemented Interfaces:
Closeable, AutoCloseable, org.elasticsearch.core.Releasable
Direct Known Subclasses:
TimeSeriesGroupingAggregatorEvaluationContext

public class GroupingAggregatorEvaluationContext extends Object implements org.elasticsearch.core.Releasable
Provides a context for evaluating a grouping aggregator. A time-series aggregator might need more than just the DriverContext to evaluate, such as the range interval of each group.
  • Constructor Details

    • GroupingAggregatorEvaluationContext

      public GroupingAggregatorEvaluationContext(DriverContext driverContext)
  • Method Details

    • driverContext

      public DriverContext driverContext()
    • blockFactory

      public BlockFactory blockFactory()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.elasticsearch.core.Releasable