Module org.elasticsearch.compute
Class LastTDigestByTimestampAggregator
java.lang.Object
org.elasticsearch.compute.aggregation.LastTDigestByTimestampAggregator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(TDigestStates.WithLongGroupingState current, int groupId, TDigestHolder tdigest, long timestamp) static voidcombine(TDigestStates.WithLongSingleState current, TDigestHolder tdigest, long timestamp) static voidcombineIntermediate(TDigestStates.WithLongGroupingState current, int groupId, long timestamp, TDigestHolder value, boolean seen) static voidcombineIntermediate(TDigestStates.WithLongSingleState current, long timestamp, TDigestHolder tdigest, boolean seen) static Stringdescribe()static BlockevaluateFinal(TDigestStates.WithLongGroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx) static BlockevaluateFinal(TDigestStates.WithLongSingleState current, DriverContext ctx) initGrouping(DriverContext driverContext) initSingle(DriverContext driverContext)
-
Constructor Details
-
LastTDigestByTimestampAggregator
public LastTDigestByTimestampAggregator()
-
-
Method Details
-
describe
-
initSingle
-
combine
public static void combine(TDigestStates.WithLongSingleState current, TDigestHolder tdigest, long timestamp) -
combineIntermediate
public static void combineIntermediate(TDigestStates.WithLongSingleState current, long timestamp, TDigestHolder tdigest, boolean seen) -
evaluateFinal
-
initGrouping
-
combine
public static void combine(TDigestStates.WithLongGroupingState current, int groupId, TDigestHolder tdigest, long timestamp) -
combineIntermediate
public static void combineIntermediate(TDigestStates.WithLongGroupingState current, int groupId, long timestamp, TDigestHolder value, boolean seen) -
evaluateFinal
public static Block evaluateFinal(TDigestStates.WithLongGroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx)
-