Class DefaultApproximateCountDistinctAggregation
- java.lang.Object
-
- io.prestosql.operator.aggregation.DefaultApproximateCountDistinctAggregation
-
public final class DefaultApproximateCountDistinctAggregation 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)
static void
input(HyperLogLogState state, Block block, int index)
static void
input(MethodHandle methodHandle, HyperLogLogState state, double value)
static void
input(MethodHandle methodHandle, HyperLogLogState state, long value)
static void
input(MethodHandle methodHandle, HyperLogLogState state, io.airlift.slice.Slice value)
-
-
-
Method Detail
-
input
public static void input(HyperLogLogState state, Block block, int index)
-
input
public static void input(MethodHandle methodHandle, HyperLogLogState state, long value)
-
input
public static void input(MethodHandle methodHandle, HyperLogLogState state, double value)
-
input
public static void input(MethodHandle methodHandle, HyperLogLogState state, io.airlift.slice.Slice value)
-
input
public static void input(BooleanDistinctState state, boolean value)
-
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)
-
-