Package io.trino.operator.aggregation
Class ApproximateCountDistinctAggregation
- java.lang.Object
-
- io.trino.operator.aggregation.ApproximateCountDistinctAggregation
-
public final class ApproximateCountDistinctAggregation extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcombineState(BooleanDistinctState state, BooleanDistinctState otherState)static voidcombineState(HyperLogLogState state, HyperLogLogState otherState)static voidevaluateFinal(BooleanDistinctState state, BlockBuilder out)static voidevaluateFinal(HyperLogLogState state, BlockBuilder out)static voidinput(BooleanDistinctState state, boolean value, double maxStandardError)static voidinput(HyperLogLogState state, Block block, int index, double maxStandardError)static voidinput(MethodHandle methodHandle, HyperLogLogState state, double value, double maxStandardError)static voidinput(MethodHandle methodHandle, HyperLogLogState state, long value, double maxStandardError)static voidinput(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)
-
-