Class ReactiveTransactionalSetCommandsImpl<K,​V>

    • Method Detail

      • sadd

        public io.smallrye.mutiny.Uni<Void> sadd​(K key,
                                                 V... values)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SADD. Summary: Add one or more members to a set Group: set Requires Redis 1.0.0
        Specified by:
        sadd in interface ReactiveTransactionalSetCommands<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.
      • scard

        public io.smallrye.mutiny.Uni<Void> scard​(K key)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SCARD. Summary: Get the number of members in a set Group: set Requires Redis 1.0.0
        Specified by:
        scard in interface ReactiveTransactionalSetCommands<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.
      • sdiff

        public io.smallrye.mutiny.Uni<Void> sdiff​(K... keys)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SDIFF. Summary: Subtract multiple sets Group: set Requires Redis 1.0.0
        Specified by:
        sdiff in interface ReactiveTransactionalSetCommands<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.
      • sdiffstore

        public io.smallrye.mutiny.Uni<Void> sdiffstore​(K destination,
                                                       K... keys)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SDIFFSTORE. Summary: Subtract multiple sets and store the resulting set in a key Group: set Requires Redis 1.0.0
        Specified by:
        sdiffstore in interface ReactiveTransactionalSetCommands<K,​V>
        Parameters:
        destination - the 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.
      • sinter

        public io.smallrye.mutiny.Uni<Void> sinter​(K... keys)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SINTER. Summary: Intersect multiple sets Group: set Requires Redis 1.0.0
        Specified by:
        sinter in interface ReactiveTransactionalSetCommands<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.
      • sintercard

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

        public io.smallrye.mutiny.Uni<Void> sintercard​(int limit,
                                                       K... keys)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SINTERCARD. Summary: Intersect multiple sets and return the cardinality of the result Group: set Requires Redis 7.0.0
        Specified by:
        sintercard in interface ReactiveTransactionalSetCommands<K,​V>
        Parameters:
        limit - When provided with the optional LIMIT argument (which defaults to 0 and means unlimited), 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.
      • sinterstore

        public io.smallrye.mutiny.Uni<Void> sinterstore​(K destination,
                                                        K... keys)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SINTERSTORE. Summary: Intersect multiple sets and store the resulting set in a key Group: set Requires Redis 1.0.0
        Specified by:
        sinterstore in interface ReactiveTransactionalSetCommands<K,​V>
        Parameters:
        destination - the 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.
      • sismember

        public io.smallrye.mutiny.Uni<Void> sismember​(K key,
                                                      V member)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SISMEMBER. Summary: Determine if a given value is a member of a set Group: set Requires Redis 1.0.0
        Specified by:
        sismember in interface ReactiveTransactionalSetCommands<K,​V>
        Parameters:
        key - the key
        member - the member to check
        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.
      • smembers

        public io.smallrye.mutiny.Uni<Void> smembers​(K key)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SMEMBERS. Summary: Get all the members in a set Group: set Requires Redis 1.0.0
        Specified by:
        smembers in interface ReactiveTransactionalSetCommands<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.
      • smismember

        public io.smallrye.mutiny.Uni<Void> smismember​(K key,
                                                       V... members)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SMISMEMBER. Summary: Returns the membership associated with the given elements for a set Group: set Requires Redis 6.2.0
        Specified by:
        smismember in interface ReactiveTransactionalSetCommands<K,​V>
        Parameters:
        key - the key
        members - the members to check
        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.
      • smove

        public io.smallrye.mutiny.Uni<Void> smove​(K source,
                                                  K destination,
                                                  V member)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SMOVE. Summary: Move a member from one set to another Group: set Requires Redis 1.0.0
        Specified by:
        smove in interface ReactiveTransactionalSetCommands<K,​V>
        Parameters:
        source - the key
        destination - the key
        member - the member to move
        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.
      • spop

        public io.smallrye.mutiny.Uni<Void> spop​(K key)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SPOP. Summary: Remove and return one or multiple random members from a set Group: set Requires Redis 1.0.0
        Specified by:
        spop in interface ReactiveTransactionalSetCommands<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.
      • spop

        public io.smallrye.mutiny.Uni<Void> spop​(K key,
                                                 int count)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SPOP. Summary: Remove and return one or multiple random members from a set Group: set Requires Redis 1.0.0
        Specified by:
        spop in interface ReactiveTransactionalSetCommands<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.
      • srandmember

        public io.smallrye.mutiny.Uni<Void> srandmember​(K key)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SRANDMEMBER. Summary: Get one or multiple random members from a set Group: set Requires Redis 1.0.0
        Specified by:
        srandmember in interface ReactiveTransactionalSetCommands<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.
      • srandmember

        public io.smallrye.mutiny.Uni<Void> srandmember​(K key,
                                                        int count)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SRANDMEMBER. Summary: Get one or multiple random members from a set Group: set Requires Redis 1.0.0
        Specified by:
        srandmember in interface ReactiveTransactionalSetCommands<K,​V>
        Parameters:
        key - the key
        count - the number of elements to pick
        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.
      • srem

        public io.smallrye.mutiny.Uni<Void> srem​(K key,
                                                 V... members)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SREM. Summary: Remove one or more members from a set Group: set Requires Redis 1.0.0
        Specified by:
        srem in interface ReactiveTransactionalSetCommands<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.
      • sunion

        public io.smallrye.mutiny.Uni<Void> sunion​(K... keys)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SUNION. Summary: Add multiple sets Group: set Requires Redis 1.0.0
        Specified by:
        sunion in interface ReactiveTransactionalSetCommands<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.
      • sunionstore

        public io.smallrye.mutiny.Uni<Void> sunionstore​(K destination,
                                                        K... keys)
        Description copied from interface: ReactiveTransactionalSetCommands
        Execute the command SUNIONSTORE. Summary: Add multiple sets and store the resulting set in a key Group: set Requires Redis 1.0.0
        Specified by:
        sunionstore in interface ReactiveTransactionalSetCommands<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.