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