Record Class WindowAggregatorFunctionSupplier

java.lang.Object
java.lang.Record
org.elasticsearch.compute.aggregation.WindowAggregatorFunctionSupplier
All Implemented Interfaces:
AggregatorFunctionSupplier, Describable

public record WindowAggregatorFunctionSupplier(AggregatorFunctionSupplier supplier, Duration window) extends Record implements AggregatorFunctionSupplier
A AggregatorFunctionSupplier that wraps another, and apply a window function on the final aggregation.
  • Constructor Details

    • WindowAggregatorFunctionSupplier

      public WindowAggregatorFunctionSupplier(AggregatorFunctionSupplier supplier, Duration window)
      Creates an instance of a WindowAggregatorFunctionSupplier record class.
      Parameters:
      supplier - the value for the supplier record component
      window - the value for the window record component
  • Method Details