Class ReactiveHyperLogLogCommandsImpl<K,V>
java.lang.Object
io.quarkus.redis.runtime.datasource.AbstractRedisCommands
io.quarkus.redis.runtime.datasource.AbstractHyperLogLogCommands<K,V>
io.quarkus.redis.runtime.datasource.ReactiveHyperLogLogCommandsImpl<K,V>
- All Implemented Interfaces:
ReactiveHyperLogLogCommands<K,,V> ReactiveRedisCommands
public class ReactiveHyperLogLogCommandsImpl<K,V>
extends AbstractHyperLogLogCommands<K,V>
implements ReactiveHyperLogLogCommands<K,V>
-
Field Summary
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractRedisCommands
marshaller, redis -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractHyperLogLogCommands
_pfadd, _pfcount, _pfmergeMethods inherited from class io.quarkus.redis.runtime.datasource.AbstractRedisCommands
execute, isMap
-
Constructor Details
-
ReactiveHyperLogLogCommandsImpl
-
-
Method Details
-
getDataSource
- Specified by:
getDataSourcein interfaceReactiveRedisCommands- Returns:
- the data source.
-
pfadd
Description copied from interface:ReactiveHyperLogLogCommandsExecute the command PFADD. Summary: Adds the specified elements to the specified HyperLogLog. Group: hyperloglog Requires Redis 2.8.9- Specified by:
pfaddin interfaceReactiveHyperLogLogCommands<K,V> - Parameters:
key- the keyvalues- the values- Returns:
trueat least 1 HyperLogLog internal register was altered.falseotherwise.
-
pfmerge
Description copied from interface:ReactiveHyperLogLogCommandsExecute the command PFMERGE. Summary: Merge N different HyperLogLogs into a single one. Group: hyperloglog Requires Redis 2.8.9- Specified by:
pfmergein interfaceReactiveHyperLogLogCommands<K,V> - Parameters:
destination- the keysources- the source keys- Returns:
- a Uni emitting a
nullitem on completion
-
pfcount
Description copied from interface:ReactiveHyperLogLogCommandsExecute 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 interfaceReactiveHyperLogLogCommands<K,V> - Returns:
- The approximated number of unique elements observed via PFADD.
-