Class ReactiveTransactionalHyperLogLogCommandsImpl<K,​V>

    • Method Detail

      • pfadd

        public io.smallrye.mutiny.Uni<Void> pfadd​(K key,
                                                  V... values)
        Description copied from interface: ReactiveTransactionalHyperLogLogCommands
        Execute the command PFADD. Summary: Adds the specified elements to the specified HyperLogLog. Group: hyperloglog Requires Redis 2.8.9
        Specified by:
        pfadd in interface ReactiveTransactionalHyperLogLogCommands<K,​V>
        Parameters:
        key - the key
        values - the values
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
      • pfcount

        public io.smallrye.mutiny.Uni<Void> pfcount​(K... keys)
        Description copied from interface: ReactiveTransactionalHyperLogLogCommands
        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 interface ReactiveTransactionalHyperLogLogCommands<K,​V>
        Returns:
        A Uni emitting null when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.