Class BlockingHyperLogLogCommandsImpl<K,V>
- java.lang.Object
-
- io.quarkus.redis.runtime.datasource.BlockingHyperLogLogCommandsImpl<K,V>
-
- All Implemented Interfaces:
HyperLogLogCommands<K,V>
public class BlockingHyperLogLogCommandsImpl<K,V> extends Object implements HyperLogLogCommands<K,V>
-
-
Constructor Summary
Constructors Constructor Description BlockingHyperLogLogCommandsImpl(ReactiveHyperLogLogCommands<K,V> reactive, Duration timeout)
-
-
-
Constructor Detail
-
BlockingHyperLogLogCommandsImpl
public BlockingHyperLogLogCommandsImpl(ReactiveHyperLogLogCommands<K,V> reactive, Duration timeout)
-
-
Method Detail
-
pfadd
public boolean pfadd(K key, V... values)
Description copied from interface:HyperLogLogCommandsExecute the command PFADD. Summary: Adds the specified elements to the specified HyperLogLog. Group: hyperloglog Requires Redis 2.8.9- Specified by:
pfaddin interfaceHyperLogLogCommands<K,V>- Parameters:
key- the keyvalues- the values- Returns:
trueat least 1 HyperLogLog internal register was altered. 0 otherwise.
-
pfmerge
public void pfmerge(K destkey, K... sourcekeys)
Description copied from interface:HyperLogLogCommandsExecute the command PFMERGE. Summary: Merge N different HyperLogLogs into a single one. Group: hyperloglog Requires Redis 2.8.9- Specified by:
pfmergein interfaceHyperLogLogCommands<K,V>- Parameters:
destkey- the keysourcekeys- the source keys
-
pfcount
public long pfcount(K... keys)
Description copied from interface:HyperLogLogCommandsExecute 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 interfaceHyperLogLogCommands<K,V>- Returns:
- The approximated number of unique elements observed via PFADD.
-
-