K - Key type.V - Value type.public interface NodeSelectionHLLAsyncCommands<K,V>
| Modifier and Type | Method and Description |
|---|---|
AsyncExecutions<Long> |
pfadd(K key,
V... values)
Adds the specified elements to the specified HyperLogLog.
|
AsyncExecutions<Long> |
pfcount(K... keys)
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
|
AsyncExecutions<String> |
pfmerge(K destkey,
K... sourcekeys)
Merge N different HyperLogLogs into a single one.
|
AsyncExecutions<Long> pfadd(K key, V... values)
key - the key.values - the values.AsyncExecutions<String> pfmerge(K destkey, K... sourcekeys)
destkey - the destination key.sourcekeys - the source key.OK.AsyncExecutions<Long> pfcount(K... keys)
keys - the keys.PFADD.Copyright © 2020 lettuce.io. All rights reserved.