Class BlockingTransactionalHyperLogLogCommandsImpl<K,V>
- java.lang.Object
-
- io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
-
- io.quarkus.redis.runtime.datasource.BlockingTransactionalHyperLogLogCommandsImpl<K,V>
-
- All Implemented Interfaces:
TransactionalHyperLogLogCommands<K,V>,TransactionalRedisCommands
public class BlockingTransactionalHyperLogLogCommandsImpl<K,V> extends AbstractTransactionalRedisCommandGroup implements TransactionalHyperLogLogCommands<K,V>
-
-
Field Summary
-
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
ds, timeout
-
-
Constructor Summary
Constructors Constructor Description BlockingTransactionalHyperLogLogCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalHyperLogLogCommands<K,V> reactive, Duration timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpfadd(K key, V... values)Execute the command PFADD.voidpfcount(K... keys)Execute the command PFCOUNT.voidpfmerge(K destkey, K... sourcekeys)Execute the command PFMERGE.-
Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
getDataSource
-
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.TransactionalRedisCommands
getDataSource
-
-
-
-
Constructor Detail
-
BlockingTransactionalHyperLogLogCommandsImpl
public BlockingTransactionalHyperLogLogCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalHyperLogLogCommands<K,V> reactive, Duration timeout)
-
-
Method Detail
-
pfadd
public void pfadd(K key, V... values)
Description copied from interface:TransactionalHyperLogLogCommandsExecute the command PFADD. Summary: Adds the specified elements to the specified HyperLogLog. Group: hyperloglog Requires Redis 2.8.9- Specified by:
pfaddin interfaceTransactionalHyperLogLogCommands<K,V>- Parameters:
key- the keyvalues- the values
-
pfmerge
public void pfmerge(K destkey, K... sourcekeys)
Description copied from interface:TransactionalHyperLogLogCommandsExecute the command PFMERGE. Summary: Merge N different HyperLogLogs into a single one. Group: hyperloglog Requires Redis 2.8.9- Specified by:
pfmergein interfaceTransactionalHyperLogLogCommands<K,V>- Parameters:
destkey- the keysourcekeys- the source keys
-
pfcount
public void pfcount(K... keys)
Description copied from interface:TransactionalHyperLogLogCommandsExecute 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 interfaceTransactionalHyperLogLogCommands<K,V>
-
-