public static void input(HyperLogLogState state, @SqlType(StandardTypes.DOUBLE) double value)
{
HyperLogLog hll = getOrCreateHyperLogLog(state);
state.addMemoryUsage(-hll.estimatedInMemorySize());
hll.add(Double.doubleToLongBits(value));
state.addMemoryUsage(hll.estimatedInMemorySize());
}
@InputFunction
public static void input(HyperLogLogState state, @SqlType(StandardTypes.VARCHAR) Slice value)
{