Module org.elasticsearch.compute
Class RateDoubleAggregator
java.lang.Object
org.elasticsearch.compute.aggregation.RateDoubleAggregator
A rate grouping aggregation definition for double.
This class is generated. Edit `X-RateAggregator.java.st` instead.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(RateDoubleAggregator.DoubleRateGroupingState current, int groupId, double value, long timestamp) static voidcombineIntermediate(RateDoubleAggregator.DoubleRateGroupingState current, int groupId, LongBlock timestamps, DoubleBlock values, int sampleCount, double reset, int otherPosition) static BlockevaluateFinal(RateDoubleAggregator.DoubleRateGroupingState state, IntVector selected, GroupingAggregatorEvaluationContext evalContext) initGrouping(DriverContext driverContext)
-
Constructor Details
-
RateDoubleAggregator
public RateDoubleAggregator()
-
-
Method Details
-
initGrouping
public static RateDoubleAggregator.DoubleRateGroupingState initGrouping(DriverContext driverContext) -
combine
public static void combine(RateDoubleAggregator.DoubleRateGroupingState current, int groupId, double value, long timestamp) -
combineIntermediate
public static void combineIntermediate(RateDoubleAggregator.DoubleRateGroupingState current, int groupId, LongBlock timestamps, DoubleBlock values, int sampleCount, double reset, int otherPosition) -
evaluateFinal
public static Block evaluateFinal(RateDoubleAggregator.DoubleRateGroupingState state, IntVector selected, GroupingAggregatorEvaluationContext evalContext)
-