Interface TransactionalSortedSetCommands<K,V>
- All Superinterfaces:
TransactionalRedisCommands
- All Known Implementing Classes:
BlockingTransactionalSortedSetCommandsImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidExecute the command BZMPOP.voidExecute the command BZMPOP.voidExecute the command BZMPOP.voidExecute the command BZMPOP.voidExecute the command BZPOPMAX.voidExecute the command BZPOPMIN.voidExecute the command ZADD.voidzadd(K key, ScoredValue<V>... items) Execute the command ZADD.voidExecute the command ZADD.voidzadd(K key, ZAddArgs zAddArgs, ScoredValue<V>... items) Execute the command ZADD.voidExecute the command ZADD.voidExecute the command ZADD.voidExecute the command ZADD.voidExecute the command ZADD.voidExecute the command ZCARD.voidzcount(K key, ScoreRange<Double> range) Execute the command ZCOUNT.voidExecute the command ZDIFF.voidzdiffstore(K destination, K... keys) Execute the command ZDIFFSTORE.voidzdiffWithScores(K... keys) Execute the command ZDIFF.voidExecute the command ZINCRBY.voidzinter(ZAggregateArgs arguments, K... keys) Execute the command ZINTER.voidExecute the command ZINTER.voidzintercard(long limit, K... keys) Execute the command ZINTERCARD.voidzintercard(K... keys) Execute the command ZINTERCARD.voidzinterstore(K destination, ZAggregateArgs arguments, K... keys) Execute the command ZINTERSTORE.voidzinterstore(K destination, K... keys) Execute the command ZINTERSTORE.voidzinterWithScores(ZAggregateArgs arguments, K... keys) Execute the command ZINTER.voidzinterWithScores(K... keys) Execute the command ZINTER.voidExecute the command ZLEXCOUNT.voidExecute the command ZMPOP.voidExecute the command ZMPOP.voidExecute the command ZMPOP.voidExecute the command ZMPOP.voidExecute the command ZMSCORE.voidExecute the command ZPOPMAX.voidExecute the command ZPOPMAX.voidExecute the command ZPOPMIN.voidExecute the command ZPOPMIN.voidzrandmember(K key) Execute the command ZRANDMEMBER.voidzrandmember(K key, int count) Execute the command ZRANDMEMBER.voidzrandmemberWithScores(K key) Execute the command ZRANDMEMBER.voidzrandmemberWithScores(K key, int count) Execute the command ZRANDMEMBER.voidExecute the command ZRANGE.voidzrange(K key, long start, long stop, ZRangeArgs args) Execute the command ZRANGE.voidzrangebylex(K key, Range<String> range) Execute the command ZRANGE.voidzrangebylex(K key, Range<String> range, ZRangeArgs args) Execute the command ZRANGE.voidzrangebyscore(K key, ScoreRange<Double> range) Execute the command ZRANGE.voidzrangebyscore(K key, ScoreRange<Double> range, ZRangeArgs args) Execute the command ZRANGE.voidzrangebyscoreWithScores(K key, ScoreRange<Double> range) Execute the command ZRANGE.voidzrangebyscoreWithScores(K key, ScoreRange<Double> range, ZRangeArgs args) Execute the command ZRANGE.voidzrangestore(K dst, K src, long min, long max) Execute the command ZRANGESTORE.voidzrangestore(K dst, K src, long min, long max, ZRangeArgs args) Execute the command ZRANGESTORE.voidzrangestorebylex(K dst, K src, Range<String> range) Execute the command ZRANGESTORE.voidzrangestorebylex(K dst, K src, Range<String> range, ZRangeArgs args) Execute the command ZRANGESTORE.voidzrangestorebyscore(K dst, K src, ScoreRange<Double> range) Execute the command ZRANGESTORE.voidzrangestorebyscore(K dst, K src, ScoreRange<Double> range, ZRangeArgs args) Execute the command ZRANGESTORE.voidzrangeWithScores(K key, long start, long stop) Execute the command ZRANGE.voidzrangeWithScores(K key, long start, long stop, ZRangeArgs args) Execute the command ZRANGE.voidExecute the command ZRANK.voidExecute the command ZREM.voidzremrangebylex(K key, Range<String> range) Execute the command ZREMRANGEBYLEX.voidzremrangebyrank(K key, long start, long stop) Execute the command ZREMRANGEBYRANK.voidzremrangebyscore(K key, ScoreRange<Double> range) Execute the command ZREMRANGEBYSCORE.voidExecute the command ZREVRANK.voidExecute the command ZSCORE.voidzunion(ZAggregateArgs args, K... keys) Execute the command ZUNION.voidExecute the command ZUNION.voidzunionstore(K destination, ZAggregateArgs args, K... keys) Execute the command ZUNIONSTORE.voidzunionstore(K destination, K... keys) Execute the command ZUNIONSTORE.voidzunionWithScores(ZAggregateArgs args, K... keys) Execute the command ZUNION.voidzunionWithScores(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 theINCRoption Group: sorted-set Requires Redis 1.2.0This variant of
ZADDacts 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 theINCRoption Group: sorted-set Requires Redis 1.2.0This variant of
ZADDacts 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
-