Module org.elasticsearch.compute
Class AllFirstLongByIntAggregator
java.lang.Object
org.elasticsearch.compute.aggregation.AllFirstLongByIntAggregator
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-AllValueByTimestafmpAggregator.java.st` instead.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(AllFirstLongByIntAggregator.GroupingState current, int group, int position, LongBlock values, IntBlock timestamps) static voidcombine(org.elasticsearch.compute.aggregation.AllIntLongState current, int position, LongBlock values, IntBlock timestamps) static voidcombineIntermediate(AllFirstLongByIntAggregator.GroupingState current, int group, BooleanBlock observed, BooleanBlock timestampPresent, IntBlock timestamps, LongBlock values, int otherPosition) static voidcombineIntermediate(org.elasticsearch.compute.aggregation.AllIntLongState current, boolean observed, boolean timestampPresent, int timestamp, LongBlock values) static Stringdescribe()static BlockevaluateFinal(AllFirstLongByIntAggregator.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx) static BlockevaluateFinal(org.elasticsearch.compute.aggregation.AllIntLongState current, DriverContext ctx) initGrouping(DriverContext driverContext) static org.elasticsearch.compute.aggregation.AllIntLongStateinitSingle(DriverContext driverContext)
-
Constructor Details
-
AllFirstLongByIntAggregator
public AllFirstLongByIntAggregator()
-
-
Method Details
-
describe
-
initSingle
public static org.elasticsearch.compute.aggregation.AllIntLongState initSingle(DriverContext driverContext) -
combine
-
combineIntermediate
public static void combineIntermediate(org.elasticsearch.compute.aggregation.AllIntLongState current, boolean observed, boolean timestampPresent, int timestamp, LongBlock values) -
evaluateFinal
public static Block evaluateFinal(org.elasticsearch.compute.aggregation.AllIntLongState current, DriverContext ctx) -
initGrouping
-
combine
public static void combine(AllFirstLongByIntAggregator.GroupingState current, int group, int position, LongBlock values, IntBlock timestamps) -
combineIntermediate
public static void combineIntermediate(AllFirstLongByIntAggregator.GroupingState current, int group, BooleanBlock observed, BooleanBlock timestampPresent, IntBlock timestamps, LongBlock values, int otherPosition) -
evaluateFinal
public static Block evaluateFinal(AllFirstLongByIntAggregator.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx)
-