Class BlockingTransactionalSortedSetCommandsImpl<K,V>
- java.lang.Object
-
- io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
-
- io.quarkus.redis.runtime.datasource.BlockingTransactionalSortedSetCommandsImpl<K,V>
-
- All Implemented Interfaces:
TransactionalSortedSetCommands<K,V>,TransactionalRedisCommands
public class BlockingTransactionalSortedSetCommandsImpl<K,V> extends AbstractTransactionalRedisCommandGroup implements TransactionalSortedSetCommands<K,V>
-
-
Field Summary
-
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
ds, timeout
-
-
Constructor Summary
Constructors Constructor Description BlockingTransactionalSortedSetCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalSortedSetCommands<K,V> reactive, Duration timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbzmpopMax(Duration timeout, int count, K... keys)Execute the command BZMPOP.voidbzmpopMax(Duration timeout, K... keys)Execute the command BZMPOP.voidbzmpopMin(Duration timeout, int count, K... keys)Execute the command BZMPOP.voidbzmpopMin(Duration timeout, K... keys)Execute the command BZMPOP.voidbzpopmax(Duration timeout, K... keys)Execute the command BZPOPMAX.voidbzpopmin(Duration timeout, K... keys)Execute the command BZPOPMIN.voidzadd(K key, double score, V member)Execute the command ZADD.voidzadd(K key, ScoredValue<V>... items)Execute the command ZADD.voidzadd(K key, ZAddArgs zAddArgs, double score, V member)Execute the command ZADD.voidzadd(K key, ZAddArgs zAddArgs, ScoredValue<V>... items)Execute the command ZADD.voidzadd(K key, ZAddArgs zAddArgs, Map<V,Double> items)Execute the command ZADD.voidzadd(K key, Map<V,Double> items)Execute the command ZADD.voidzaddincr(K key, double score, V member)Execute the command ZADD.voidzaddincr(K key, ZAddArgs zAddArgs, double score, V member)Execute the command ZADD.voidzcard(K key)Execute the command ZCARD.voidzcount(K key, ScoreRange<Double> range)Execute the command ZCOUNT.voidzdiff(K... keys)Execute the command ZDIFF.voidzdiffstore(K destination, K... keys)Execute the command ZDIFFSTORE.voidzdiffWithScores(K... keys)Execute the command ZDIFF.voidzincrby(K key, double increment, V member)Execute the command ZINCRBY.voidzinter(ZAggregateArgs arguments, K... keys)Execute the command ZINTER.voidzinter(K... keys)Execute 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.voidzlexcount(K key, Range<String> range)Execute the command ZLEXCOUNT.voidzmpopMax(int count, K... keys)Execute the command ZMPOP.voidzmpopMax(K... keys)Execute the command ZMPOP.voidzmpopMin(int count, K... keys)Execute the command ZMPOP.voidzmpopMin(K... keys)Execute the command ZMPOP.voidzmscore(K key, V... members)Execute the command ZMSCORE.voidzpopmax(K key)Execute the command ZPOPMAX.voidzpopmax(K key, int count)Execute the command ZPOPMAX.voidzpopmin(K key)Execute the command ZPOPMIN.voidzpopmin(K key, int count)Execute 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.voidzrange(K key, long start, long stop)Execute 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.voidzrank(K key, V member)Execute the command ZRANK.voidzrem(K key, V... members)Execute 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.voidzrevrank(K key, V member)Execute the command ZREVRANK.voidzscore(K key, V member)Execute the command ZSCORE.voidzunion(ZAggregateArgs args, K... keys)Execute the command ZUNION.voidzunion(K... keys)Execute 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 class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
getDataSource
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.redis.datasource.TransactionalRedisCommands
getDataSource
-
-
-
-
Constructor Detail
-
BlockingTransactionalSortedSetCommandsImpl
public BlockingTransactionalSortedSetCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalSortedSetCommands<K,V> reactive, Duration timeout)
-
-
Method Detail
-
zadd
public void zadd(K key, double score, V member)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zaddin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyscore- the scoremember- the member
-
zadd
public void zadd(K key, Map<V,Double> items)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zaddin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyitems- the map of score/value to be added
-
zadd
public void zadd(K key, ScoredValue<V>... items)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zaddin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyitems- the pairs of value/score to be added
-
zadd
public void zadd(K key, ZAddArgs zAddArgs, double score, V member)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zaddin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyzAddArgs- the extra parameterscore- the scoremember- the member
-
zadd
public void zadd(K key, ZAddArgs zAddArgs, Map<V,Double> items)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zaddin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyzAddArgs- the extra parameteritems- the map of value/score to be added
-
zadd
public void zadd(K key, ZAddArgs zAddArgs, ScoredValue<V>... items)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zaddin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyzAddArgs- the extra parameteritems- the pairs of score/value to be added
-
zaddincr
public void zaddincr(K key, double score, V member)
Description copied from interface:TransactionalSortedSetCommandsExecute 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.- Specified by:
zaddincrin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the key.score- the increment.member- the member.
-
zaddincr
public void zaddincr(K key, ZAddArgs zAddArgs, double score, V member)
Description copied from interface:TransactionalSortedSetCommandsExecute 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.- Specified by:
zaddincrin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the key.score- the increment.member- the member.
-
zcard
public void zcard(K key)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZCARD. Summary: Get the number of members in a sorted set Group: sorted-set Requires Redis 1.2.0- Specified by:
zcardin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the key
-
zcount
public void zcount(K key, ScoreRange<Double> range)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zcountin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyrange- the range
-
zdiff
public void zdiff(K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZDIFF. Summary: Subtract multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zdiffin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
keys- the keys
-
zdiffWithScores
public void zdiffWithScores(K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zdiffWithScoresin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
keys- the keys
-
zdiffstore
public void zdiffstore(K destination, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zdiffstorein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
destination- the destination keykeys- the keys to compare
-
zincrby
public void zincrby(K key, double increment, V member)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZINCRBY. Summary: Increment the score of a member in a sorted set Group: sorted-set Requires Redis 1.2.0- Specified by:
zincrbyin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the key
-
zinter
public void zinter(ZAggregateArgs arguments, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zinterin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
arguments- the ZINTER command extra-argumentskeys- the keys
-
zinter
public void zinter(K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zinterin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
keys- the keys
-
zinterWithScores
public void zinterWithScores(ZAggregateArgs arguments, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zinterWithScoresin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
arguments- the ZINTER command extra-argumentskeys- the keys
-
zinterWithScores
public void zinterWithScores(K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zinterWithScoresin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
keys- the keys
-
zintercard
public void zintercard(K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zintercardin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
keys- the keys
-
zintercard
public void zintercard(long limit, K... keys)Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zintercardin interfaceTransactionalSortedSetCommands<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
-
zinterstore
public void zinterstore(K destination, ZAggregateArgs arguments, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zinterstorein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
destination- the destination keyarguments- the ZINTERSTORE command extra-argumentskeys- the keys of the sorted set to analyze
-
zinterstore
public void zinterstore(K destination, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zinterstorein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
destination- the destination keykeys- the keys of the sorted set to analyze
-
zlexcount
public void zlexcount(K key, Range<String> range)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zlexcountin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyrange- the range
-
zmpopMin
public void zmpopMin(K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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.
- Specified by:
zmpopMinin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
keys- the keys
-
zmpopMin
public void zmpopMin(int count, K... keys)Description copied from interface:TransactionalSortedSetCommandsExecute 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.
- Specified by:
zmpopMinin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
count- the max number of element to popkeys- the keys
-
zmpopMax
public void zmpopMax(K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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.
- Specified by:
zmpopMaxin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
keys- the keys
-
zmpopMax
public void zmpopMax(int count, K... keys)Description copied from interface:TransactionalSortedSetCommandsExecute 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.
- Specified by:
zmpopMaxin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
count- the max number of element to popkeys- the keys
-
bzmpopMin
public void bzmpopMin(Duration timeout, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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.
- Specified by:
bzmpopMinin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
timeout- the timeoutkeys- the keys
-
bzmpopMin
public void bzmpopMin(Duration timeout, int count, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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.
- Specified by:
bzmpopMinin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
timeout- the timeoutcount- the max number of element to popkeys- the keys
-
bzmpopMax
public void bzmpopMax(Duration timeout, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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.
- Specified by:
bzmpopMaxin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
timeout- the timeoutkeys- the keys
-
bzmpopMax
public void bzmpopMax(Duration timeout, int count, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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.
- Specified by:
bzmpopMaxin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
timeout- the timeoutcount- the max number of element to popkeys- the keys
-
zmscore
public void zmscore(K key, V... members)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zmscorein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keymembers- the members
-
zpopmax
public void zpopmax(K key)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zpopmaxin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the key
-
zpopmax
public void zpopmax(K key, int count)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zpopmaxin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the key
-
zpopmin
public void zpopmin(K key)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zpopminin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the key
-
zpopmin
public void zpopmin(K key, int count)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zpopminin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the key
-
zrandmember
public void zrandmember(K key)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZRANDMEMBER. Summary: Get one or multiple random elements from a sorted set Group: sorted-set Requires Redis 6.2.0- Specified by:
zrandmemberin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the key
-
zrandmember
public void zrandmember(K key, int count)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZRANDMEMBER. Summary: Get one or multiple random elements from a sorted set Group: sorted-set Requires Redis 6.2.0- Specified by:
zrandmemberin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keycount- the number of member to select
-
zrandmemberWithScores
public void zrandmemberWithScores(K key)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZRANDMEMBER. Summary: Get one or multiple random elements from a sorted set Group: sorted-set Requires Redis 6.2.0- Specified by:
zrandmemberWithScoresin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the key
-
zrandmemberWithScores
public void zrandmemberWithScores(K key, int count)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZRANDMEMBER. Summary: Get one or multiple random elements from a sorted set Group: sorted-set Requires Redis 6.2.0- Specified by:
zrandmemberWithScoresin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keycount- the number of member to select
-
bzpopmin
public void bzpopmin(Duration timeout, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
bzpopminin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
timeout- the max timeoutkeys- the keys
-
bzpopmax
public void bzpopmax(Duration timeout, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
bzpopmaxin interfaceTransactionalSortedSetCommands<K,V>
-
zrange
public void zrange(K key, long start, long stop, ZRangeArgs args)
Description copied from interface:TransactionalSortedSetCommandsExecute 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.
- Specified by:
zrangein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keystart- the start positionstop- the stop positionargs- the extra ZRANGE parameters
-
zrangeWithScores
public void zrangeWithScores(K key, long start, long stop, ZRangeArgs args)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZRANGE. Summary: Return a range of members in a sorted set Group: sorted-set Requires Redis 1.2.0- Specified by:
zrangeWithScoresin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keystart- the start positionstop- the stop positionargs- the extra ZRANGE parameters
-
zrange
public void zrange(K key, long start, long stop)
Description copied from interface:TransactionalSortedSetCommandsExecute 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.
- Specified by:
zrangein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keystart- the start positionstop- the stop position
-
zrangeWithScores
public void zrangeWithScores(K key, long start, long stop)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZRANGE. Summary: Return a range of members in a sorted set Group: sorted-set Requires Redis 1.2.0- Specified by:
zrangeWithScoresin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keystart- the start positionstop- the stop position
-
zrangebylex
public void zrangebylex(K key, Range<String> range, ZRangeArgs args)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zrangebylexin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyrange- the rangeargs- the extra ZRANGE parameters
-
zrangebylex
public void zrangebylex(K key, Range<String> range)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zrangebylexin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyrange- the range
-
zrangebyscore
public void zrangebyscore(K key, ScoreRange<Double> range, ZRangeArgs args)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zrangebyscorein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyrange- the rangeargs- the extra ZRANGE parameters
-
zrangebyscoreWithScores
public void zrangebyscoreWithScores(K key, ScoreRange<Double> range, ZRangeArgs args)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zrangebyscoreWithScoresin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyrange- the rangeargs- the extra ZRANGE parameters
-
zrangebyscore
public void zrangebyscore(K key, ScoreRange<Double> range)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zrangebyscorein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyrange- the range
-
zrangebyscoreWithScores
public void zrangebyscoreWithScores(K key, ScoreRange<Double> range)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zrangebyscoreWithScoresin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyrange- the range
-
zrangestore
public void zrangestore(K dst, K src, long min, long max, ZRangeArgs args)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zrangestorein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
dst- the keysrc- the keymin- the lower bound of the rangemax- the upper bound of the rangeargs- the ZRANGESTORE command extra-arguments
-
zrangestore
public void zrangestore(K dst, K src, long min, long max)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zrangestorein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
dst- the keysrc- the keymin- the lower bound of the rangemax- the upper bound of the range
-
zrangestorebylex
public void zrangestorebylex(K dst, K src, Range<String> range, ZRangeArgs args)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zrangestorebylexin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
dst- the keysrc- the keyrange- the rangeargs- the ZRANGESTORE command extra-arguments
-
zrangestorebylex
public void zrangestorebylex(K dst, K src, Range<String> range)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zrangestorebylexin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
dst- the keysrc- the keyrange- the range
-
zrangestorebyscore
public void zrangestorebyscore(K dst, K src, ScoreRange<Double> range, ZRangeArgs args)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zrangestorebyscorein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
dst- the keysrc- the keyrange- the rangeargs- the ZRANGESTORE command extra-arguments
-
zrangestorebyscore
public void zrangestorebyscore(K dst, K src, ScoreRange<Double> range)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zrangestorebyscorein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
dst- the keysrc- the keyrange- the range
-
zrank
public void zrank(K key, V member)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZRANK. Summary: Determine the index of a member in a sorted set Group: sorted-set Requires Redis 2.0.0- Specified by:
zrankin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the key
-
zrem
public void zrem(K key, V... members)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZREM. Summary: Remove one or more members from a sorted set Group: sorted-set Requires Redis 1.2.0- Specified by:
zremin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keymembers- the members to remove
-
zremrangebylex
public void zremrangebylex(K key, Range<String> range)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zremrangebylexin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyrange- the range
-
zremrangebyrank
public void zremrangebyrank(K key, long start, long stop)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zremrangebyrankin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keystart- the lower bound of the rangestop- the upper bound of the range
-
zremrangebyscore
public void zremrangebyscore(K key, ScoreRange<Double> range)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZREMRANGEBYSCORE. Summary: Remove all members in a sorted set within the given scores Group: sorted-set Requires Redis 1.2.0- Specified by:
zremrangebyscorein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keyrange- the range
-
zrevrank
public void zrevrank(K key, V member)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zrevrankin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the key
-
zscore
public void zscore(K key, V member)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zscorein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
key- the keymember- the member
-
zunion
public void zunion(ZAggregateArgs args, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zunionin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
args- the ZUNION command extra-argumentskeys- the keys
-
zunion
public void zunion(K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zunionin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
keys- the keys
-
zunionWithScores
public void zunionWithScores(ZAggregateArgs args, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zunionWithScoresin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
args- the ZUNION command extra-argumentskeys- the keys
-
zunionWithScores
public void zunionWithScores(K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zunionWithScoresin interfaceTransactionalSortedSetCommands<K,V>- Parameters:
keys- the keys
-
zunionstore
public void zunionstore(K destination, ZAggregateArgs args, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zunionstorein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
destination- the destination keyargs- the zunionstore command extra-argumentskeys- the keys
-
zunionstore
public void zunionstore(K destination, K... keys)
Description copied from interface:TransactionalSortedSetCommandsExecute 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:
zunionstorein interfaceTransactionalSortedSetCommands<K,V>- Parameters:
destination- the destination keykeys- the keys
-
-