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