Interface ReactiveHyperLogLogCommands<K,V>
- Type Parameters:
K- the type of the keyV- the type of the value stored in the sets
- All Superinterfaces:
ReactiveRedisCommands
- All Known Implementing Classes:
ReactiveHyperLogLogCommandsImpl
Allows executing commands from the
hyperloglog group.
See the hyperloglog command list for further information about
these commands.
-
Method Summary
Methods inherited from interface io.quarkus.redis.datasource.ReactiveRedisCommands
getDataSource
-
Method Details
-
pfadd
Execute the command PFADD. Summary: Adds the specified elements to the specified HyperLogLog. Group: hyperloglog Requires Redis 2.8.9- Parameters:
key- the keyvalues- the values- Returns:
trueat least 1 HyperLogLog internal register was altered.falseotherwise.
-
pfmerge
Execute the command PFMERGE. Summary: Merge N different HyperLogLogs into a single one. Group: hyperloglog Requires Redis 2.8.9- Parameters:
destkey- the keysourcekeys- the source keys- Returns:
- a Uni emitting a
nullitem on completion
-
pfcount
Execute the command PFCOUNT. Summary: Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s). Group: hyperloglog Requires Redis 2.8.9- Returns:
- The approximated number of unique elements observed via PFADD.
-