Package io.trino.operator.aggregation
Class ApproximateDoublePercentileArrayAggregations
- java.lang.Object
-
- io.trino.operator.aggregation.ApproximateDoublePercentileArrayAggregations
-
public final class ApproximateDoublePercentileArrayAggregations extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcombine(TDigestAndPercentileArrayState state, TDigestAndPercentileArrayState otherState)static voidinput(TDigestAndPercentileArrayState state, double value, Block percentilesArrayBlock)static voidoutput(TDigestAndPercentileArrayState state, BlockBuilder out)static List<Double>valuesAtPercentiles(io.airlift.stats.TDigest digest, List<Double> percentiles)static voidweightedInput(TDigestAndPercentileArrayState state, double value, double weight, Block percentilesArrayBlock)
-
-
-
Method Detail
-
input
public static void input(TDigestAndPercentileArrayState state, double value, Block percentilesArrayBlock)
-
weightedInput
public static void weightedInput(TDigestAndPercentileArrayState state, double value, double weight, Block percentilesArrayBlock)
-
combine
public static void combine(TDigestAndPercentileArrayState state, TDigestAndPercentileArrayState otherState)
-
output
public static void output(TDigestAndPercentileArrayState state, BlockBuilder out)
-
-