Module org.elasticsearch.compute
Class LastOverTimeIntAggregator
java.lang.Object
org.elasticsearch.compute.aggregation.LastOverTimeIntAggregator
A time-series aggregation function that collects the Last occurrence value of a time series in a specified interval.
This class is generated. Edit `X-ValueOverTimeAggregator.java.st` instead.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(LastOverTimeIntAggregator.GroupingState current, int groupId, long timestamp, int value) static voidcombineIntermediate(LastOverTimeIntAggregator.GroupingState current, int groupId, LongBlock timestamps, IntBlock values, int otherPosition) static voidcombineStates(LastOverTimeIntAggregator.GroupingState current, int currentGroupId, LastOverTimeIntAggregator.GroupingState otherState, int otherGroupId) static BlockevaluateFinal(LastOverTimeIntAggregator.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext evalContext) initGrouping(DriverContext driverContext)
-
Constructor Details
-
LastOverTimeIntAggregator
public LastOverTimeIntAggregator()
-
-
Method Details
-
initGrouping
-
combine
public static void combine(LastOverTimeIntAggregator.GroupingState current, int groupId, long timestamp, int value) -
combineIntermediate
public static void combineIntermediate(LastOverTimeIntAggregator.GroupingState current, int groupId, LongBlock timestamps, IntBlock values, int otherPosition) -
combineStates
public static void combineStates(LastOverTimeIntAggregator.GroupingState current, int currentGroupId, LastOverTimeIntAggregator.GroupingState otherState, int otherGroupId) -
evaluateFinal
public static Block evaluateFinal(LastOverTimeIntAggregator.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext evalContext)
-