Package io.trino.operator.aggregation
Class ApproximateLongPercentileAggregations
- java.lang.Object
-
- io.trino.operator.aggregation.ApproximateLongPercentileAggregations
-
public final class ApproximateLongPercentileAggregations extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
input
public static void input(TDigestAndPercentileState state, long value, double percentile)
-
weightedInput
public static void weightedInput(TDigestAndPercentileState state, long value, double weight, double percentile)
-
combine
public static void combine(TDigestAndPercentileState state, TDigestAndPercentileState otherState)
-
output
public static void output(TDigestAndPercentileState state, BlockBuilder out)
-
toDoubleExact
public static double toDoubleExact(long value)
-
-