Interface ReactiveTransactionalHyperLogLogCommands<K,V>
-
- All Superinterfaces:
ReactiveTransactionalRedisCommands
- All Known Implementing Classes:
ReactiveTransactionalHyperLogLogCommandsImpl
public interface ReactiveTransactionalHyperLogLogCommands<K,V> extends ReactiveTransactionalRedisCommands
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<Void>
pfadd(K key, V... values)
Execute the command PFADD.io.smallrye.mutiny.Uni<Void>
pfcount(K... keys)
Execute the command PFCOUNT.io.smallrye.mutiny.Uni<Void>
pfmerge(K destkey, K... sourcekeys)
Execute the command PFMERGE.-
Methods inherited from interface io.quarkus.redis.datasource.ReactiveTransactionalRedisCommands
getDataSource
-
-
-
-
Method Detail
-
pfadd
io.smallrye.mutiny.Uni<Void> pfadd(K key, V... values)
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:
- A
Uni
emittingnull
when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
pfmerge
io.smallrye.mutiny.Uni<Void> pfmerge(K destkey, K... sourcekeys)
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
-
pfcount
io.smallrye.mutiny.Uni<Void> pfcount(K... keys)
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:
- A
Uni
emittingnull
when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
-