Module org.elasticsearch.compute
Class AllLastDoubleByIntAggregator
java.lang.Object
org.elasticsearch.compute.aggregation.AllLastDoubleByIntAggregator
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.AllIntDoubleState current, int position, DoubleBlock values, IntBlock timestamps) static voidcombine(AllLastDoubleByIntAggregator.GroupingState current, int group, int position, DoubleBlock values, IntBlock timestamps) static voidcombineIntermediate(org.elasticsearch.compute.aggregation.AllIntDoubleState current, boolean observed, boolean timestampPresent, int timestamp, DoubleBlock values) static voidcombineIntermediate(AllLastDoubleByIntAggregator.GroupingState current, int group, BooleanBlock observed, BooleanBlock timestampPresent, IntBlock timestamps, DoubleBlock values, int otherPosition) static Stringdescribe()static BlockevaluateFinal(org.elasticsearch.compute.aggregation.AllIntDoubleState current, DriverContext ctx) static BlockevaluateFinal(AllLastDoubleByIntAggregator.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx) initGrouping(DriverContext driverContext) static org.elasticsearch.compute.aggregation.AllIntDoubleStateinitSingle(DriverContext driverContext)
-
Constructor Details
-
AllLastDoubleByIntAggregator
public AllLastDoubleByIntAggregator()
-
-
Method Details
-
describe
-
initSingle
public static org.elasticsearch.compute.aggregation.AllIntDoubleState initSingle(DriverContext driverContext) -
combine
public static void combine(org.elasticsearch.compute.aggregation.AllIntDoubleState current, int position, DoubleBlock values, IntBlock timestamps) -
combineIntermediate
public static void combineIntermediate(org.elasticsearch.compute.aggregation.AllIntDoubleState current, boolean observed, boolean timestampPresent, int timestamp, DoubleBlock values) -
evaluateFinal
public static Block evaluateFinal(org.elasticsearch.compute.aggregation.AllIntDoubleState current, DriverContext ctx) -
initGrouping
-
combine
public static void combine(AllLastDoubleByIntAggregator.GroupingState current, int group, int position, DoubleBlock values, IntBlock timestamps) -
combineIntermediate
public static void combineIntermediate(AllLastDoubleByIntAggregator.GroupingState current, int group, BooleanBlock observed, BooleanBlock timestampPresent, IntBlock timestamps, DoubleBlock values, int otherPosition) -
evaluateFinal
public static Block evaluateFinal(AllLastDoubleByIntAggregator.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx)
-