Package io.lettuce.core.api.reactive
Interface RedisHLLReactiveCommands<K,V>
-
- Type Parameters:
K
- Key type.V
- Value type.
- All Known Subinterfaces:
RedisAdvancedClusterReactiveCommands<K,V>
,RedisClusterPubSubReactiveCommands<K,V>
,RedisClusterReactiveCommands<K,V>
,RedisPubSubReactiveCommands<K,V>
,RedisReactiveCommands<K,V>
- All Known Implementing Classes:
AbstractRedisReactiveCommands
,RedisAdvancedClusterReactiveCommandsImpl
,RedisClusterPubSubReactiveCommandsImpl
,RedisPubSubReactiveCommandsImpl
,RedisReactiveCommandsImpl
,RedisSentinelReactiveCommandsImpl
public interface RedisHLLReactiveCommands<K,V>
Reactive executed commands for HyperLogLog (PF* commands).- Since:
- 4.0
- Author:
- Mark Paluch
- Generated class:
- by io.lettuce.apigenerator.CreateReactiveApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Mono<Long>
pfadd(K key, V... values)
Adds the specified elements to the specified HyperLogLog.Mono<Long>
pfcount(K... keys)
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).Mono<String>
pfmerge(K destkey, K... sourcekeys)
Merge N different HyperLogLogs into a single one.
-
-
-
Method Detail
-
pfadd
Mono<Long> pfadd(K key, V... values)
Adds the specified elements to the specified HyperLogLog.- Parameters:
key
- the key.values
- the values.- Returns:
- Long integer-reply specifically: 1 if at least 1 HyperLogLog internal register was altered. 0 otherwise.
-
pfmerge
Mono<String> pfmerge(K destkey, K... sourcekeys)
Merge N different HyperLogLogs into a single one.- Parameters:
destkey
- the destination key.sourcekeys
- the source key.- Returns:
- String simple-string-reply The command just returns
OK
.
-
-