Module org.elasticsearch.compute
Class DeltaLongAggregator
java.lang.Object
org.elasticsearch.compute.aggregation.DeltaLongAggregator
A rate grouping aggregation definition for long. 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(DeltaLongAggregator.LongDeltaGroupingState current, int groupId, long value, long timestamp) static voidcombineIntermediate(DeltaLongAggregator.LongDeltaGroupingState current, int groupId, LongBlock samples, LongBlock timestamps, LongBlock values, int otherPosition) static BlockevaluateFinal(DeltaLongAggregator.LongDeltaGroupingState state, IntVector selected, GroupingAggregatorEvaluationContext evalContext) initGrouping(DriverContext driverContext)
-
Constructor Details
-
DeltaLongAggregator
public DeltaLongAggregator()
-
-
Method Details
-
initGrouping
-
combine
public static void combine(DeltaLongAggregator.LongDeltaGroupingState current, int groupId, long value, long timestamp) -
combineIntermediate
public static void combineIntermediate(DeltaLongAggregator.LongDeltaGroupingState current, int groupId, LongBlock samples, LongBlock timestamps, LongBlock values, int otherPosition) -
evaluateFinal
public static Block evaluateFinal(DeltaLongAggregator.LongDeltaGroupingState state, IntVector selected, GroupingAggregatorEvaluationContext evalContext)
-