Package io.trino.operator.aggregation
Class ApproximateLongPercentileAggregations
java.lang.Object
io.trino.operator.aggregation.ApproximateLongPercentileAggregations
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcombine(TDigestAndPercentileState state, TDigestAndPercentileState otherState) static voidinput(TDigestAndPercentileState state, long value, double percentile) static voidoutput(TDigestAndPercentileState state, BlockBuilder out) static doubletoDoubleExact(long value) static voidweightedInput(TDigestAndPercentileState state, long value, double weight, double percentile)
-
Method Details
-
input
-
weightedInput
public static void weightedInput(TDigestAndPercentileState state, long value, double weight, double percentile) -
combine
-
output
-
toDoubleExact
public static double toDoubleExact(long value)
-