Interface ReactiveTransactionalSortedSetCommands<K,V>
-
- All Superinterfaces:
ReactiveTransactionalRedisCommands
- All Known Implementing Classes:
ReactiveTransactionalSortedSetCommandsImpl
public interface ReactiveTransactionalSortedSetCommands<K,V> extends ReactiveTransactionalRedisCommands
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<Void>bzmpopMax(Duration timeout, int count, K... keys)Execute the command BZMPOP.io.smallrye.mutiny.Uni<Void>bzmpopMax(Duration timeout, K... keys)Execute the command BZMPOP.io.smallrye.mutiny.Uni<Void>bzmpopMin(Duration timeout, int count, K... keys)Execute the command BZMPOP.io.smallrye.mutiny.Uni<Void>bzmpopMin(Duration timeout, K... keys)Execute the command BZMPOP.io.smallrye.mutiny.Uni<Void>bzpopmax(Duration timeout, K... keys)Execute the command BZPOPMAX.io.smallrye.mutiny.Uni<Void>bzpopmin(Duration timeout, K... keys)Execute the command BZPOPMIN.io.smallrye.mutiny.Uni<Void>zadd(K key, double score, V member)Execute the command ZADD.io.smallrye.mutiny.Uni<Void>zadd(K key, ScoredValue<V>... items)Execute the command ZADD.io.smallrye.mutiny.Uni<Void>zadd(K key, ZAddArgs zAddArgs, double score, V member)Execute the command ZADD.io.smallrye.mutiny.Uni<Void>zadd(K key, ZAddArgs zAddArgs, ScoredValue<V>... items)Execute the command ZADD.io.smallrye.mutiny.Uni<Void>zadd(K key, ZAddArgs zAddArgs, Map<V,Double> items)Execute the command ZADD.io.smallrye.mutiny.Uni<Void>zadd(K key, Map<V,Double> items)Execute the command ZADD.io.smallrye.mutiny.Uni<Void>zaddincr(K key, double score, V member)Execute the command ZADD.io.smallrye.mutiny.Uni<Void>zaddincr(K key, ZAddArgs zAddArgs, double score, V member)Execute the command ZADD.io.smallrye.mutiny.Uni<Void>zcard(K key)Execute the command ZCARD.io.smallrye.mutiny.Uni<Void>zcount(K key, ScoreRange<Double> range)Execute the command ZCOUNT.io.smallrye.mutiny.Uni<Void>zdiff(K... keys)Execute the command ZDIFF.io.smallrye.mutiny.Uni<Void>zdiffstore(K destination, K... keys)Execute the command ZDIFFSTORE.io.smallrye.mutiny.Uni<Void>zdiffWithScores(K... keys)Execute the command ZDIFF.io.smallrye.mutiny.Uni<Void>zincrby(K key, double increment, V member)Execute the command ZINCRBY.io.smallrye.mutiny.Uni<Void>zinter(ZAggregateArgs arguments, K... keys)Execute the command ZINTER.io.smallrye.mutiny.Uni<Void>zinter(K... keys)Execute the command ZINTER.io.smallrye.mutiny.Uni<Void>zintercard(long limit, K... keys)Execute the command ZINTERCARD.io.smallrye.mutiny.Uni<Void>zintercard(K... keys)Execute the command ZINTERCARD.io.smallrye.mutiny.Uni<Void>zinterstore(K destination, ZAggregateArgs arguments, K... keys)Execute the command ZINTERSTORE.io.smallrye.mutiny.Uni<Void>zinterstore(K destination, K... keys)Execute the command ZINTERSTORE.io.smallrye.mutiny.Uni<Void>zinterWithScores(ZAggregateArgs arguments, K... keys)Execute the command ZINTER.io.smallrye.mutiny.Uni<Void>zinterWithScores(K... keys)Execute the command ZINTER.io.smallrye.mutiny.Uni<Void>zlexcount(K key, Range<String> range)Execute the command ZLEXCOUNT.io.smallrye.mutiny.Uni<Void>zmpopMax(int count, K... keys)Execute the command ZMPOP.io.smallrye.mutiny.Uni<Void>zmpopMax(K... keys)Execute the command ZMPOP.io.smallrye.mutiny.Uni<Void>zmpopMin(int count, K... keys)Execute the command ZMPOP.io.smallrye.mutiny.Uni<Void>zmpopMin(K... keys)Execute the command ZMPOP.io.smallrye.mutiny.Uni<Void>zmscore(K key, V... members)Execute the command ZMSCORE.io.smallrye.mutiny.Uni<Void>zpopmax(K key)Execute the command ZPOPMAX.io.smallrye.mutiny.Uni<Void>zpopmax(K key, int count)Execute the command ZPOPMAX.io.smallrye.mutiny.Uni<Void>zpopmin(K key)Execute the command ZPOPMIN.io.smallrye.mutiny.Uni<Void>zpopmin(K key, int count)Execute the command ZPOPMIN.io.smallrye.mutiny.Uni<Void>zrandmember(K key)Execute the command ZRANDMEMBER.io.smallrye.mutiny.Uni<Void>zrandmember(K key, int count)Execute the command ZRANDMEMBER.io.smallrye.mutiny.Uni<Void>zrandmemberWithScores(K key)Execute the command ZRANDMEMBER.io.smallrye.mutiny.Uni<Void>zrandmemberWithScores(K key, int count)Execute the command ZRANDMEMBER.io.smallrye.mutiny.Uni<Void>zrange(K key, long start, long stop)Execute the command ZRANGE.io.smallrye.mutiny.Uni<Void>zrange(K key, long start, long stop, ZRangeArgs args)Execute the command ZRANGE.io.smallrye.mutiny.Uni<Void>zrangebylex(K key, Range<String> range)Execute the command ZRANGE.io.smallrye.mutiny.Uni<Void>zrangebylex(K key, Range<String> range, ZRangeArgs args)Execute the command ZRANGE.io.smallrye.mutiny.Uni<Void>zrangebyscore(K key, ScoreRange<Double> range)Execute the command ZRANGE.io.smallrye.mutiny.Uni<Void>zrangebyscore(K key, ScoreRange<Double> range, ZRangeArgs args)Execute the command ZRANGE.io.smallrye.mutiny.Uni<Void>zrangebyscoreWithScores(K key, ScoreRange<Double> range)Execute the command ZRANGE.io.smallrye.mutiny.Uni<Void>zrangebyscoreWithScores(K key, ScoreRange<Double> range, ZRangeArgs args)Execute the command ZRANGE.io.smallrye.mutiny.Uni<Void>zrangestore(K dst, K src, long min, long max)Execute the command ZRANGESTORE.io.smallrye.mutiny.Uni<Void>zrangestore(K dst, K src, long min, long max, ZRangeArgs args)Execute the command ZRANGESTORE.io.smallrye.mutiny.Uni<Void>zrangestorebylex(K dst, K src, Range<String> range)Execute the command ZRANGESTORE.io.smallrye.mutiny.Uni<Void>zrangestorebylex(K dst, K src, Range<String> range, ZRangeArgs args)Execute the command ZRANGESTORE.io.smallrye.mutiny.Uni<Void>zrangestorebyscore(K dst, K src, ScoreRange<Double> range)Execute the command ZRANGESTORE.io.smallrye.mutiny.Uni<Void>zrangestorebyscore(K dst, K src, ScoreRange<Double> range, ZRangeArgs args)Execute the command ZRANGESTORE.io.smallrye.mutiny.Uni<Void>zrangeWithScores(K key, long start, long stop)Execute the command ZRANGE.io.smallrye.mutiny.Uni<Void>zrangeWithScores(K key, long start, long stop, ZRangeArgs args)Execute the command ZRANGE.io.smallrye.mutiny.Uni<Void>zrank(K key, V member)Execute the command ZRANK.io.smallrye.mutiny.Uni<Void>zrem(K key, V... members)Execute the command ZREM.io.smallrye.mutiny.Uni<Void>zremrangebylex(K key, Range<String> range)Execute the command ZREMRANGEBYLEX.io.smallrye.mutiny.Uni<Void>zremrangebyrank(K key, long start, long stop)Execute the command ZREMRANGEBYRANK.io.smallrye.mutiny.Uni<Void>zremrangebyscore(K key, ScoreRange<Double> range)Execute the command ZREMRANGEBYSCORE.io.smallrye.mutiny.Uni<Void>zrevrank(K key, V member)Execute the command ZREVRANK.io.smallrye.mutiny.Uni<Void>zscore(K key, V member)Execute the command ZSCORE.io.smallrye.mutiny.Uni<Void>zunion(ZAggregateArgs args, K... keys)Execute the command ZUNION.io.smallrye.mutiny.Uni<Void>zunion(K... keys)Execute the command ZUNION.io.smallrye.mutiny.Uni<Void>zunionstore(K destination, ZAggregateArgs args, K... keys)Execute the command ZUNIONSTORE.io.smallrye.mutiny.Uni<Void>zunionstore(K destination, K... keys)Execute the command ZUNIONSTORE.io.smallrye.mutiny.Uni<Void>zunionWithScores(ZAggregateArgs args, K... keys)Execute the command ZUNION.io.smallrye.mutiny.Uni<Void>zunionWithScores(K... keys)Execute the command ZUNION.-
Methods inherited from interface io.quarkus.redis.datasource.ReactiveTransactionalRedisCommands
getDataSource
-
-
-
-
Method Detail
-
zadd
io.smallrye.mutiny.Uni<Void> zadd(K key, double score, V member)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zadd
io.smallrye.mutiny.Uni<Void> zadd(K key, Map<V,Double> items)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zadd
io.smallrye.mutiny.Uni<Void> zadd(K key, ScoredValue<V>... items)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zadd
io.smallrye.mutiny.Uni<Void> zadd(K key, ZAddArgs zAddArgs, double score, V member)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zadd
io.smallrye.mutiny.Uni<Void> zadd(K key, ZAddArgs zAddArgs, Map<V,Double> items)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zadd
io.smallrye.mutiny.Uni<Void> zadd(K key, ZAddArgs zAddArgs, ScoredValue<V>... items)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zaddincr
io.smallrye.mutiny.Uni<Void> zaddincr(K key, double score, V member)
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.- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zaddincr
io.smallrye.mutiny.Uni<Void> zaddincr(K key, ZAddArgs zAddArgs, double score, V member)
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.- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zcard
io.smallrye.mutiny.Uni<Void> zcard(K key)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zcount
io.smallrye.mutiny.Uni<Void> zcount(K key, ScoreRange<Double> range)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zdiff
io.smallrye.mutiny.Uni<Void> zdiff(K... keys)
Execute the command ZDIFF. Summary: Subtract multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Parameters:
keys- the keys- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zdiffWithScores
io.smallrye.mutiny.Uni<Void> zdiffWithScores(K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zdiffstore
io.smallrye.mutiny.Uni<Void> zdiffstore(K destination, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zincrby
io.smallrye.mutiny.Uni<Void> zincrby(K key, double increment, V member)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zinter
io.smallrye.mutiny.Uni<Void> zinter(ZAggregateArgs arguments, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zinter
io.smallrye.mutiny.Uni<Void> zinter(K... keys)
Execute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Parameters:
keys- the keys- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zinterWithScores
io.smallrye.mutiny.Uni<Void> zinterWithScores(ZAggregateArgs arguments, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zinterWithScores
io.smallrye.mutiny.Uni<Void> zinterWithScores(K... keys)
Execute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Parameters:
keys- the keys- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zintercard
io.smallrye.mutiny.Uni<Void> zintercard(K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zintercard
io.smallrye.mutiny.Uni<Void> zintercard(long limit, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zinterstore
io.smallrye.mutiny.Uni<Void> zinterstore(K destination, ZAggregateArgs arguments, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zinterstore
io.smallrye.mutiny.Uni<Void> zinterstore(K destination, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zlexcount
io.smallrye.mutiny.Uni<Void> zlexcount(K key, Range<String> range)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zmpopMin
io.smallrye.mutiny.Uni<Void> zmpopMin(K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zmpopMin
io.smallrye.mutiny.Uni<Void> zmpopMin(int count, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zmpopMax
io.smallrye.mutiny.Uni<Void> zmpopMax(K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zmpopMax
io.smallrye.mutiny.Uni<Void> zmpopMax(int count, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bzmpopMin
io.smallrye.mutiny.Uni<Void> bzmpopMin(Duration timeout, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bzmpopMin
io.smallrye.mutiny.Uni<Void> bzmpopMin(Duration timeout, int count, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bzmpopMax
io.smallrye.mutiny.Uni<Void> bzmpopMax(Duration timeout, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bzmpopMax
io.smallrye.mutiny.Uni<Void> bzmpopMax(Duration timeout, int count, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zmscore
io.smallrye.mutiny.Uni<Void> zmscore(K key, V... members)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zpopmax
io.smallrye.mutiny.Uni<Void> zpopmax(K key)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zpopmax
io.smallrye.mutiny.Uni<Void> zpopmax(K key, int count)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zpopmin
io.smallrye.mutiny.Uni<Void> zpopmin(K key)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zpopmin
io.smallrye.mutiny.Uni<Void> zpopmin(K key, int count)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrandmember
io.smallrye.mutiny.Uni<Void> zrandmember(K key)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrandmember
io.smallrye.mutiny.Uni<Void> zrandmember(K key, int count)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrandmemberWithScores
io.smallrye.mutiny.Uni<Void> zrandmemberWithScores(K key)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrandmemberWithScores
io.smallrye.mutiny.Uni<Void> zrandmemberWithScores(K key, int count)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bzpopmin
io.smallrye.mutiny.Uni<Void> bzpopmin(Duration timeout, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bzpopmax
io.smallrye.mutiny.Uni<Void> bzpopmax(Duration timeout, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrange
io.smallrye.mutiny.Uni<Void> zrange(K key, long start, long stop, ZRangeArgs args)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrangeWithScores
io.smallrye.mutiny.Uni<Void> zrangeWithScores(K key, long start, long stop, ZRangeArgs args)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrange
io.smallrye.mutiny.Uni<Void> zrange(K key, long start, long stop)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrangeWithScores
io.smallrye.mutiny.Uni<Void> zrangeWithScores(K key, long start, long stop)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrangebylex
io.smallrye.mutiny.Uni<Void> zrangebylex(K key, Range<String> range, ZRangeArgs args)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrangebylex
io.smallrye.mutiny.Uni<Void> zrangebylex(K key, Range<String> range)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrangebyscore
io.smallrye.mutiny.Uni<Void> zrangebyscore(K key, ScoreRange<Double> range, ZRangeArgs args)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrangebyscoreWithScores
io.smallrye.mutiny.Uni<Void> zrangebyscoreWithScores(K key, ScoreRange<Double> range, ZRangeArgs args)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrangebyscore
io.smallrye.mutiny.Uni<Void> zrangebyscore(K key, ScoreRange<Double> range)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrangebyscoreWithScores
io.smallrye.mutiny.Uni<Void> zrangebyscoreWithScores(K key, ScoreRange<Double> range)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrangestore
io.smallrye.mutiny.Uni<Void> zrangestore(K dst, K src, long min, long max, ZRangeArgs args)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrangestore
io.smallrye.mutiny.Uni<Void> zrangestore(K dst, K src, long min, long max)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrangestorebylex
io.smallrye.mutiny.Uni<Void> zrangestorebylex(K dst, K src, Range<String> range, ZRangeArgs args)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrangestorebylex
io.smallrye.mutiny.Uni<Void> zrangestorebylex(K dst, K src, Range<String> range)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrangestorebyscore
io.smallrye.mutiny.Uni<Void> zrangestorebyscore(K dst, K src, ScoreRange<Double> range, ZRangeArgs args)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrangestorebyscore
io.smallrye.mutiny.Uni<Void> zrangestorebyscore(K dst, K src, ScoreRange<Double> range)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrank
io.smallrye.mutiny.Uni<Void> zrank(K key, V member)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrem
io.smallrye.mutiny.Uni<Void> zrem(K key, V... members)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zremrangebylex
io.smallrye.mutiny.Uni<Void> zremrangebylex(K key, Range<String> range)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zremrangebyrank
io.smallrye.mutiny.Uni<Void> zremrangebyrank(K key, long start, long stop)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zremrangebyscore
io.smallrye.mutiny.Uni<Void> zremrangebyscore(K key, ScoreRange<Double> range)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zrevrank
io.smallrye.mutiny.Uni<Void> zrevrank(K key, V member)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zscore
io.smallrye.mutiny.Uni<Void> zscore(K key, V member)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zunion
io.smallrye.mutiny.Uni<Void> zunion(ZAggregateArgs args, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zunion
io.smallrye.mutiny.Uni<Void> zunion(K... keys)
Execute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Parameters:
keys- the keys- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zunionWithScores
io.smallrye.mutiny.Uni<Void> zunionWithScores(ZAggregateArgs args, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zunionWithScores
io.smallrye.mutiny.Uni<Void> zunionWithScores(K... keys)
Execute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Parameters:
keys- the keys- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zunionstore
io.smallrye.mutiny.Uni<Void> zunionstore(K destination, ZAggregateArgs args, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
zunionstore
io.smallrye.mutiny.Uni<Void> zunionstore(K destination, K... keys)
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- Returns:
- A
Uniemittingnullwhen the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
-