Interface ReactiveHyperLogLogCommands<K,V>
-
- Type Parameters:
K- the type of the keyV- the type of the value stored in the sets
- All Known Implementing Classes:
ReactiveHyperLogLogCommandsImpl
public interface ReactiveHyperLogLogCommands<K,V>Allows executing commands from thehyperlogloggroup. See the hyperloglog command list for further information about these commands.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<Boolean>pfadd(K key, V... values)Execute the command PFADD.io.smallrye.mutiny.Uni<Long>pfcount(K... keys)Execute the command PFCOUNT.io.smallrye.mutiny.Uni<Void>pfmerge(K destkey, K... sourcekeys)Execute the command PFMERGE.
-
-
-
Method Detail
-
pfadd
io.smallrye.mutiny.Uni<Boolean> pfadd(K key, V... values)
Execute the command PFADD. Summary: Adds the specified elements to the specified HyperLogLog. Group: hyperloglog Requires Redis 2.8.9- Parameters:
key- the keyvalues- the values- Returns:
trueat least 1 HyperLogLog internal register was altered. 0 otherwise.
-
pfmerge
io.smallrye.mutiny.Uni<Void> pfmerge(K destkey, K... sourcekeys)
Execute the command PFMERGE. Summary: Merge N different HyperLogLogs into a single one. Group: hyperloglog Requires Redis 2.8.9- Parameters:
destkey- the keysourcekeys- the source keys- Returns:
- a Uni emitting a
nullitem on completion
-
-