Interface TransactionalSortedSetCommands<K,V>
- All Superinterfaces:
TransactionalRedisCommands
- All Known Implementing Classes:
BlockingTransactionalSortedSetCommandsImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Execute the command BZMPOP.void
Execute the command BZMPOP.void
Execute the command BZMPOP.void
Execute the command BZMPOP.void
Execute the command BZPOPMAX.void
Execute the command BZPOPMIN.void
Execute the command ZADD.void
zadd
(K key, ScoredValue<V>... items) Execute the command ZADD.void
Execute the command ZADD.void
zadd
(K key, ZAddArgs zAddArgs, ScoredValue<V>... items) Execute the command ZADD.void
Execute the command ZADD.void
Execute the command ZADD.void
Execute the command ZADD.void
Execute the command ZADD.void
Execute the command ZCARD.void
zcount
(K key, ScoreRange<Double> range) Execute the command ZCOUNT.void
Execute the command ZDIFF.void
zdiffstore
(K destination, K... keys) Execute the command ZDIFFSTORE.void
zdiffWithScores
(K... keys) Execute the command ZDIFF.void
Execute the command ZINCRBY.void
zinter
(ZAggregateArgs arguments, K... keys) Execute the command ZINTER.void
Execute the command ZINTER.void
zintercard
(long limit, K... keys) Execute the command ZINTERCARD.void
zintercard
(K... keys) Execute the command ZINTERCARD.void
zinterstore
(K destination, ZAggregateArgs arguments, K... keys) Execute the command ZINTERSTORE.void
zinterstore
(K destination, K... keys) Execute the command ZINTERSTORE.void
zinterWithScores
(ZAggregateArgs arguments, K... keys) Execute the command ZINTER.void
zinterWithScores
(K... keys) Execute the command ZINTER.void
Execute the command ZLEXCOUNT.void
Execute the command ZMPOP.void
Execute the command ZMPOP.void
Execute the command ZMPOP.void
Execute the command ZMPOP.void
Execute the command ZMSCORE.void
Execute the command ZPOPMAX.void
Execute the command ZPOPMAX.void
Execute the command ZPOPMIN.void
Execute the command ZPOPMIN.void
zrandmember
(K key) Execute the command ZRANDMEMBER.void
zrandmember
(K key, int count) Execute the command ZRANDMEMBER.void
zrandmemberWithScores
(K key) Execute the command ZRANDMEMBER.void
zrandmemberWithScores
(K key, int count) Execute the command ZRANDMEMBER.void
Execute the command ZRANGE.void
zrange
(K key, long start, long stop, ZRangeArgs args) Execute the command ZRANGE.void
zrangebylex
(K key, Range<String> range) Execute the command ZRANGE.void
zrangebylex
(K key, Range<String> range, ZRangeArgs args) Execute the command ZRANGE.void
zrangebyscore
(K key, ScoreRange<Double> range) Execute the command ZRANGE.void
zrangebyscore
(K key, ScoreRange<Double> range, ZRangeArgs args) Execute the command ZRANGE.void
zrangebyscoreWithScores
(K key, ScoreRange<Double> range) Execute the command ZRANGE.void
zrangebyscoreWithScores
(K key, ScoreRange<Double> range, ZRangeArgs args) Execute the command ZRANGE.void
zrangestore
(K dst, K src, long min, long max) Execute the command ZRANGESTORE.void
zrangestore
(K dst, K src, long min, long max, ZRangeArgs args) Execute the command ZRANGESTORE.void
zrangestorebylex
(K dst, K src, Range<String> range) Execute the command ZRANGESTORE.void
zrangestorebylex
(K dst, K src, Range<String> range, ZRangeArgs args) Execute the command ZRANGESTORE.void
zrangestorebyscore
(K dst, K src, ScoreRange<Double> range) Execute the command ZRANGESTORE.void
zrangestorebyscore
(K dst, K src, ScoreRange<Double> range, ZRangeArgs args) Execute the command ZRANGESTORE.void
zrangeWithScores
(K key, long start, long stop) Execute the command ZRANGE.void
zrangeWithScores
(K key, long start, long stop, ZRangeArgs args) Execute the command ZRANGE.void
Execute the command ZRANK.void
Execute the command ZREM.void
zremrangebylex
(K key, Range<String> range) Execute the command ZREMRANGEBYLEX.void
zremrangebyrank
(K key, long start, long stop) Execute the command ZREMRANGEBYRANK.void
zremrangebyscore
(K key, ScoreRange<Double> range) Execute the command ZREMRANGEBYSCORE.void
Execute the command ZREVRANK.void
Execute the command ZSCORE.void
zunion
(ZAggregateArgs args, K... keys) Execute the command ZUNION.void
Execute the command ZUNION.void
zunionstore
(K destination, ZAggregateArgs args, K... keys) Execute the command ZUNIONSTORE.void
zunionstore
(K destination, K... keys) Execute the command ZUNIONSTORE.void
zunionWithScores
(ZAggregateArgs args, K... keys) Execute the command ZUNION.void
zunionWithScores
(K... keys) Execute the command ZUNION.Methods inherited from interface io.quarkus.redis.datasource.TransactionalRedisCommands
getDataSource
-
Method Details
-
zadd
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- Parameters:
key
- the keyscore
- the scoremember
- the member
-
zadd
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- Parameters:
key
- the keyitems
- the map of score/value to be added
-
zadd
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- Parameters:
key
- the keyitems
- the pairs of value/score to be added
-
zadd
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- Parameters:
key
- the keyzAddArgs
- the extra parameterscore
- the scoremember
- the member
-
zadd
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- Parameters:
key
- the keyzAddArgs
- the extra parameteritems
- the map of value/score to be added
-
zadd
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- Parameters:
key
- the keyzAddArgs
- the extra parameteritems
- the pairs of score/value to be added
-
zaddincr
Execute the command ZADD. Summary: Add one or more members to a sorted set, or update its score if it already exists applying theINCR
option Group: sorted-set Requires Redis 1.2.0This variant of
ZADD
acts likeZINCRBY
. Only one score-element pair can be specified in this mode.- Parameters:
key
- the key.score
- the increment.member
- the member.
-
zaddincr
Execute the command ZADD. Summary: Add one or more members to a sorted set, or update its score if it already exists applying theINCR
option Group: sorted-set Requires Redis 1.2.0This variant of
ZADD
acts likeZINCRBY
. Only one score-element pair can be specified in this mode.- Parameters:
key
- the key.score
- the increment.member
- the member.
-
zcard
Execute the command ZCARD. Summary: Get the number of members in a sorted set Group: sorted-set Requires Redis 1.2.0- Parameters:
key
- the key
-
zcount
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- Parameters:
key
- the keyrange
- the range
-
zdiff
Execute the command ZDIFF. Summary: Subtract multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Parameters:
keys
- the keys
-
zdiffWithScores
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- Parameters:
keys
- the keys
-
zdiffstore
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- Parameters:
destination
- the destination keykeys
- the keys to compare
-
zincrby
Execute the command ZINCRBY. Summary: Increment the score of a member in a sorted set Group: sorted-set Requires Redis 1.2.0- Parameters:
key
- the key
-
zinter
Execute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Parameters:
arguments
- the ZINTER command extra-argumentskeys
- the keys
-
zinter
Execute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Parameters:
keys
- the keys
-
zinterWithScores
Execute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Parameters:
arguments
- the ZINTER command extra-argumentskeys
- the keys
-
zinterWithScores
Execute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Parameters:
keys
- the keys
-
zintercard
Execute the command ZINTERCARD. Summary: Intersect multiple sorted sets and return the cardinality of the result Group: sorted-set Requires Redis 7.0.0- Parameters:
keys
- the keys
-
zintercard
Execute the command ZINTERCARD. Summary: Intersect multiple sorted sets and return the cardinality of the result Group: sorted-set Requires Redis 7.0.0- 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
-
zinterstore
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- Parameters:
destination
- the destination keyarguments
- the ZINTERSTORE command extra-argumentskeys
- the keys of the sorted set to analyze
-
zinterstore
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- Parameters:
destination
- the destination keykeys
- the keys of the sorted set to analyze
-
zlexcount
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- Parameters:
key
- the keyrange
- the range
-
zmpopMin
Execute the command ZMPOP. Summary: Remove and return members with scores in a sorted set Group: sorted-set Requires Redis 7.0.0The elements popped are those with the lowest scores from the first non-empty sorted set.
- Parameters:
keys
- the keys
-
zmpopMin
Execute the command ZMPOP. Summary: Remove and return members with scores in a sorted set Group: sorted-set Requires Redis 7.0.0The elements popped are those with the lowest scores from the first non-empty sorted set.
- Parameters:
count
- the max number of element to popkeys
- the keys
-
zmpopMax
Execute the command ZMPOP. Summary: Remove and return members with scores in a sorted set Group: sorted-set Requires Redis 7.0.0The elements with the highest scores to be popped.
- Parameters:
keys
- the keys
-
zmpopMax
Execute the command ZMPOP. Summary: Remove and return members with scores in a sorted set Group: sorted-set Requires Redis 7.0.0The elements with the highest scores to be popped.
- Parameters:
count
- the max number of element to popkeys
- the keys
-
bzmpopMin
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.0The elements popped are those with the lowest scores from the first non-empty sorted set.
- Parameters:
timeout
- the timeoutkeys
- the keys
-
bzmpopMin
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.0The elements popped are those with the lowest scores from the first non-empty sorted set.
- Parameters:
timeout
- the timeoutcount
- the max number of element to popkeys
- the keys
-
bzmpopMax
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.0The elements with the highest scores to be popped.
- Parameters:
timeout
- the timeoutkeys
- the keys
-
bzmpopMax
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.0The elements with the highest scores to be popped.
- Parameters:
timeout
- the timeoutcount
- the max number of element to popkeys
- the keys
-
zmscore
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- Parameters:
key
- the keymembers
- the members
-
zpopmax
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- Parameters:
key
- the key
-
zpopmax
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- Parameters:
key
- the key
-
zpopmin
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- Parameters:
key
- the key
-
zpopmin
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- Parameters:
key
- the key
-
zrandmember
Execute the command ZRANDMEMBER. Summary: Get one or multiple random elements from a sorted set Group: sorted-set Requires Redis 6.2.0- Parameters:
key
- the key
-
zrandmember
Execute the command ZRANDMEMBER. Summary: Get one or multiple random elements from a sorted set Group: sorted-set Requires Redis 6.2.0- Parameters:
key
- the keycount
- the number of member to select
-
zrandmemberWithScores
Execute the command ZRANDMEMBER. Summary: Get one or multiple random elements from a sorted set Group: sorted-set Requires Redis 6.2.0- Parameters:
key
- the key
-
zrandmemberWithScores
Execute the command ZRANDMEMBER. Summary: Get one or multiple random elements from a sorted set Group: sorted-set Requires Redis 6.2.0- Parameters:
key
- the keycount
- the number of member to select
-
bzpopmin
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- Parameters:
timeout
- the max timeoutkeys
- the keys
-
bzpopmax
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 -
zrange
Execute the command ZRANGE. Summary: Return a range of members in a sorted set Group: sorted-set Requires Redis 1.2.0This method extracts a range my rank/index in the stream.
- Parameters:
key
- the keystart
- the start positionstop
- the stop positionargs
- the extra ZRANGE parameters
-
zrangeWithScores
Execute the command ZRANGE. Summary: Return a range of members in a sorted set Group: sorted-set Requires Redis 1.2.0- Parameters:
key
- the keystart
- the start positionstop
- the stop positionargs
- the extra ZRANGE parameters
-
zrange
Execute the command ZRANGE. Summary: Return a range of members in a sorted set Group: sorted-set Requires Redis 1.2.0This method extracts a range my rank/index in the stream.
- Parameters:
key
- the keystart
- the start positionstop
- the stop position
-
zrangeWithScores
Execute the command ZRANGE. Summary: Return a range of members in a sorted set Group: sorted-set Requires Redis 1.2.0- Parameters:
key
- the keystart
- the start positionstop
- the stop position
-
zrangebylex
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- Parameters:
key
- the keyrange
- the rangeargs
- the extra ZRANGE parameters
-
zrangebylex
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- Parameters:
key
- the keyrange
- the range
-
zrangebyscore
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- Parameters:
key
- the keyrange
- the rangeargs
- the extra ZRANGE parameters
-
zrangebyscoreWithScores
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- Parameters:
key
- the keyrange
- the rangeargs
- the extra ZRANGE parameters
-
zrangebyscore
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- Parameters:
key
- the keyrange
- the range
-
zrangebyscoreWithScores
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- Parameters:
key
- the keyrange
- the range
-
zrangestore
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- Parameters:
dst
- the keysrc
- the keymin
- the lower bound of the rangemax
- the upper bound of the rangeargs
- the ZRANGESTORE command extra-arguments
-
zrangestore
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- Parameters:
dst
- the keysrc
- the keymin
- the lower bound of the rangemax
- the upper bound of the range
-
zrangestorebylex
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- Parameters:
dst
- the keysrc
- the keyrange
- the rangeargs
- the ZRANGESTORE command extra-arguments
-
zrangestorebylex
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- Parameters:
dst
- the keysrc
- the keyrange
- the range
-
zrangestorebyscore
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- Parameters:
dst
- the keysrc
- the keyrange
- the rangeargs
- the ZRANGESTORE command extra-arguments
-
zrangestorebyscore
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- Parameters:
dst
- the keysrc
- the keyrange
- the range
-
zrank
Execute the command ZRANK. Summary: Determine the index of a member in a sorted set Group: sorted-set Requires Redis 2.0.0- Parameters:
key
- the key
-
zrem
Execute the command ZREM. Summary: Remove one or more members from a sorted set Group: sorted-set Requires Redis 1.2.0- Parameters:
key
- the keymembers
- the members to remove
-
zremrangebylex
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- Parameters:
key
- the keyrange
- the range
-
zremrangebyrank
Execute the command ZREMRANGEBYRANK. Summary: Remove all members in a sorted set within the given indexes Group: sorted-set Requires Redis 2.0.0- Parameters:
key
- the keystart
- the lower bound of the rangestop
- the upper bound of the range
-
zremrangebyscore
Execute the command ZREMRANGEBYSCORE. Summary: Remove all members in a sorted set within the given scores Group: sorted-set Requires Redis 1.2.0- Parameters:
key
- the keyrange
- the range
-
zrevrank
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- Parameters:
key
- the key
-
zscore
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- Parameters:
key
- the keymember
- the member
-
zunion
Execute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Parameters:
args
- the ZUNION command extra-argumentskeys
- the keys
-
zunion
Execute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Parameters:
keys
- the keys
-
zunionWithScores
Execute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Parameters:
args
- the ZUNION command extra-argumentskeys
- the keys
-
zunionWithScores
Execute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Parameters:
keys
- the keys
-
zunionstore
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- Parameters:
destination
- the destination keyargs
- the zunionstore command extra-argumentskeys
- the keys
-
zunionstore
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- Parameters:
destination
- the destination keykeys
- the keys
-