Module org.elasticsearch.compute
Class AllFirstDoubleByTimestampAggregator
java.lang.Object
org.elasticsearch.compute.aggregation.AllFirstDoubleByTimestampAggregator
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(AllFirstDoubleByTimestampAggregator.GroupingState current, int groupId, int position, DoubleBlock value, LongBlock timestamp) static voidcombine(org.elasticsearch.compute.aggregation.AllLongDoubleState current, int position, DoubleBlock value, LongBlock timestamp) static voidcombineIntermediate(AllFirstDoubleByTimestampAggregator.GroupingState current, int groupId, LongBlock timestamps, DoubleBlock values, BooleanBlock hasValues, int otherPosition) static voidcombineIntermediate(org.elasticsearch.compute.aggregation.AllLongDoubleState current, long timestamp, double value, boolean seen, boolean v2Seen) static Stringdescribe()static BlockevaluateFinal(AllFirstDoubleByTimestampAggregator.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx) static BlockevaluateFinal(org.elasticsearch.compute.aggregation.AllLongDoubleState current, DriverContext ctx) initGrouping(DriverContext driverContext) static org.elasticsearch.compute.aggregation.AllLongDoubleStateinitSingle(DriverContext driverContext)
-
Constructor Details
-
AllFirstDoubleByTimestampAggregator
public AllFirstDoubleByTimestampAggregator()
-
-
Method Details
-
describe
-
initSingle
public static org.elasticsearch.compute.aggregation.AllLongDoubleState initSingle(DriverContext driverContext) -
combine
public static void combine(org.elasticsearch.compute.aggregation.AllLongDoubleState current, int position, DoubleBlock value, LongBlock timestamp) -
combineIntermediate
public static void combineIntermediate(org.elasticsearch.compute.aggregation.AllLongDoubleState current, long timestamp, double value, boolean seen, boolean v2Seen) -
evaluateFinal
public static Block evaluateFinal(org.elasticsearch.compute.aggregation.AllLongDoubleState current, DriverContext ctx) -
initGrouping
public static AllFirstDoubleByTimestampAggregator.GroupingState initGrouping(DriverContext driverContext) -
combine
public static void combine(AllFirstDoubleByTimestampAggregator.GroupingState current, int groupId, int position, DoubleBlock value, LongBlock timestamp) -
combineIntermediate
public static void combineIntermediate(AllFirstDoubleByTimestampAggregator.GroupingState current, int groupId, LongBlock timestamps, DoubleBlock values, BooleanBlock hasValues, int otherPosition) -
evaluateFinal
public static Block evaluateFinal(AllFirstDoubleByTimestampAggregator.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx)
-