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