public interface HLLRegister
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(long hashcode)
Specify a hashcode to add to hyperloglog register.
|
void |
merge(HLLRegister reg)
Merge hyperloglog registers of the same type (SPARSE or DENSE register)
|
boolean |
set(int idx,
byte value)
Instead of specifying hashcode, this interface can be used to directly
specify the register index and register value.
|
boolean add(long hashcode)
hashcode - - hashcode to addboolean set(int idx,
byte value)
idx - - register indexvalue - - register valuevoid merge(HLLRegister reg)
reg - - register to be mergedCopyright © 2019 The Apache Software Foundation. All Rights Reserved.