Class ApproximateDoublePercentileArrayAggregations
- java.lang.Object
-
- io.prestosql.operator.aggregation.ApproximateDoublePercentileArrayAggregations
-
public final class ApproximateDoublePercentileArrayAggregations extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
combine(TDigestAndPercentileArrayState state, TDigestAndPercentileArrayState otherState)
static void
input(TDigestAndPercentileArrayState state, double value, Block percentilesArrayBlock)
static void
output(TDigestAndPercentileArrayState state, BlockBuilder out)
static List<Double>
valuesAtPercentiles(io.airlift.stats.TDigest digest, List<Double> percentiles)
static void
weightedInput(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)
-
-