| Package | Description |
|---|---|
| com.yahoo.sketches.hll |
The hll package contains a very compact implementation of Phillipe Flajolet's
HLL sketch but with significantly improved error behavior.
|
| Modifier and Type | Method and Description |
|---|---|
Fields |
Fields.toCompact()
Return the compact form of this fields object.
|
Fields |
Fields.unionBucketIterator(BucketIterator iter,
Fields.UpdateCallback cb)
Unions the provided BucketIterator into the current Fields object.
|
Fields |
Fields.unionCompressedAndExceptions(byte[] compressed,
int minVal,
com.yahoo.sketches.hll.OnHeapHash exceptions,
Fields.UpdateCallback cb)
Unions the provided compressed byte[] and exceptions hash into the current Fields object.
|
Fields |
Fields.unionInto(Fields recipient,
Fields.UpdateCallback cb)
Unions the current Fields into the Fields presented as an argument.
|
Fields |
Fields.updateBucket(int bucket,
byte val,
Fields.UpdateCallback callback)
Potentially updates a bucket in the underlying storage.
|
| Modifier and Type | Method and Description |
|---|---|
Fields |
Fields.unionInto(Fields recipient,
Fields.UpdateCallback cb)
Unions the current Fields into the Fields presented as an argument.
|
| Constructor and Description |
|---|
HllSketch(Fields fields)
Construct this class with the given Fields
|
Copyright © 2015–2017 Yahoo! Inc.. All rights reserved.