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