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