public static class HyperLogLog.Builder extends Object implements IBuilder<ICardinality>, Serializable
| Constructor and Description |
|---|
HyperLogLog.Builder(double rsd)
Deprecated.
Use
withRsd(double) instead. This builder's constructors did not match the (already
themselves ambiguous) constructors of the HyperLogLog class, but there is no way to make them match without
risking behavior changes downstream. |
| Modifier and Type | Method and Description |
|---|---|
HyperLogLog |
build() |
static HyperLogLog |
build(byte[] bytes) |
static HyperLogLog |
build(DataInput serializedByteStream) |
int |
sizeof() |
static HyperLogLog.Builder |
withLog2m(int log2m) |
static HyperLogLog.Builder |
withRsd(double rsd) |
@Deprecated public HyperLogLog.Builder(double rsd)
withRsd(double) instead. This builder's constructors did not match the (already
themselves ambiguous) constructors of the HyperLogLog class, but there is no way to make them match without
risking behavior changes downstream.public HyperLogLog build()
build in interface IBuilder<ICardinality>public int sizeof()
sizeof in interface IBuilder<ICardinality>public static HyperLogLog.Builder withLog2m(int log2m)
public static HyperLogLog.Builder withRsd(double rsd)
public static HyperLogLog build(byte[] bytes) throws IOException
IOExceptionpublic static HyperLogLog build(DataInput serializedByteStream) throws IOException
IOExceptionCopyright © 2016 AddThis. All rights reserved.