Class ReactiveSortedSetCommandsImpl<K,V>
- java.lang.Object
-
- io.quarkus.redis.runtime.datasource.AbstractRedisCommands
-
- io.quarkus.redis.runtime.datasource.ReactiveSortable<K,V>
-
- io.quarkus.redis.runtime.datasource.AbstractSortedSetCommands<K,V>
-
- io.quarkus.redis.runtime.datasource.ReactiveSortedSetCommandsImpl<K,V>
-
- All Implemented Interfaces:
ReactiveRedisCommands,ReactiveSortedSetCommands<K,V>
public class ReactiveSortedSetCommandsImpl<K,V> extends AbstractSortedSetCommands<K,V> implements ReactiveSortedSetCommands<K,V>
-
-
Field Summary
-
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractSortedSetCommands
BZMPOP, DEFAULT_INSTANCE_AGG, DEFAULT_INSTANCE_RANGE, typeOfKey, typeOfValue, ZINTERCARD, ZMPOP
-
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractRedisCommands
marshaller, redis
-
-
Constructor Summary
Constructors Constructor Description ReactiveSortedSetCommandsImpl(ReactiveRedisDataSourceImpl redis, Type k, Type v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<List<ScoredValue<V>>>bzmpopMax(Duration timeout, int count, K... keys)Execute the command BZMPOP.io.smallrye.mutiny.Uni<ScoredValue<V>>bzmpopMax(Duration timeout, K... keys)Execute the command BZMPOP.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>bzmpopMin(Duration timeout, int count, K... keys)Execute the command BZMPOP.io.smallrye.mutiny.Uni<ScoredValue<V>>bzmpopMin(Duration timeout, K... keys)Execute the command BZMPOP.io.smallrye.mutiny.Uni<KeyValue<K,ScoredValue<V>>>bzpopmax(Duration timeout, K... keys)Execute the command BZPOPMAX.io.smallrye.mutiny.Uni<KeyValue<K,ScoredValue<V>>>bzpopmin(Duration timeout, K... keys)Execute the command BZPOPMIN.ReactiveRedisDataSourcegetDataSource()io.smallrye.mutiny.Uni<Boolean>zadd(K key, double score, V value)Execute the command ZADD.io.smallrye.mutiny.Uni<Integer>zadd(K key, ScoredValue<V>... items)Execute the command ZADD.io.smallrye.mutiny.Uni<Boolean>zadd(K key, ZAddArgs args, double score, V value)Execute the command ZADD.io.smallrye.mutiny.Uni<Integer>zadd(K key, ZAddArgs args, ScoredValue<V>... items)Execute the command ZADD.io.smallrye.mutiny.Uni<Integer>zadd(K key, ZAddArgs args, Map<V,Double> items)Execute the command ZADD.io.smallrye.mutiny.Uni<Integer>zadd(K key, Map<V,Double> items)Execute the command ZADD.io.smallrye.mutiny.Uni<Double>zaddincr(K key, double score, V value)Execute the command ZADD.io.smallrye.mutiny.Uni<Double>zaddincr(K key, ZAddArgs args, double score, V value)Execute the command ZADD.io.smallrye.mutiny.Uni<Long>zcard(K key)Execute the command ZCARD.io.smallrye.mutiny.Uni<Long>zcount(K key, ScoreRange<Double> range)Execute the command ZCOUNT.io.smallrye.mutiny.Uni<List<V>>zdiff(K... keys)Execute the command ZDIFF.io.smallrye.mutiny.Uni<Long>zdiffstore(K destination, K... keys)Execute the command ZDIFFSTORE.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>zdiffWithScores(K... keys)Execute the command ZDIFF.io.smallrye.mutiny.Uni<Double>zincrby(K key, double increment, V value)Execute the command ZINCRBY.io.smallrye.mutiny.Uni<List<V>>zinter(ZAggregateArgs args, K... keys)Execute the command ZINTER.io.smallrye.mutiny.Uni<List<V>>zinter(K... keys)Execute the command ZINTER.io.smallrye.mutiny.Uni<Long>zintercard(long limit, K... keys)Execute the command ZINTERCARD.io.smallrye.mutiny.Uni<Long>zintercard(K... keys)Execute the command ZINTERCARD.io.smallrye.mutiny.Uni<Long>zinterstore(K destination, ZAggregateArgs arguments, K... keys)Execute the command ZINTERSTORE.io.smallrye.mutiny.Uni<Long>zinterstore(K destination, K... keys)Execute the command ZINTERSTORE.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>zinterWithScores(ZAggregateArgs arguments, K... keys)Execute the command ZINTER.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>zinterWithScores(K... keys)Execute the command ZINTER.io.smallrye.mutiny.Uni<Long>zlexcount(K key, Range<String> range)Execute the command ZLEXCOUNT.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>zmpopMax(int count, K... keys)Execute the command ZMPOP.io.smallrye.mutiny.Uni<ScoredValue<V>>zmpopMax(K... keys)Execute the command ZMPOP.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>zmpopMin(int count, K... keys)Execute the command ZMPOP.io.smallrye.mutiny.Uni<ScoredValue<V>>zmpopMin(K... keys)Execute the command ZMPOP.io.smallrye.mutiny.Uni<List<Double>>zmscore(K key, V... values)Execute the command ZMSCORE.io.smallrye.mutiny.Uni<ScoredValue<V>>zpopmax(K key)Execute the command ZPOPMAX.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>zpopmax(K key, int count)Execute the command ZPOPMAX.io.smallrye.mutiny.Uni<ScoredValue<V>>zpopmin(K key)Execute the command ZPOPMIN.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>zpopmin(K key, int count)Execute the command ZPOPMIN.io.smallrye.mutiny.Uni<V>zrandmember(K key)Execute the command ZRANDMEMBER.io.smallrye.mutiny.Uni<List<V>>zrandmember(K key, int count)Execute the command ZRANDMEMBER.io.smallrye.mutiny.Uni<ScoredValue<V>>zrandmemberWithScores(K key)Execute the command ZRANDMEMBER.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>zrandmemberWithScores(K key, int count)Execute the command ZRANDMEMBER.io.smallrye.mutiny.Uni<List<V>>zrange(K key, long start, long stop)Execute the command ZRANGE.io.smallrye.mutiny.Uni<List<V>>zrange(K key, long start, long stop, ZRangeArgs args)Execute the command ZRANGE.io.smallrye.mutiny.Uni<List<V>>zrangebylex(K key, Range<String> range)Execute the command ZRANGE.io.smallrye.mutiny.Uni<List<V>>zrangebylex(K key, Range<String> range, ZRangeArgs args)Execute the command ZRANGE.io.smallrye.mutiny.Uni<List<V>>zrangebyscore(K key, ScoreRange<Double> range)Execute the command ZRANGE.io.smallrye.mutiny.Uni<List<V>>zrangebyscore(K key, ScoreRange<Double> range, ZRangeArgs args)Execute the command ZRANGE.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>zrangebyscoreWithScores(K key, ScoreRange<Double> range)Execute the command ZRANGE.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>zrangebyscoreWithScores(K key, ScoreRange<Double> range, ZRangeArgs args)Execute the command ZRANGE.io.smallrye.mutiny.Uni<Long>zrangestore(K dst, K src, long min, long max)Execute the command ZRANGESTORE.io.smallrye.mutiny.Uni<Long>zrangestore(K dst, K src, long min, long max, ZRangeArgs args)Execute the command ZRANGESTORE.io.smallrye.mutiny.Uni<Long>zrangestorebylex(K dst, K src, Range<String> range)Execute the command ZRANGESTORE.io.smallrye.mutiny.Uni<Long>zrangestorebylex(K dst, K src, Range<String> range, ZRangeArgs args)Execute the command ZRANGESTORE.io.smallrye.mutiny.Uni<Long>zrangestorebyscore(K dst, K src, ScoreRange<Double> range)Execute the command ZRANGESTORE.io.smallrye.mutiny.Uni<Long>zrangestorebyscore(K dst, K src, ScoreRange<Double> range, ZRangeArgs args)Execute the command ZRANGESTORE.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>zrangeWithScores(K key, long start, long stop)Execute the command ZRANGE.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>zrangeWithScores(K key, long start, long stop, ZRangeArgs args)Execute the command ZRANGE.io.smallrye.mutiny.Uni<Long>zrank(K key, V value)Execute the command ZRANK.io.smallrye.mutiny.Uni<Integer>zrem(K key, V... values)Execute the command ZREM.io.smallrye.mutiny.Uni<Long>zremrangebylex(K key, Range<String> range)Execute the command ZREMRANGEBYLEX.io.smallrye.mutiny.Uni<Long>zremrangebyrank(K key, long start, long stop)Execute the command ZREMRANGEBYRANK.io.smallrye.mutiny.Uni<Long>zremrangebyscore(K key, ScoreRange<Double> range)Execute the command ZREMRANGEBYSCORE.io.smallrye.mutiny.Uni<Long>zrevrank(K key, V value)Execute the command ZREVRANK.ReactiveZScanCursor<V>zscan(K key)Execute the command ZSCAN.ReactiveZScanCursor<V>zscan(K key, ScanArgs args)Execute the command ZSCAN.io.smallrye.mutiny.Uni<Double>zscore(K key, V value)Execute the command ZSCORE.io.smallrye.mutiny.Uni<List<V>>zunion(ZAggregateArgs args, K... keys)Execute the command ZUNION.io.smallrye.mutiny.Uni<List<V>>zunion(K... keys)Execute the command ZUNION.io.smallrye.mutiny.Uni<Long>zunionstore(K destination, ZAggregateArgs args, K... keys)Execute the command ZUNIONSTORE.io.smallrye.mutiny.Uni<Long>zunionstore(K destination, K... keys)Execute the command ZUNIONSTORE.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>zunionWithScores(ZAggregateArgs args, K... keys)Execute the command ZUNION.io.smallrye.mutiny.Uni<List<ScoredValue<V>>>zunionWithScores(K... keys)Execute the command ZUNION.-
Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractSortedSetCommands
_bzmpopMax, _bzmpopMax, _bzmpopMin, _bzmpopMin, _bzpopmax, _bzpopmin, _zadd, _zadd, _zadd, _zadd, _zadd, _zadd, _zaddincr, _zaddincr, _zcard, _zcount, _zdiff, _zdiffstore, _zdiffWithScores, _zincrby, _zinter, _zinter, _zintercard, _zintercard, _zinterstore, _zinterstore, _zinterWithScores, _zinterWithScores, _zlexcount, _zmpopMax, _zmpopMax, _zmpopMin, _zmpopMin, _zmscore, _zpopmax, _zpopmax, _zpopmin, _zpopmin, _zrandmember, _zrandmember, _zrandmemberWithScores, _zrandmemberWithScores, _zrange, _zrange, _zrangebylex, _zrangebylex, _zrangebyscore, _zrangebyscore, _zrangebyscoreWithScores, _zrangebyscoreWithScores, _zrangestore, _zrangestore, _zrangestorebylex, _zrangestorebylex, _zrangestorebyscore, _zrangestorebyscore, _zrangeWithScores, _zrangeWithScores, _zrank, _zrem, _zremrangebylex, _zremrangebyrank, _zremrangebyscore, _zrevrank, _zscan, _zscan, _zscore, _zunion, _zunion, _zunionstore, _zunionstore, _zunionWithScores, _zunionWithScores, decodeAsDouble, decodeAsKeyValue, decodeAsListOfDouble, decodeAsListOfScoredValues, decodeAsListOfValues, decodeAsLong, decodeAsScoredValue, decodeAsScoredValueOrEmpty, decodeIntAsBoolean, decodeLongOrZero, decodePopResponse, decodePopResponseWithCount, decodeV, getScoreAsString
-
Methods inherited from class io.quarkus.redis.runtime.datasource.ReactiveSortable
sort, sort, sortAndStore, sortAndStore
-
Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractRedisCommands
execute, isMap
-
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.sortedset.ReactiveSortedSetCommands
sort, sort, sortAndStore, sortAndStore
-
-
-
-
Constructor Detail
-
ReactiveSortedSetCommandsImpl
public ReactiveSortedSetCommandsImpl(ReactiveRedisDataSourceImpl redis, Type k, Type v)
-
-
Method Detail
-
getDataSource
public ReactiveRedisDataSource getDataSource()
- Specified by:
getDataSourcein interfaceReactiveRedisCommands- Returns:
- the data source.
-
zadd
public io.smallrye.mutiny.Uni<Boolean> zadd(K key, double score, V value)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyscore- the scorevalue- the member- Returns:
trueif the element was added,falseotherwise
-
zadd
public io.smallrye.mutiny.Uni<Integer> zadd(K key, Map<V,Double> items)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyitems- the map of value/score to be added- Returns:
- the number of added elements
-
zadd
public io.smallrye.mutiny.Uni<Integer> zadd(K key, ScoredValue<V>... items)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyitems- the pairs of score/value to be added- Returns:
- the number of added elements
-
zadd
public io.smallrye.mutiny.Uni<Boolean> zadd(K key, ZAddArgs args, double score, V value)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyargs- the extra parameterscore- the scorevalue- the member- Returns:
trueif the element was added or changed,falseotherwise
-
zadd
public io.smallrye.mutiny.Uni<Integer> zadd(K key, ZAddArgs args, Map<V,Double> items)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyargs- the extra parameteritems- the map of value/score to be added- Returns:
- the number of items added to the set
-
zadd
public io.smallrye.mutiny.Uni<Integer> zadd(K key, ZAddArgs args, ScoredValue<V>... items)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyargs- the extra parameteritems- the pairs of score/value to be added- Returns:
- the number of items added to the set
-
zaddincr
public io.smallrye.mutiny.Uni<Double> zaddincr(K key, double score, V value)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the key.score- the increment.value- the member.- Returns:
- the new score of the updated member, or
nullif the operation was aborted.
-
zaddincr
public io.smallrye.mutiny.Uni<Double> zaddincr(K key, ZAddArgs args, double score, V value)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the key.score- the increment.value- the member.- Returns:
- the new score of the updated member, or
nullif the operation was aborted (when called with either the XX or the NX option).
-
zcard
public io.smallrye.mutiny.Uni<Long> zcard(K key)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZCARD. Summary: Get the number of members in a sorted set Group: sorted-set Requires Redis 1.2.0- Specified by:
zcardin interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the key- Returns:
- the cardinality (number of elements) of the sorted set.
0if the key does not exist.
-
zcount
public io.smallrye.mutiny.Uni<Long> zcount(K key, ScoreRange<Double> range)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyrange- the range- Returns:
- the number of elements in the specified score range.
-
zdiff
public io.smallrye.mutiny.Uni<List<V>> zdiff(K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZDIFF. Summary: Subtract multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zdiffin interfaceReactiveSortedSetCommands<K,V>- Parameters:
keys- the keys- Returns:
- the result of the difference.
-
zdiffWithScores
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> zdiffWithScores(K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
keys- the keys- Returns:
- the result of the difference.
-
zdiffstore
public io.smallrye.mutiny.Uni<Long> zdiffstore(K destination, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
destination- the destination keykeys- the keys to compare- Returns:
- the number of elements in the resulting sorted set at destination.
-
zincrby
public io.smallrye.mutiny.Uni<Double> zincrby(K key, double increment, V value)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the key- Returns:
- the new score of member.
-
zinter
public io.smallrye.mutiny.Uni<List<V>> zinter(ZAggregateArgs args, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zinterin interfaceReactiveSortedSetCommands<K,V>- Parameters:
args- the ZINTER command extra-argumentskeys- the keys- Returns:
- the result of intersection.
-
zinter
public io.smallrye.mutiny.Uni<List<V>> zinter(K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zinterin interfaceReactiveSortedSetCommands<K,V>- Parameters:
keys- the keys- Returns:
- the result of intersection.
-
zinterWithScores
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> zinterWithScores(ZAggregateArgs arguments, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zinterWithScoresin interfaceReactiveSortedSetCommands<K,V>- Parameters:
arguments- the ZINTER command extra-argumentskeys- the keys- Returns:
- the result of intersection with the scores
-
zinterWithScores
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> zinterWithScores(K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZINTER. Summary: Intersect multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zinterWithScoresin interfaceReactiveSortedSetCommands<K,V>- Parameters:
keys- the keys- Returns:
- the result of intersection with the scores
-
zintercard
public io.smallrye.mutiny.Uni<Long> zintercard(K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
keys- the keys- Returns:
- the number of elements in the resulting intersection.
-
zintercard
public io.smallrye.mutiny.Uni<Long> zintercard(long limit, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<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- Returns:
- the number of elements in the resulting intersection.
-
zinterstore
public io.smallrye.mutiny.Uni<Long> zinterstore(K destination, ZAggregateArgs arguments, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
destination- the destination keyarguments- the ZINTERSTORE command extra-argumentskeys- the keys of the sorted set to analyze- Returns:
- the number of elements in the resulting sorted set at destination.
-
zinterstore
@SafeVarargs public final io.smallrye.mutiny.Uni<Long> zinterstore(K destination, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
destination- the destination keykeys- the keys of the sorted set to analyze- Returns:
- the number of elements in the resulting sorted set at destination.
-
zlexcount
public io.smallrye.mutiny.Uni<Long> zlexcount(K key, Range<String> range)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyrange- the range- Returns:
- the number of elements in the specified score range.
-
zmpopMin
public io.smallrye.mutiny.Uni<ScoredValue<V>> zmpopMin(K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
keys- the keys- Returns:
- The popped element (value / score), or
nullif no element can be popped.
-
zmpopMin
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> zmpopMin(int count, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
count- the max number of element to popkeys- the keys- Returns:
- The popped element (value / score), or
emptyif no element can be popped.
-
zmpopMax
public io.smallrye.mutiny.Uni<ScoredValue<V>> zmpopMax(K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
keys- the keys- Returns:
- The popped element (value / score), or
nullif no element can be popped.
-
zmpopMax
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> zmpopMax(int count, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
count- the max number of element to popkeys- the keys- Returns:
- The popped element (value / score), or
emptyif no element can be popped.
-
bzmpopMin
public io.smallrye.mutiny.Uni<ScoredValue<V>> bzmpopMin(Duration timeout, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
timeout- the timeoutkeys- the keys- Returns:
- The popped element (value / score), or
nullif no element can be popped.
-
bzmpopMin
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> bzmpopMin(Duration timeout, int count, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
timeout- the timeoutcount- the max number of element to popkeys- the keys- Returns:
- The popped element (value / score), or
emptyif no element can be popped.
-
bzmpopMax
public io.smallrye.mutiny.Uni<ScoredValue<V>> bzmpopMax(Duration timeout, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
timeout- the timeoutkeys- the keys- Returns:
- The popped element (value / score), or
nullif no element can be popped.
-
bzmpopMax
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> bzmpopMax(Duration timeout, int count, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
timeout- the timeoutcount- the max number of element to popkeys- the keys- Returns:
- The popped element (value / score), or
emptyif no element can be popped.
-
zmscore
public io.smallrye.mutiny.Uni<List<Double>> zmscore(K key, V... values)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyvalues- the members- Returns:
- list of scores or
nullassociated with the specified member values.
-
zpopmax
public io.smallrye.mutiny.Uni<ScoredValue<V>> zpopmax(K key)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the key- Returns:
- the popped element and score,
ScoredValue.EMPTYis not found.
-
zpopmax
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> zpopmax(K key, int count)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the key- Returns:
- the popped elements and scores.
-
zpopmin
public io.smallrye.mutiny.Uni<ScoredValue<V>> zpopmin(K key)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the key- Returns:
- the popped element and score.
-
zpopmin
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> zpopmin(K key, int count)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the key- Returns:
- the popped elements and scores.
-
zrandmember
public io.smallrye.mutiny.Uni<V> zrandmember(K key)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the key- Returns:
- the randomly selected element, or
nullwhen key does not exist.
-
zrandmember
public io.smallrye.mutiny.Uni<List<V>> zrandmember(K key, int count)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keycount- the number of member to select- Returns:
- the list of elements, or an empty array when key does not exist.
-
zrandmemberWithScores
public io.smallrye.mutiny.Uni<ScoredValue<V>> zrandmemberWithScores(K key)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the key- Returns:
- the randomly selected element and its score, or
nullwhen key does not exist.
-
zrandmemberWithScores
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> zrandmemberWithScores(K key, int count)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keycount- the number of member to select- Returns:
- the list of elements (with their score), or an empty array when key does not exist.
-
bzpopmin
@SafeVarargs public final io.smallrye.mutiny.Uni<KeyValue<K,ScoredValue<V>>> bzpopmin(Duration timeout, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
timeout- the max timeoutkeys- the keys- Returns:
nullwhen no element could be popped and the timeout expired. A structure containing the key and theScoredValuewith the popped value and the score.
-
bzpopmax
@SafeVarargs public final io.smallrye.mutiny.Uni<KeyValue<K,ScoredValue<V>>> bzpopmax(Duration timeout, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Returns:
nullwhen no element could be popped and the timeout expired. A structure containing the key and theScoredValuewith the popped value and the score.
-
zrange
public io.smallrye.mutiny.Uni<List<V>> zrange(K key, long start, long stop, ZRangeArgs args)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keystart- the start positionstop- the stop positionargs- the extra ZRANGE parameters- Returns:
- list of elements in the specified range.
-
zrangeWithScores
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> zrangeWithScores(K key, long start, long stop, ZRangeArgs args)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZRANGE. Summary: Return a range of members in a sorted set Group: sorted-set Requires Redis 1.2.0- Specified by:
zrangeWithScoresin interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keystart- the start positionstop- the stop positionargs- the extra ZRANGE parameters- Returns:
- list of elements with their scores in the specified range.
-
zrange
public io.smallrye.mutiny.Uni<List<V>> zrange(K key, long start, long stop)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keystart- the start positionstop- the stop position- Returns:
- list of elements in the specified range.
-
zrangeWithScores
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> zrangeWithScores(K key, long start, long stop)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZRANGE. Summary: Return a range of members in a sorted set Group: sorted-set Requires Redis 1.2.0- Specified by:
zrangeWithScoresin interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keystart- the start positionstop- the stop position- Returns:
- list of elements with their scores in the specified range.
-
zrangebylex
public io.smallrye.mutiny.Uni<List<V>> zrangebylex(K key, Range<String> range, ZRangeArgs args)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyrange- the rangeargs- the extra ZRANGE parameters- Returns:
- list of elements in the specified range.
-
zrangebylex
public io.smallrye.mutiny.Uni<List<V>> zrangebylex(K key, Range<String> range)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyrange- the range- Returns:
- list of elements in the specified range.
-
zrangebyscore
public io.smallrye.mutiny.Uni<List<V>> zrangebyscore(K key, ScoreRange<Double> range, ZRangeArgs args)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyrange- the rangeargs- the extra ZRANGE parameters- Returns:
- list of elements in the specified range.
-
zrangebyscoreWithScores
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> zrangebyscoreWithScores(K key, ScoreRange<Double> range, ZRangeArgs args)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyrange- the rangeargs- the extra ZRANGE parameters- Returns:
- list of elements with their scores in the specified range.
-
zrangebyscore
public io.smallrye.mutiny.Uni<List<V>> zrangebyscore(K key, ScoreRange<Double> range)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyrange- the range- Returns:
- list of elements in the specified range.
-
zrangebyscoreWithScores
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> zrangebyscoreWithScores(K key, ScoreRange<Double> range)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyrange- the range- Returns:
- list of elements with their scores in the specified range.
-
zrangestore
public io.smallrye.mutiny.Uni<Long> zrangestore(K dst, K src, long min, long max, ZRangeArgs args)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<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- Returns:
- the number of elements in the resulting sorted set.
-
zrangestore
public io.smallrye.mutiny.Uni<Long> zrangestore(K dst, K src, long min, long max)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
dst- the keysrc- the keymin- the lower bound of the rangemax- the upper bound of the range- Returns:
- the number of elements in the resulting sorted set.
-
zrangestorebylex
public io.smallrye.mutiny.Uni<Long> zrangestorebylex(K dst, K src, Range<String> range, ZRangeArgs args)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
dst- the keysrc- the keyrange- the rangeargs- the ZRANGESTORE command extra-arguments- Returns:
- the number of elements in the resulting sorted set.
-
zrangestorebylex
public io.smallrye.mutiny.Uni<Long> zrangestorebylex(K dst, K src, Range<String> range)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
dst- the keysrc- the keyrange- the range- Returns:
- the number of elements in the resulting sorted set.
-
zrangestorebyscore
public io.smallrye.mutiny.Uni<Long> zrangestorebyscore(K dst, K src, ScoreRange<Double> range, ZRangeArgs args)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
dst- the keysrc- the keyrange- the rangeargs- the ZRANGESTORE command extra-arguments- Returns:
- the number of elements in the resulting sorted set.
-
zrangestorebyscore
public io.smallrye.mutiny.Uni<Long> zrangestorebyscore(K dst, K src, ScoreRange<Double> range)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
dst- the keysrc- the keyrange- the range- Returns:
- the number of elements in the resulting sorted set.
-
zrank
public io.smallrye.mutiny.Uni<Long> zrank(K key, V value)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the key- Returns:
- the rank of member. If member does not exist in the sorted set or key does not exist,
null.
-
zrem
public io.smallrye.mutiny.Uni<Integer> zrem(K key, V... values)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZREM. Summary: Remove one or more members from a sorted set Group: sorted-set Requires Redis 1.2.0- Specified by:
zremin interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyvalues- the members to remove- Returns:
- The number of members removed from the sorted set, not including non-existing members.
-
zremrangebylex
public io.smallrye.mutiny.Uni<Long> zremrangebylex(K key, Range<String> range)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyrange- the range- Returns:
- the number of elements removed.
-
zremrangebyrank
public io.smallrye.mutiny.Uni<Long> zremrangebyrank(K key, long start, long stop)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keystart- the lower bound of the rangestop- the upper bound of the range- Returns:
- the number of elements removed.
-
zremrangebyscore
public io.smallrye.mutiny.Uni<Long> zremrangebyscore(K key, ScoreRange<Double> range)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyrange- the range- Returns:
- the number of elements removed.
-
zrevrank
public io.smallrye.mutiny.Uni<Long> zrevrank(K key, V value)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the key- Returns:
- the rank of member. If member does not exist in the sorted set or key does not exist,
null.
-
zscan
public ReactiveZScanCursor<V> zscan(K key)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZSCAN. Summary: Incrementally iterate sorted sets elements and associated scores Group: sorted-set Requires Redis 2.8.0- Specified by:
zscanin interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the key- Returns:
- the cursor to iterate over the sorted set
-
zscan
public ReactiveZScanCursor<V> zscan(K key, ScanArgs args)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZSCAN. Summary: Incrementally iterate sorted sets elements and associated scores Group: sorted-set Requires Redis 2.8.0- Specified by:
zscanin interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyargs- the extra scan arguments- Returns:
- the cursor to iterate over the sorted set
-
zscore
public io.smallrye.mutiny.Uni<Double> zscore(K key, V value)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
key- the keyvalue- the member- Returns:
- the score of member,
nullif the member cannot be found or the key does not exist
-
zunion
public io.smallrye.mutiny.Uni<List<V>> zunion(ZAggregateArgs args, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zunionin interfaceReactiveSortedSetCommands<K,V>- Parameters:
args- the ZUNION command extra-argumentskeys- the keys- Returns:
- the result of union
-
zunion
public io.smallrye.mutiny.Uni<List<V>> zunion(K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zunionin interfaceReactiveSortedSetCommands<K,V>- Parameters:
keys- the keys- Returns:
- the result of union
-
zunionWithScores
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> zunionWithScores(K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zunionWithScoresin interfaceReactiveSortedSetCommands<K,V>- Parameters:
keys- the keys- Returns:
- the result of union
-
zunionWithScores
public io.smallrye.mutiny.Uni<List<ScoredValue<V>>> zunionWithScores(ZAggregateArgs args, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute the command ZUNION. Summary: Add multiple sorted sets Group: sorted-set Requires Redis 6.2.0- Specified by:
zunionWithScoresin interfaceReactiveSortedSetCommands<K,V>- Parameters:
args- the ZUNION command extra-argumentskeys- the keys- Returns:
- the result of union
-
zunionstore
public io.smallrye.mutiny.Uni<Long> zunionstore(K destination, ZAggregateArgs args, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
destination- the destination keyargs- the zunionstore command extra-argumentskeys- the keys- Returns:
- the number of elements in the resulting sorted set at destination.
-
zunionstore
public io.smallrye.mutiny.Uni<Long> zunionstore(K destination, K... keys)
Description copied from interface:ReactiveSortedSetCommandsExecute 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 interfaceReactiveSortedSetCommands<K,V>- Parameters:
destination- the destination keykeys- the keys- Returns:
- the number of elements in the resulting sorted set at destination.
-
-