Module org.elasticsearch.compute
Class AllLastBytesRefByTimestampAggregator
java.lang.Object
org.elasticsearch.compute.aggregation.AllLastBytesRefByTimestampAggregator
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-AllValueByTimestampAggregator.java.st` instead.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(AllLastBytesRefByTimestampAggregator.GroupingState current, int groupId, int position, BytesRefBlock value, LongBlock timestamp) static voidcombine(org.elasticsearch.compute.aggregation.AllLongBytesRefState current, int position, BytesRefBlock value, LongBlock timestamp) static voidcombineIntermediate(AllLastBytesRefByTimestampAggregator.GroupingState current, int groupId, LongBlock timestamps, BytesRefBlock values, BooleanBlock hasValues, int otherPosition) static voidcombineIntermediate(org.elasticsearch.compute.aggregation.AllLongBytesRefState current, long timestamp, org.apache.lucene.util.BytesRef value, boolean seen, boolean v2Seen) static Stringdescribe()static BlockevaluateFinal(AllLastBytesRefByTimestampAggregator.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx) static BlockevaluateFinal(org.elasticsearch.compute.aggregation.AllLongBytesRefState current, DriverContext ctx) initGrouping(DriverContext driverContext) static org.elasticsearch.compute.aggregation.AllLongBytesRefStateinitSingle(DriverContext driverContext)
-
Constructor Details
-
AllLastBytesRefByTimestampAggregator
public AllLastBytesRefByTimestampAggregator()
-
-
Method Details
-
describe
-
initSingle
public static org.elasticsearch.compute.aggregation.AllLongBytesRefState initSingle(DriverContext driverContext) -
combine
public static void combine(org.elasticsearch.compute.aggregation.AllLongBytesRefState current, int position, BytesRefBlock value, LongBlock timestamp) -
combineIntermediate
public static void combineIntermediate(org.elasticsearch.compute.aggregation.AllLongBytesRefState current, long timestamp, org.apache.lucene.util.BytesRef value, boolean seen, boolean v2Seen) -
evaluateFinal
public static Block evaluateFinal(org.elasticsearch.compute.aggregation.AllLongBytesRefState current, DriverContext ctx) -
initGrouping
public static AllLastBytesRefByTimestampAggregator.GroupingState initGrouping(DriverContext driverContext) -
combine
public static void combine(AllLastBytesRefByTimestampAggregator.GroupingState current, int groupId, int position, BytesRefBlock value, LongBlock timestamp) -
combineIntermediate
public static void combineIntermediate(AllLastBytesRefByTimestampAggregator.GroupingState current, int groupId, LongBlock timestamps, BytesRefBlock values, BooleanBlock hasValues, int otherPosition) -
evaluateFinal
public static Block evaluateFinal(AllLastBytesRefByTimestampAggregator.GroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx)
-