Module org.elasticsearch.compute
Class AllFirstIntByTimestampAggregator
java.lang.Object
org.elasticsearch.compute.aggregation.AllFirstIntByTimestampAggregator
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-AllValueByTimestampAggregator.java.st` instead.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(AllFirstIntByTimestampAggregator.GroupingState current, int groupId, int position, IntBlock value, LongBlock timestamp) static voidcombine(org.elasticsearch.compute.aggregation.AllLongIntState current, int position, IntBlock value, LongBlock timestamp) static voidcombineIntermediate(AllFirstIntByTimestampAggregator.GroupingState current, int groupId, LongBlock timestamps, IntBlock values, BooleanBlock hasValues, int otherPosition) static voidcombineIntermediate(org.elasticsearch.compute.aggregation.AllLongIntState current, long timestamp, int value, boolean seen, boolean v2Seen) static Stringdescribe()static BlockevaluateFinal(AllFirstIntByTimestampAggregator.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx) static BlockevaluateFinal(org.elasticsearch.compute.aggregation.AllLongIntState current, DriverContext ctx) initGrouping(DriverContext driverContext) static org.elasticsearch.compute.aggregation.AllLongIntStateinitSingle(DriverContext driverContext)
-
Constructor Details
-
AllFirstIntByTimestampAggregator
public AllFirstIntByTimestampAggregator()
-
-
Method Details
-
describe
-
initSingle
public static org.elasticsearch.compute.aggregation.AllLongIntState initSingle(DriverContext driverContext) -
combine
-
combineIntermediate
public static void combineIntermediate(org.elasticsearch.compute.aggregation.AllLongIntState current, long timestamp, int value, boolean seen, boolean v2Seen) -
evaluateFinal
public static Block evaluateFinal(org.elasticsearch.compute.aggregation.AllLongIntState current, DriverContext ctx) -
initGrouping
public static AllFirstIntByTimestampAggregator.GroupingState initGrouping(DriverContext driverContext) -
combine
public static void combine(AllFirstIntByTimestampAggregator.GroupingState current, int groupId, int position, IntBlock value, LongBlock timestamp) -
combineIntermediate
public static void combineIntermediate(AllFirstIntByTimestampAggregator.GroupingState current, int groupId, LongBlock timestamps, IntBlock values, BooleanBlock hasValues, int otherPosition) -
evaluateFinal
public static Block evaluateFinal(AllFirstIntByTimestampAggregator.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx)
-