Module org.elasticsearch.compute
Class IrateDoubleAggregator
java.lang.Object
org.elasticsearch.compute.aggregation.IrateDoubleAggregator
A rate grouping aggregation definition for double. This implementation supports the `irate` and `idelta` functions.
This class is generated. Edit `X-IrateAggregator.java.st` instead.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(IrateDoubleAggregator.DoubleIrateGroupingState current, int groupId, double value, long timestamp) static voidcombineIntermediate(IrateDoubleAggregator.DoubleIrateGroupingState current, int groupId, LongBlock timestamps, DoubleBlock values, int otherPosition) static BlockevaluateFinal(IrateDoubleAggregator.DoubleIrateGroupingState state, IntVector selected, GroupingAggregatorEvaluationContext evalContext) initGrouping(DriverContext driverContext, boolean isDelta)
-
Constructor Details
-
IrateDoubleAggregator
public IrateDoubleAggregator()
-
-
Method Details
-
initGrouping
public static IrateDoubleAggregator.DoubleIrateGroupingState initGrouping(DriverContext driverContext, boolean isDelta) -
combine
public static void combine(IrateDoubleAggregator.DoubleIrateGroupingState current, int groupId, double value, long timestamp) -
combineIntermediate
public static void combineIntermediate(IrateDoubleAggregator.DoubleIrateGroupingState current, int groupId, LongBlock timestamps, DoubleBlock values, int otherPosition) -
evaluateFinal
public static Block evaluateFinal(IrateDoubleAggregator.DoubleIrateGroupingState state, IntVector selected, GroupingAggregatorEvaluationContext evalContext)
-