Class ReactiveTransactionalSortedSetCommandsImpl<K,​V>

    • Method Detail

      • zadd

        public io.smallrye.mutiny.Uni<Void> zadd​(K key,
                                                 double score,
                                                 V member)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZADD. Summary: Add one or more members to a sorted set, or update its score if it already exists Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zadd in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        score - the score
        member - the member
        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.
      • zadd

        public io.smallrye.mutiny.Uni<Void> zadd​(K key,
                                                 Map<V,​Double> items)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZADD. Summary: Add one or more members to a sorted set, or update its score if it already exists Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zadd in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        items - the map of score/value to be added
        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.
      • zadd

        public io.smallrye.mutiny.Uni<Void> zadd​(K key,
                                                 ScoredValue<V>... items)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZADD. Summary: Add one or more members to a sorted set, or update its score if it already exists Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zadd in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        items - the pairs of value/score to be added
        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.
      • zadd

        public io.smallrye.mutiny.Uni<Void> zadd​(K key,
                                                 ZAddArgs zAddArgs,
                                                 double score,
                                                 V member)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZADD. Summary: Add one or more members to a sorted set, or update its score if it already exists Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zadd in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        zAddArgs - the extra parameter
        score - the score
        member - the member
        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.
      • zadd

        public io.smallrye.mutiny.Uni<Void> zadd​(K key,
                                                 ZAddArgs zAddArgs,
                                                 Map<V,​Double> items)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZADD. Summary: Add one or more members to a sorted set, or update its score if it already exists Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zadd in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        zAddArgs - the extra parameter
        items - the map of value/score to be added
        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.
      • zadd

        public io.smallrye.mutiny.Uni<Void> zadd​(K key,
                                                 ZAddArgs zAddArgs,
                                                 ScoredValue<V>... items)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZADD. Summary: Add one or more members to a sorted set, or update its score if it already exists Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zadd in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        zAddArgs - the extra parameter
        items - the pairs of score/value to be added
        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.
      • zaddincr

        public io.smallrye.mutiny.Uni<Void> zaddincr​(K key,
                                                     double score,
                                                     V member)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZADD. Summary: Add one or more members to a sorted set, or update its score if it already exists applying the INCR option Group: sorted-set Requires Redis 1.2.0

        This variant of ZADD acts like ZINCRBY. Only one score-element pair can be specified in this mode.

        Specified by:
        zaddincr in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key.
        score - the increment.
        member - the member.
        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.
      • zaddincr

        public io.smallrye.mutiny.Uni<Void> zaddincr​(K key,
                                                     ZAddArgs zAddArgs,
                                                     double score,
                                                     V member)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZADD. Summary: Add one or more members to a sorted set, or update its score if it already exists applying the INCR option Group: sorted-set Requires Redis 1.2.0

        This variant of ZADD acts like ZINCRBY. Only one score-element pair can be specified in this mode.

        Specified by:
        zaddincr in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key.
        score - the increment.
        member - the member.
        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.
      • zcard

        public io.smallrye.mutiny.Uni<Void> zcard​(K key)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZCARD. Summary: Get the number of members in a sorted set Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zcard in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        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.
      • zcount

        public io.smallrye.mutiny.Uni<Void> zcount​(K key,
                                                   ScoreRange<Double> range)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZCOUNT. Summary: Count the members in a sorted set with scores within the given values Group: sorted-set Requires Redis 2.0.0
        Specified by:
        zcount in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        range - the range
        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.
      • zdiff

        public io.smallrye.mutiny.Uni<Void> zdiff​(K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZDIFF. Summary: Subtract multiple sorted sets Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zdiff in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        keys - the keys
        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.
      • zdiffWithScores

        public io.smallrye.mutiny.Uni<Void> zdiffWithScores​(K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZDIFF. Summary: Subtract multiple sorted sets, and returns the list of keys with their scores Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zdiffWithScores in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        keys - the keys
        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.
      • zdiffstore

        public io.smallrye.mutiny.Uni<Void> zdiffstore​(K destination,
                                                       K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZDIFFSTORE. Summary: Subtract multiple sorted sets and store the resulting sorted set in a new key Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zdiffstore in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        destination - the destination key
        keys - the keys to compare
        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.
      • zincrby

        public io.smallrye.mutiny.Uni<Void> zincrby​(K key,
                                                    double increment,
                                                    V member)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZINCRBY. Summary: Increment the score of a member in a sorted set Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zincrby in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        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.
      • zinter

        public io.smallrye.mutiny.Uni<Void> zinter​(ZAggregateArgs arguments,
                                                   K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zinter in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        arguments - the ZINTER command extra-arguments
        keys - the keys
        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.
      • zinter

        public io.smallrye.mutiny.Uni<Void> zinter​(K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zinter in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        keys - the keys
        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.
      • zinterWithScores

        public io.smallrye.mutiny.Uni<Void> zinterWithScores​(ZAggregateArgs arguments,
                                                             K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zinterWithScores in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        arguments - the ZINTER command extra-arguments
        keys - the keys
        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.
      • zinterWithScores

        public io.smallrye.mutiny.Uni<Void> zinterWithScores​(K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zinterWithScores in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        keys - the keys
        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.
      • zintercard

        public io.smallrye.mutiny.Uni<Void> zintercard​(K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZINTERCARD. Summary: Intersect multiple sorted sets and return the cardinality of the result Group: sorted-set Requires Redis 7.0.0
        Specified by:
        zintercard in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        keys - the keys
        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.
      • zintercard

        public io.smallrye.mutiny.Uni<Void> zintercard​(long limit,
                                                       K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZINTERCARD. Summary: Intersect multiple sorted sets and return the cardinality of the result Group: sorted-set Requires Redis 7.0.0
        Specified by:
        zintercard in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        limit - if the intersection cardinality reaches limit partway through the computation, the algorithm will exit and yield limit as the cardinality.
        keys - the keys
        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.
      • zinterstore

        public io.smallrye.mutiny.Uni<Void> zinterstore​(K destination,
                                                        ZAggregateArgs arguments,
                                                        K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZINTERSTORE. Summary: Intersect multiple sorted sets and store the resulting sorted set in a new key Group: sorted-set Requires Redis 2.0.0
        Specified by:
        zinterstore in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        destination - the destination key
        arguments - the ZINTERSTORE command extra-arguments
        keys - the keys of the sorted set to analyze
        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.
      • zinterstore

        public io.smallrye.mutiny.Uni<Void> zinterstore​(K destination,
                                                        K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZINTERSTORE. Summary: Intersect multiple sorted sets and store the resulting sorted set in a new key Group: sorted-set Requires Redis 2.0.0
        Specified by:
        zinterstore in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        destination - the destination key
        keys - the keys of the sorted set to analyze
        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.
      • zlexcount

        public io.smallrye.mutiny.Uni<Void> zlexcount​(K key,
                                                      Range<String> range)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZLEXCOUNT. Summary: Count the number of members in a sorted set between a given lexicographical range Group: sorted-set Requires Redis 2.8.9
        Specified by:
        zlexcount in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        range - the range
        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.
      • zmpopMin

        public io.smallrye.mutiny.Uni<Void> zmpopMin​(K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZMPOP. Summary: Remove and return members with scores in a sorted set Group: sorted-set Requires Redis 7.0.0

        The elements popped are those with the lowest scores from the first non-empty sorted set.

        Specified by:
        zmpopMin in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        keys - the keys
        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.
      • zmpopMin

        public io.smallrye.mutiny.Uni<Void> zmpopMin​(int count,
                                                     K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZMPOP. Summary: Remove and return members with scores in a sorted set Group: sorted-set Requires Redis 7.0.0

        The elements popped are those with the lowest scores from the first non-empty sorted set.

        Specified by:
        zmpopMin in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        count - the max number of element to pop
        keys - the keys
        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.
      • zmpopMax

        public io.smallrye.mutiny.Uni<Void> zmpopMax​(K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZMPOP. Summary: Remove and return members with scores in a sorted set Group: sorted-set Requires Redis 7.0.0

        The elements with the highest scores to be popped.

        Specified by:
        zmpopMax in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        keys - the keys
        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.
      • zmpopMax

        public io.smallrye.mutiny.Uni<Void> zmpopMax​(int count,
                                                     K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZMPOP. Summary: Remove and return members with scores in a sorted set Group: sorted-set Requires Redis 7.0.0

        The elements with the highest scores to be popped.

        Specified by:
        zmpopMax in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        count - the max number of element to pop
        keys - the keys
        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.
      • bzmpopMin

        public io.smallrye.mutiny.Uni<Void> bzmpopMin​(Duration timeout,
                                                      K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command BZMPOP. Summary: Remove and return members with scores in a sorted set or block until one is available. Group: sorted-set Requires Redis 7.0.0

        The elements popped are those with the lowest scores from the first non-empty sorted set.

        Specified by:
        bzmpopMin in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        timeout - the timeout
        keys - the keys
        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.
      • bzmpopMin

        public io.smallrye.mutiny.Uni<Void> bzmpopMin​(Duration timeout,
                                                      int count,
                                                      K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command BZMPOP. Summary: Remove and return members with scores in a sorted set or block until one is available. Group: sorted-set Requires Redis 7.0.0

        The elements popped are those with the lowest scores from the first non-empty sorted set.

        Specified by:
        bzmpopMin in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        timeout - the timeout
        count - the max number of element to pop
        keys - the keys
        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.
      • bzmpopMax

        public io.smallrye.mutiny.Uni<Void> bzmpopMax​(Duration timeout,
                                                      K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command BZMPOP. Summary: Remove and return members with scores in a sorted set or block until one is available. Group: sorted-set Requires Redis 7.0.0

        The elements with the highest scores to be popped.

        Specified by:
        bzmpopMax in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        timeout - the timeout
        keys - the keys
        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.
      • bzmpopMax

        public io.smallrye.mutiny.Uni<Void> bzmpopMax​(Duration timeout,
                                                      int count,
                                                      K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command BZMPOP. Summary: Remove and return members with scores in a sorted set or block until one is available. Group: sorted-set Requires Redis 7.0.0

        The elements with the highest scores to be popped.

        Specified by:
        bzmpopMax in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        timeout - the timeout
        count - the max number of element to pop
        keys - the keys
        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.
      • zmscore

        public io.smallrye.mutiny.Uni<Void> zmscore​(K key,
                                                    V... members)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZMSCORE. Summary: Get the score associated with the given members in a sorted set Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zmscore in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        members - the members
        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.
      • zpopmax

        public io.smallrye.mutiny.Uni<Void> zpopmax​(K key)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZPOPMAX. Summary: Remove and return members with the highest scores in a sorted set Group: sorted-set Requires Redis 5.0.0
        Specified by:
        zpopmax in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        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.
      • zpopmax

        public io.smallrye.mutiny.Uni<Void> zpopmax​(K key,
                                                    int count)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZPOPMAX. Summary: Remove and return members with the highest scores in a sorted set Group: sorted-set Requires Redis 5.0.0
        Specified by:
        zpopmax in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        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.
      • zpopmin

        public io.smallrye.mutiny.Uni<Void> zpopmin​(K key)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZPOPMIN. Summary: Remove and return members with the lowest scores in a sorted set Group: sorted-set Requires Redis 5.0.0
        Specified by:
        zpopmin in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        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.
      • zpopmin

        public io.smallrye.mutiny.Uni<Void> zpopmin​(K key,
                                                    int count)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZPOPMIN. Summary: Remove and return members with the lowest scores in a sorted set Group: sorted-set Requires Redis 5.0.0
        Specified by:
        zpopmin in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        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.
      • zrandmember

        public io.smallrye.mutiny.Uni<Void> zrandmember​(K key)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANDMEMBER. Summary: Get one or multiple random elements from a sorted set Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zrandmember in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        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.
      • zrandmember

        public io.smallrye.mutiny.Uni<Void> zrandmember​(K key,
                                                        int count)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANDMEMBER. Summary: Get one or multiple random elements from a sorted set Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zrandmember in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        count - the number of member to select
        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.
      • zrandmemberWithScores

        public io.smallrye.mutiny.Uni<Void> zrandmemberWithScores​(K key)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANDMEMBER. Summary: Get one or multiple random elements from a sorted set Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zrandmemberWithScores in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        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.
      • zrandmemberWithScores

        public io.smallrye.mutiny.Uni<Void> zrandmemberWithScores​(K key,
                                                                  int count)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANDMEMBER. Summary: Get one or multiple random elements from a sorted set Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zrandmemberWithScores in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        count - the number of member to select
        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.
      • bzpopmin

        public io.smallrye.mutiny.Uni<Void> bzpopmin​(Duration timeout,
                                                     K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command BZPOPMIN. Summary: Remove and return the member with the lowest score from one or more sorted sets, or block until one is available Group: sorted-set Requires Redis 5.0.0
        Specified by:
        bzpopmin in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        timeout - the max timeout
        keys - the keys
        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.
      • bzpopmax

        public io.smallrye.mutiny.Uni<Void> bzpopmax​(Duration timeout,
                                                     K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command BZPOPMAX. Summary: Remove and return the member with the highest score from one or more sorted sets, or block until one is available Group: sorted-set Requires Redis 5.0.0
        Specified by:
        bzpopmax in interface ReactiveTransactionalSortedSetCommands<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.
      • zrange

        public io.smallrye.mutiny.Uni<Void> zrange​(K key,
                                                   long start,
                                                   long stop,
                                                   ZRangeArgs args)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGE. Summary: Return a range of members in a sorted set Group: sorted-set Requires Redis 1.2.0

        This method extracts a range my rank/index in the stream.

        Specified by:
        zrange in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        start - the start position
        stop - the stop position
        args - the extra ZRANGE parameters
        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.
      • zrangeWithScores

        public io.smallrye.mutiny.Uni<Void> zrangeWithScores​(K key,
                                                             long start,
                                                             long stop,
                                                             ZRangeArgs args)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGE. Summary: Return a range of members in a sorted set Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zrangeWithScores in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        start - the start position
        stop - the stop position
        args - the extra ZRANGE parameters
        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.
      • zrange

        public io.smallrye.mutiny.Uni<Void> zrange​(K key,
                                                   long start,
                                                   long stop)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGE. Summary: Return a range of members in a sorted set Group: sorted-set Requires Redis 1.2.0

        This method extracts a range my rank/index in the stream.

        Specified by:
        zrange in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        start - the start position
        stop - the stop position
        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.
      • zrangeWithScores

        public io.smallrye.mutiny.Uni<Void> zrangeWithScores​(K key,
                                                             long start,
                                                             long stop)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGE. Summary: Return a range of members in a sorted set Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zrangeWithScores in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        start - the start position
        stop - the stop position
        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.
      • zrangebylex

        public io.smallrye.mutiny.Uni<Void> zrangebylex​(K key,
                                                        Range<String> range,
                                                        ZRangeArgs args)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGE. Summary: Return a range of members in a sorted set using lexicographical ranges Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zrangebylex in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        range - the range
        args - the extra ZRANGE parameters
        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.
      • zrangebylex

        public io.smallrye.mutiny.Uni<Void> zrangebylex​(K key,
                                                        Range<String> range)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGE. Summary: Return a range of members in a sorted set using lexicographical ranges Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zrangebylex in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        range - the range
        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.
      • zrangebyscore

        public io.smallrye.mutiny.Uni<Void> zrangebyscore​(K key,
                                                          ScoreRange<Double> range,
                                                          ZRangeArgs args)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGE. Summary: Return a range of members in a sorted set using score ranges Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zrangebyscore in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        range - the range
        args - the extra ZRANGE parameters
        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.
      • zrangebyscoreWithScores

        public io.smallrye.mutiny.Uni<Void> zrangebyscoreWithScores​(K key,
                                                                    ScoreRange<Double> range,
                                                                    ZRangeArgs args)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGE. Summary: Return a range of members in a sorted set using lexicographical ranges Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zrangebyscoreWithScores in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        range - the range
        args - the extra ZRANGE parameters
        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.
      • zrangebyscore

        public io.smallrye.mutiny.Uni<Void> zrangebyscore​(K key,
                                                          ScoreRange<Double> range)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGE. Summary: Return a range of members in a sorted set using score ranges Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zrangebyscore in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        range - the range
        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.
      • zrangebyscoreWithScores

        public io.smallrye.mutiny.Uni<Void> zrangebyscoreWithScores​(K key,
                                                                    ScoreRange<Double> range)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGE. Summary: Return a range of members in a sorted set using score ranges Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zrangebyscoreWithScores in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        range - the range
        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.
      • zrangestore

        public io.smallrye.mutiny.Uni<Void> zrangestore​(K dst,
                                                        K src,
                                                        long min,
                                                        long max,
                                                        ZRangeArgs args)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGESTORE. Summary: Store a range (by rank) of members from sorted set into another key Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zrangestore in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        dst - the key
        src - the key
        min - the lower bound of the range
        max - the upper bound of the range
        args - the ZRANGESTORE command extra-arguments
        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.
      • zrangestore

        public io.smallrye.mutiny.Uni<Void> zrangestore​(K dst,
                                                        K src,
                                                        long min,
                                                        long max)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGESTORE. Summary: Store a range (by rank) of members from sorted set into another key Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zrangestore in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        dst - the key
        src - the key
        min - the lower bound of the range
        max - the upper bound of the range
        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.
      • zrangestorebylex

        public io.smallrye.mutiny.Uni<Void> zrangestorebylex​(K dst,
                                                             K src,
                                                             Range<String> range,
                                                             ZRangeArgs args)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGESTORE. Summary: Store a range (by lexicographical order) of members from sorted set into another key Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zrangestorebylex in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        dst - the key
        src - the key
        range - the range
        args - the ZRANGESTORE command extra-arguments
        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.
      • zrangestorebylex

        public io.smallrye.mutiny.Uni<Void> zrangestorebylex​(K dst,
                                                             K src,
                                                             Range<String> range)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGESTORE. Summary: Store a range (by lexicographical order) of members from sorted set into another key Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zrangestorebylex in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        dst - the key
        src - the key
        range - the range
        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.
      • zrangestorebyscore

        public io.smallrye.mutiny.Uni<Void> zrangestorebyscore​(K dst,
                                                               K src,
                                                               ScoreRange<Double> range,
                                                               ZRangeArgs args)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGESTORE. Summary: Store a range (by score order) of members from sorted set into another key Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zrangestorebyscore in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        dst - the key
        src - the key
        range - the range
        args - the ZRANGESTORE command extra-arguments
        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.
      • zrangestorebyscore

        public io.smallrye.mutiny.Uni<Void> zrangestorebyscore​(K dst,
                                                               K src,
                                                               ScoreRange<Double> range)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANGESTORE. Summary: Store a range (by score order) of members from sorted set into another key Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zrangestorebyscore in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        dst - the key
        src - the key
        range - the range
        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.
      • zrank

        public io.smallrye.mutiny.Uni<Void> zrank​(K key,
                                                  V member)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZRANK. Summary: Determine the index of a member in a sorted set Group: sorted-set Requires Redis 2.0.0
        Specified by:
        zrank in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        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.
      • zrem

        public io.smallrye.mutiny.Uni<Void> zrem​(K key,
                                                 V... members)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZREM. Summary: Remove one or more members from a sorted set Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zrem in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        members - the members to remove
        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.
      • zremrangebylex

        public io.smallrye.mutiny.Uni<Void> zremrangebylex​(K key,
                                                           Range<String> range)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZREMRANGEBYLEX. Summary: Remove all members in a sorted set between the given lexicographical range Group: sorted-set Requires Redis 2.8.9
        Specified by:
        zremrangebylex in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        range - the range
        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.
      • zremrangebyrank

        public io.smallrye.mutiny.Uni<Void> zremrangebyrank​(K key,
                                                            long start,
                                                            long stop)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZREMRANGEBYRANK. Summary: Remove all members in a sorted set within the given indexes Group: sorted-set Requires Redis 2.0.0
        Specified by:
        zremrangebyrank in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        start - the lower bound of the range
        stop - the upper bound of the range
        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.
      • zrevrank

        public io.smallrye.mutiny.Uni<Void> zrevrank​(K key,
                                                     V member)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZREVRANK. Summary: Determine the index of a member in a sorted set, with scores ordered from high to low Group: sorted-set Requires Redis 2.0.0
        Specified by:
        zrevrank in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        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.
      • zscore

        public io.smallrye.mutiny.Uni<Void> zscore​(K key,
                                                   V member)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZSCORE. Summary: Get the score associated with the given member in a sorted set Group: sorted-set Requires Redis 1.2.0
        Specified by:
        zscore in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        key - the key
        member - the member
        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.
      • zunion

        public io.smallrye.mutiny.Uni<Void> zunion​(ZAggregateArgs args,
                                                   K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zunion in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        args - the ZUNION command extra-arguments
        keys - the keys
        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.
      • zunion

        public io.smallrye.mutiny.Uni<Void> zunion​(K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zunion in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        keys - the keys
        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.
      • zunionWithScores

        public io.smallrye.mutiny.Uni<Void> zunionWithScores​(ZAggregateArgs args,
                                                             K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zunionWithScores in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        args - the ZUNION command extra-arguments
        keys - the keys
        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.
      • zunionWithScores

        public io.smallrye.mutiny.Uni<Void> zunionWithScores​(K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0
        Specified by:
        zunionWithScores in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        keys - the keys
        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.
      • zunionstore

        public io.smallrye.mutiny.Uni<Void> zunionstore​(K destination,
                                                        ZAggregateArgs args,
                                                        K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZUNIONSTORE. Summary: Add multiple sorted sets and store the resulting sorted set in a new key Group: sorted-set Requires Redis 2.0.0
        Specified by:
        zunionstore in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        destination - the destination key
        args - the zunionstore command extra-arguments
        keys - the keys
        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.
      • zunionstore

        public io.smallrye.mutiny.Uni<Void> zunionstore​(K destination,
                                                        K... keys)
        Description copied from interface: ReactiveTransactionalSortedSetCommands
        Execute the command ZUNIONSTORE. Summary: Add multiple sorted sets and store the resulting sorted set in a new key Group: sorted-set Requires Redis 2.0.0
        Specified by:
        zunionstore in interface ReactiveTransactionalSortedSetCommands<K,​V>
        Parameters:
        destination - the destination key
        keys - the keys
        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.