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