public interface HyperLogLogOperations<K,V>
| Modifier and Type | Method and Description |
|---|---|
Long |
add(K key,
V... values)
Adds the given values to the key.
|
void |
delete(K key)
Removes the given key.
|
Long |
size(K... keys)
Gets the current number of elements within the key.
|
Long |
union(K destination,
K... sourceKeys)
Merges all values of given sourceKeys into destination key.
|
Long add(K key, V... values)
key - must not be null.values - must not be null.Long size(K... keys)
keys - must not be null or empty.Long union(K destination, K... sourceKeys)
destination - key of HyperLogLog to move source keys into.sourceKeys - must not be null or empty.void delete(K key)
key - must not be null.