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 keyvalues
- the valuesString pfmerge(K destkey, K... sourcekeys)
destkey
- the destination keysourcekeys
- the source keyOK
.Copyright © 2018 lettuce.io. All rights reserved.