Module org.elasticsearch.compute
Class AllFirstTDigestByLongAggregator
java.lang.Object
org.elasticsearch.compute.aggregation.AllFirstTDigestByLongAggregator
Picks the tdigest with the minimum long sort key.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(TDigestStates.WithLongGroupingState current, int groupId, TDigestHolder tdigest, long sortKey) static voidcombine(TDigestStates.WithLongSingleState current, TDigestHolder tdigest, long sortKey) static voidcombineIntermediate(TDigestStates.WithLongGroupingState current, int groupId, long sortKey, TDigestBlock values, boolean seen, int otherPosition) static voidcombineIntermediate(TDigestStates.WithLongSingleState current, long sortKey, TDigestBlock values, 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
-
AllFirstTDigestByLongAggregator
public AllFirstTDigestByLongAggregator()
-
-
Method Details
-
describe
-
initSingle
-
combine
public static void combine(TDigestStates.WithLongSingleState current, TDigestHolder tdigest, long sortKey) -
combineIntermediate
public static void combineIntermediate(TDigestStates.WithLongSingleState current, long sortKey, TDigestBlock values, boolean seen) -
evaluateFinal
-
initGrouping
-
combine
public static void combine(TDigestStates.WithLongGroupingState current, int groupId, TDigestHolder tdigest, long sortKey) -
combineIntermediate
public static void combineIntermediate(TDigestStates.WithLongGroupingState current, int groupId, long sortKey, TDigestBlock values, boolean seen, int otherPosition) -
evaluateFinal
public static Block evaluateFinal(TDigestStates.WithLongGroupingState state, IntVector selected, GroupingAggregatorEvaluationContext ctx)
-