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