Class ReactiveTransactionalHyperLogLogCommandsImpl<K,V>
- java.lang.Object
-
- io.quarkus.redis.runtime.datasource.AbstractTransactionalCommands
-
- io.quarkus.redis.runtime.datasource.ReactiveTransactionalHyperLogLogCommandsImpl<K,V>
-
- All Implemented Interfaces:
ReactiveTransactionalHyperLogLogCommands<K,V>,ReactiveTransactionalRedisCommands
public class ReactiveTransactionalHyperLogLogCommandsImpl<K,V> extends AbstractTransactionalCommands implements ReactiveTransactionalHyperLogLogCommands<K,V>
-
-
Field Summary
-
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalCommands
tx
-
-
Constructor Summary
Constructors Constructor Description ReactiveTransactionalHyperLogLogCommandsImpl(ReactiveTransactionalRedisDataSource ds, ReactiveHyperLogLogCommandsImpl<K,V> reactive, TransactionHolder tx)
-
Method Summary
All Methods Instance Methods Concrete 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 class io.quarkus.redis.runtime.datasource.AbstractTransactionalCommands
getDataSource, queuedOrDiscard
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.redis.datasource.ReactiveTransactionalRedisCommands
getDataSource
-
-
-
-
Constructor Detail
-
ReactiveTransactionalHyperLogLogCommandsImpl
public ReactiveTransactionalHyperLogLogCommandsImpl(ReactiveTransactionalRedisDataSource ds, ReactiveHyperLogLogCommandsImpl<K,V> reactive, TransactionHolder tx)
-
-
Method Detail
-
pfadd
public io.smallrye.mutiny.Uni<Void> pfadd(K key, V... values)
Description copied from interface:ReactiveTransactionalHyperLogLogCommandsExecute the command PFADD. Summary: Adds the specified elements to the specified HyperLogLog. Group: hyperloglog Requires Redis 2.8.9- Specified by:
pfaddin interfaceReactiveTransactionalHyperLogLogCommands<K,V>- Parameters:
key- the keyvalues- the values- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
pfmerge
public io.smallrye.mutiny.Uni<Void> pfmerge(K destkey, K... sourcekeys)
Description copied from interface:ReactiveTransactionalHyperLogLogCommandsExecute the command PFMERGE. Summary: Merge N different HyperLogLogs into a single one. Group: hyperloglog Requires Redis 2.8.9- Specified by:
pfmergein interfaceReactiveTransactionalHyperLogLogCommands<K,V>- Parameters:
destkey- the keysourcekeys- the source keys
-
pfcount
public io.smallrye.mutiny.Uni<Void> pfcount(K... keys)
Description copied from interface:ReactiveTransactionalHyperLogLogCommandsExecute 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- Specified by:
pfcountin interfaceReactiveTransactionalHyperLogLogCommands<K,V>- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
-