Class ApproximateCountDistinctAggregation
- java.lang.Object
-
- io.prestosql.operator.aggregation.ApproximateCountDistinctAggregation
-
public final class ApproximateCountDistinctAggregation extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
combineState(BooleanDistinctState state, BooleanDistinctState otherState)
static void
combineState(HyperLogLogState state, HyperLogLogState otherState)
static void
evaluateFinal(BooleanDistinctState state, BlockBuilder out)
static void
evaluateFinal(HyperLogLogState state, BlockBuilder out)
static void
input(BooleanDistinctState state, boolean value, double maxStandardError)
static void
input(HyperLogLogState state, Block block, int index, double maxStandardError)
static void
input(MethodHandle methodHandle, HyperLogLogState state, double value, double maxStandardError)
static void
input(MethodHandle methodHandle, HyperLogLogState state, long value, double maxStandardError)
static void
input(MethodHandle methodHandle, HyperLogLogState state, Object value, double maxStandardError)
-
-
-
Method Detail
-
input
public static void input(HyperLogLogState state, Block block, int index, double maxStandardError)
-
input
public static void input(MethodHandle methodHandle, HyperLogLogState state, long value, double maxStandardError)
-
input
public static void input(MethodHandle methodHandle, HyperLogLogState state, double value, double maxStandardError)
-
input
public static void input(MethodHandle methodHandle, HyperLogLogState state, Object value, double maxStandardError)
-
input
public static void input(BooleanDistinctState state, boolean value, double maxStandardError)
-
combineState
public static void combineState(HyperLogLogState state, HyperLogLogState otherState)
-
combineState
public static void combineState(BooleanDistinctState state, BooleanDistinctState otherState)
-
evaluateFinal
public static void evaluateFinal(HyperLogLogState state, BlockBuilder out)
-
evaluateFinal
public static void evaluateFinal(BooleanDistinctState state, BlockBuilder out)
-
-