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
ConstructorDescriptionReactiveTransactionalHyperLogLogCommandsImpl
(ReactiveTransactionalRedisDataSource ds, ReactiveHyperLogLogCommandsImpl<K, V> reactive, TransactionHolder tx) -
Method Summary
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 Details
-
ReactiveTransactionalHyperLogLogCommandsImpl
public ReactiveTransactionalHyperLogLogCommandsImpl(ReactiveTransactionalRedisDataSource ds, ReactiveHyperLogLogCommandsImpl<K, V> reactive, TransactionHolder tx)
-
-
Method Details
-
pfadd
Description copied from interface:ReactiveTransactionalHyperLogLogCommands
Execute the command PFADD. Summary: Adds the specified elements to the specified HyperLogLog. Group: hyperloglog Requires Redis 2.8.9- Specified by:
pfadd
in interfaceReactiveTransactionalHyperLogLogCommands<K,
V> - 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
Description copied from interface:ReactiveTransactionalHyperLogLogCommands
Execute the command PFMERGE. Summary: Merge N different HyperLogLogs into a single one. Group: hyperloglog Requires Redis 2.8.9- Specified by:
pfmerge
in interfaceReactiveTransactionalHyperLogLogCommands<K,
V> - Parameters:
destkey
- the keysourcekeys
- the source keys
-
pfcount
Description copied from interface:ReactiveTransactionalHyperLogLogCommands
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- Specified by:
pfcount
in interfaceReactiveTransactionalHyperLogLogCommands<K,
V> - 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.
-