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