Class BlockingHyperLogLogCommandsImpl<K,V>
java.lang.Object
io.quarkus.redis.runtime.datasource.AbstractRedisCommandGroup
io.quarkus.redis.runtime.datasource.BlockingHyperLogLogCommandsImpl<K,V>
- All Implemented Interfaces:
HyperLogLogCommands<K,
,V> RedisCommands
public class BlockingHyperLogLogCommandsImpl<K,V>
extends AbstractRedisCommandGroup
implements HyperLogLogCommands<K,V>
-
Field Summary
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractRedisCommandGroup
ds, timeout
-
Constructor Summary
ConstructorDescriptionBlockingHyperLogLogCommandsImpl
(RedisDataSource ds, ReactiveHyperLogLogCommands<K, V> reactive, Duration timeout) -
Method Summary
Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractRedisCommandGroup
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.RedisCommands
getDataSource
-
Constructor Details
-
BlockingHyperLogLogCommandsImpl
public BlockingHyperLogLogCommandsImpl(RedisDataSource ds, ReactiveHyperLogLogCommands<K, V> reactive, Duration timeout)
-
-
Method Details
-
pfadd
Description copied from interface:HyperLogLogCommands
Execute the command PFADD. Summary: Adds the specified elements to the specified HyperLogLog. Group: hyperloglog Requires Redis 2.8.9- Specified by:
pfadd
in interfaceHyperLogLogCommands<K,
V> - Parameters:
key
- the keyvalues
- the values- Returns:
true
at least 1 HyperLogLog internal register was altered.false
otherwise.
-
pfmerge
Description copied from interface:HyperLogLogCommands
Execute the command PFMERGE. Summary: Merge N different HyperLogLogs into a single one. Group: hyperloglog Requires Redis 2.8.9- Specified by:
pfmerge
in interfaceHyperLogLogCommands<K,
V> - Parameters:
destkey
- the keysourcekeys
- the source keys
-
pfcount
Description copied from interface:HyperLogLogCommands
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 interfaceHyperLogLogCommands<K,
V> - Returns:
- The approximated number of unique elements observed via PFADD.
-