Module org.elasticsearch.compute
Class LastOverTimeLongAggregator
java.lang.Object
org.elasticsearch.compute.aggregation.LastOverTimeLongAggregator
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(LastOverTimeLongAggregator.GroupingState current, int groupId, long timestamp, long value) static voidcombineIntermediate(LastOverTimeLongAggregator.GroupingState current, int groupId, LongBlock timestamps, LongBlock values, int otherPosition) static voidcombineStates(LastOverTimeLongAggregator.GroupingState current, int currentGroupId, LastOverTimeLongAggregator.GroupingState otherState, int otherGroupId) static BlockevaluateFinal(LastOverTimeLongAggregator.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext evalContext) initGrouping(DriverContext driverContext)
-
Constructor Details
-
LastOverTimeLongAggregator
public LastOverTimeLongAggregator()
-
-
Method Details
-
initGrouping
-
combine
public static void combine(LastOverTimeLongAggregator.GroupingState current, int groupId, long timestamp, long value) -
combineIntermediate
public static void combineIntermediate(LastOverTimeLongAggregator.GroupingState current, int groupId, LongBlock timestamps, LongBlock values, int otherPosition) -
combineStates
public static void combineStates(LastOverTimeLongAggregator.GroupingState current, int currentGroupId, LastOverTimeLongAggregator.GroupingState otherState, int otherGroupId) -
evaluateFinal
public static Block evaluateFinal(LastOverTimeLongAggregator.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext evalContext)
-