Package | Description |
---|---|
org.apache.hadoop.hive.common.ndv.hll |
Modifier and Type | Method and Description |
---|---|
HyperLogLog |
HyperLogLog.HyperLogLogBuilder.build() |
static HyperLogLog |
HyperLogLogUtils.deserializeHLL(byte[] buf)
This function deserializes the serialized hyperloglogs from a byte array.
|
static HyperLogLog |
HyperLogLogUtils.deserializeHLL(InputStream in)
Refer serializeHLL() for format of serialization.
|
HyperLogLog |
HyperLogLog.squash(int p0)
Reduces the accuracy of the HLL provided to a smaller size
|
Modifier and Type | Method and Description |
---|---|
void |
HyperLogLog.merge(HyperLogLog hll)
Merge the specified hyperloglog to the current one.
|
static void |
HyperLogLogUtils.serializeHLL(OutputStream out,
HyperLogLog hll)
HyperLogLog is serialized using the following format
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.