K
- Key type.V
- Value type.public interface RedisHLLAsyncConnection<K,V>
Modifier and Type | Method and Description |
---|---|
RedisFuture<Long> |
pfadd(K key,
V value,
V... moreValues)
Adds the specified elements to the specified HyperLogLog.
|
RedisFuture<Long> |
pfcount(K key,
K... moreKeys)
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
|
RedisFuture<String> |
pfmerge(K destkey,
K sourcekey,
K... moreSourceKeys)
Merge N different HyperLogLogs into a single one.
|
RedisFuture<Long> pfadd(K key, V value, V... moreValues)
key
- the keyvalue
- the valuemoreValues
- more valuesRedisFuture<String> pfmerge(K destkey, K sourcekey, K... moreSourceKeys)
destkey
- the destination keysourcekey
- the source keymoreSourceKeys
- more source keysOK
.RedisFuture<Long> pfcount(K key, K... moreKeys)
key
- the keymoreKeys
- more keysPFADD
.Copyright © 2016. All rights reserved.