K
- Key type.V
- Value type.public interface RedisSortedSetReactiveCommands<K,V>
Modifier and Type | Method and Description |
---|---|
Mono<KeyValue<K,ScoredValue<V>>> |
bzpopmax(double timeout,
K... keys)
Removes and returns a member with the highest scores in the sorted set stored at one of the keys.
|
Mono<KeyValue<K,ScoredValue<V>>> |
bzpopmax(long timeout,
K... keys)
Removes and returns a member with the highest scores in the sorted set stored at one of the keys.
|
Mono<KeyValue<K,ScoredValue<V>>> |
bzpopmin(double timeout,
K... keys)
Removes and returns a member with the lowest scores in the sorted set stored at one of the keys.
|
Mono<KeyValue<K,ScoredValue<V>>> |
bzpopmin(long timeout,
K... keys)
Removes and returns a member with the lowest scores in the sorted set stored at one of the keys.
|
Mono<Long> |
zadd(K key,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists.
|
Mono<Long> |
zadd(K key,
Object... scoresAndValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Mono<Long> |
zadd(K key,
ScoredValue<V>... scoredValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Mono<Long> |
zadd(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists.
|
Mono<Long> |
zadd(K key,
ZAddArgs zAddArgs,
Object... scoresAndValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Mono<Long> |
zadd(K key,
ZAddArgs zAddArgs,
ScoredValue<V>... scoredValues)
Add one or more members to a sorted set, or update its score if it already exists.
|
Mono<Double> |
zaddincr(K key,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists applying the
INCR option. |
Mono<Double> |
zaddincr(K key,
ZAddArgs zAddArgs,
double score,
V member)
Add one or more members to a sorted set, or update its score if it already exists applying the
INCR option. |
Mono<Long> |
zcard(K key)
Get the number of members in a sorted set.
|
Mono<Long> |
zcount(K key,
double min,
double max)
Deprecated.
|
Mono<Long> |
zcount(K key,
Range<? extends Number> range)
Count the members in a sorted set with scores within the given
Range . |
Mono<Long> |
zcount(K key,
String min,
String max)
Deprecated.
|
Flux<V> |
zdiff(K... keys)
Computes the difference between the first and all successive input sorted sets.
|
Mono<Long> |
zdiffstore(K destKey,
K... srcKeys)
Computes the difference between the first and all successive input sorted sets and stores the result in destination.
|
Flux<ScoredValue<V>> |
zdiffWithScores(K... keys)
Computes the difference between the first and all successive input sorted sets.
|
Mono<Double> |
zincrby(K key,
double amount,
V member)
Increment the score of a member in a sorted set.
|
Flux<V> |
zinter(K... keys)
Intersect multiple sorted sets and returns the resulting sorted.
|
Flux<V> |
zinter(ZAggregateArgs aggregateArgs,
K... keys)
Intersect multiple sorted sets and returns the resulting sorted.
|
Mono<Long> |
zintercard(K... keys)
This command is similar to
zinter(java.lang.Object[]) , but instead of returning the result set, it returns just
the cardinality of the result. |
Mono<Long> |
zintercard(long limit,
K... keys)
This command is similar to
zinter(java.lang.Object[]) , but instead of returning the result set, it returns just
the cardinality of the result. |
Mono<Long> |
zinterstore(K destination,
K... keys)
Intersect multiple sorted sets and store the resulting sorted set in a new key.
|
Mono<Long> |
zinterstore(K destination,
ZStoreArgs storeArgs,
K... keys)
Intersect multiple sorted sets and store the resulting sorted set in a new key.
|
Flux<ScoredValue<V>> |
zinterWithScores(K... keys)
Intersect multiple sorted sets and returns the resulting sorted.
|
Flux<ScoredValue<V>> |
zinterWithScores(ZAggregateArgs aggregateArgs,
K... keys)
Intersect multiple sorted sets and returns the resulting sorted.
|
Mono<Long> |
zlexcount(K key,
Range<? extends V> range)
Count the number of members in a sorted set between a given lexicographical range.
|
Mono<Long> |
zlexcount(K key,
String min,
String max)
Deprecated.
|
Mono<List<Double>> |
zmscore(K key,
V... members)
Returns the scores associated with the specified members in the sorted set stored at key.
|
Mono<ScoredValue<V>> |
zpopmax(K key)
Removes and returns up to count members with the highest scores in the sorted set stored at key.
|
Flux<ScoredValue<V>> |
zpopmax(K key,
long count)
Removes and returns up to count members with the highest scores in the sorted set stored at key.
|
Mono<ScoredValue<V>> |
zpopmin(K key)
Removes and returns up to count members with the lowest scores in the sorted set stored at key.
|
Flux<ScoredValue<V>> |
zpopmin(K key,
long count)
Removes and returns up to count members with the lowest scores in the sorted set stored at key.
|
Mono<V> |
zrandmember(K key)
Return a random member from the sorted set stored at
key . |
Flux<V> |
zrandmember(K key,
long count)
Return
count random members from the sorted set stored at key . |
Mono<ScoredValue<V>> |
zrandmemberWithScores(K key)
Return a random member along its value from the sorted set stored at
key . |
Flux<ScoredValue<V>> |
zrandmemberWithScores(K key,
long count)
Return
count random members along their value from the sorted set stored at key . |
Flux<V> |
zrange(K key,
long start,
long stop)
Return a range of members in a sorted set, by index.
|
Mono<Long> |
zrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zrange(K, long, long) . |
Flux<V> |
zrangebylex(K key,
Range<? extends V> range)
Return a range of members in a sorted set, by lexicographical range.
|
Flux<V> |
zrangebylex(K key,
Range<? extends V> range,
Limit limit)
Return a range of members in a sorted set, by lexicographical range.
|
Flux<V> |
zrangebylex(K key,
String min,
String max)
Deprecated.
|
Flux<V> |
zrangebylex(K key,
String min,
String max,
long offset,
long count)
Deprecated.
|
Flux<V> |
zrangebyscore(K key,
double min,
double max)
Deprecated.
|
Flux<V> |
zrangebyscore(K key,
double min,
double max,
long offset,
long count)
Deprecated.
|
Flux<V> |
zrangebyscore(K key,
Range<? extends Number> range)
Return a range of members in a sorted set, by score.
|
Flux<V> |
zrangebyscore(K key,
Range<? extends Number> range,
Limit limit)
Return a range of members in a sorted set, by score.
|
Flux<V> |
zrangebyscore(K key,
String min,
String max)
Deprecated.
|
Flux<V> |
zrangebyscore(K key,
String min,
String max,
long offset,
long count)
Deprecated.
|
Mono<Long> |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
double min,
double max)
Deprecated.
|
Mono<Long> |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
double min,
double max,
long offset,
long count)
|
Mono<Long> |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zrangebyscore(K, double, double) . |
Mono<Long> |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range,
Limit limit)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zrangebyscore(K, double, double) . |
Mono<Long> |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
String min,
String max)
Deprecated.
|
Mono<Long> |
zrangebyscore(ValueStreamingChannel<V> channel,
K key,
String min,
String max,
long offset,
long count)
|
Flux<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
double min,
double max)
Deprecated.
|
Flux<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
double min,
double max,
long offset,
long count)
Deprecated.
|
Flux<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
Range<? extends Number> range)
Return a range of members with score in a sorted set, by score.
|
Flux<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
Range<? extends Number> range,
Limit limit)
Return a range of members with score in a sorted set, by score.
|
Flux<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
String min,
String max)
Deprecated.
|
Flux<ScoredValue<V>> |
zrangebyscoreWithScores(K key,
String min,
String max,
long offset,
long count)
Deprecated.
|
Mono<Long> |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double min,
double max)
|
Mono<Long> |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double min,
double max,
long offset,
long count)
|
Mono<Long> |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zrangebyscoreWithScores(K, double, double) . |
Mono<Long> |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range,
Limit limit)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zrangebyscoreWithScores(K, double, double) . |
Mono<Long> |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String min,
String max)
|
Mono<Long> |
zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String min,
String max,
long offset,
long count)
|
Mono<Long> |
zrangestore(K dstKey,
K srcKey,
Range<Long> range)
Get the specified range of elements in the sorted set stored at
srcKey and stores the result in the
dstKey destination key. |
Mono<Long> |
zrangestorebylex(K dstKey,
K srcKey,
Range<? extends V> range,
Limit limit)
Get the specified range of elements in the sorted set stored at
srcKey and stores the result in the
dstKey destination key. |
Mono<Long> |
zrangestorebyscore(K dstKey,
K srcKey,
Range<? extends Number> range,
Limit limit)
Get the specified range of elements in the sorted set stored at
srcKey and stores the result in the
dstKey destination key. |
Flux<ScoredValue<V>> |
zrangeWithScores(K key,
long start,
long stop)
Return a range of members with scores in a sorted set, by index.
|
Mono<Long> |
zrangeWithScores(ScoredValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zrangeWithScores(K, long, long) . |
Mono<Long> |
zrank(K key,
V member)
Determine the index of a member in a sorted set.
|
Mono<Long> |
zrem(K key,
V... members)
Remove one or more members from a sorted set.
|
Mono<Long> |
zremrangebylex(K key,
Range<? extends V> range)
Remove all members in a sorted set between the given lexicographical range.
|
Mono<Long> |
zremrangebylex(K key,
String min,
String max)
Deprecated.
|
Mono<Long> |
zremrangebyrank(K key,
long start,
long stop)
Remove all members in a sorted set within the given indexes.
|
Mono<Long> |
zremrangebyscore(K key,
double min,
double max)
Deprecated.
|
Mono<Long> |
zremrangebyscore(K key,
Range<? extends Number> range)
Remove all members in a sorted set within the given scores.
|
Mono<Long> |
zremrangebyscore(K key,
String min,
String max)
Deprecated.
|
Flux<V> |
zrevrange(K key,
long start,
long stop)
Return a range of members in a sorted set, by index, with scores ordered from high to low.
|
Mono<Long> |
zrevrange(ValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zrevrange(K, long, long) . |
Flux<V> |
zrevrangebylex(K key,
Range<? extends V> range)
Return a range of members in a sorted set, by lexicographical range ordered from high to low.
|
Flux<V> |
zrevrangebylex(K key,
Range<? extends V> range,
Limit limit)
Return a range of members in a sorted set, by lexicographical range ordered from high to low.
|
Flux<V> |
zrevrangebyscore(K key,
double max,
double min)
Deprecated.
|
Flux<V> |
zrevrangebyscore(K key,
double max,
double min,
long offset,
long count)
Deprecated.
|
Flux<V> |
zrevrangebyscore(K key,
Range<? extends Number> range)
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
Flux<V> |
zrevrangebyscore(K key,
Range<? extends Number> range,
Limit limit)
Return a range of members in a sorted set, by score, with scores ordered from high to low.
|
Flux<V> |
zrevrangebyscore(K key,
String max,
String min)
Deprecated.
|
Flux<V> |
zrevrangebyscore(K key,
String max,
String min,
long offset,
long count)
Deprecated.
|
Mono<Long> |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
double max,
double min)
Deprecated.
|
Mono<Long> |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
double max,
double min,
long offset,
long count)
Deprecated.
|
Mono<Long> |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zrevrangebyscore(K, double, double) . |
Mono<Long> |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range,
Limit limit)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zrevrangebyscore(K, double, double) . |
Mono<Long> |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
String max,
String min)
Deprecated.
|
Mono<Long> |
zrevrangebyscore(ValueStreamingChannel<V> channel,
K key,
String max,
String min,
long offset,
long count)
Deprecated.
|
Flux<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
double max,
double min)
Deprecated.
|
Flux<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
double max,
double min,
long offset,
long count)
Deprecated.
|
Flux<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
Range<? extends Number> range)
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
Flux<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
Range<? extends Number> range,
Limit limit)
Return a range of members with scores in a sorted set, by score, with scores ordered from high to low.
|
Flux<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
String max,
String min)
Deprecated.
|
Flux<ScoredValue<V>> |
zrevrangebyscoreWithScores(K key,
String max,
String min,
long offset,
long count)
Deprecated.
|
Mono<Long> |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double max,
double min)
|
Mono<Long> |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
double max,
double min,
long offset,
long count)
|
Mono<Long> |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zrevrangebyscoreWithScores(K, double, double) . |
Mono<Long> |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
Range<? extends Number> range,
Limit limit)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zrevrangebyscoreWithScores(K, double, double) . |
Mono<Long> |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String max,
String min)
|
Mono<Long> |
zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel,
K key,
String max,
String min,
long offset,
long count)
|
Mono<Long> |
zrevrangestore(K dstKey,
K srcKey,
Range<Long> range)
Get the specified range of elements ordered from high to low in the sorted set stored at
srcKey and stores the
result in the dstKey destination key. |
Mono<Long> |
zrevrangestorebylex(K dstKey,
K srcKey,
Range<? extends V> range,
Limit limit)
Get the lexicographical range ordered from high to low of elements in the sorted set stored at
srcKey and stores
the result in the dstKey destination key. |
Mono<Long> |
zrevrangestorebyscore(K dstKey,
K srcKey,
Range<? extends Number> range,
Limit limit)
Get the specified range of elements in the sorted set stored at srcKey with scores ordered from high to low and
stores the result in the {@code dstKey} destination key.
|
Flux<ScoredValue<V>> |
zrevrangeWithScores(K key,
long start,
long stop)
Return a range of members with scores in a sorted set, by index, with scores ordered from high to low.
|
Mono<Long> |
zrevrangeWithScores(ScoredValueStreamingChannel<V> channel,
K key,
long start,
long stop)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zrevrangeWithScores(K, long, long) . |
Mono<Long> |
zrevrank(K key,
V member)
Determine the index of a member in a sorted set, with scores ordered from high to low.
|
Mono<ScoredValueScanCursor<V>> |
zscan(K key)
Incrementally iterate sorted sets elements and associated scores.
|
Mono<ScoredValueScanCursor<V>> |
zscan(K key,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
Mono<ScoredValueScanCursor<V>> |
zscan(K key,
ScanCursor scanCursor)
Incrementally iterate sorted sets elements and associated scores.
|
Mono<ScoredValueScanCursor<V>> |
zscan(K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Incrementally iterate sorted sets elements and associated scores.
|
Mono<StreamScanCursor> |
zscan(ScoredValueStreamingChannel<V> channel,
K key)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zscan(K) . |
Mono<StreamScanCursor> |
zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanArgs scanArgs)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zscan(K) . |
Mono<StreamScanCursor> |
zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zscan(K) . |
Mono<StreamScanCursor> |
zscan(ScoredValueStreamingChannel<V> channel,
K key,
ScanCursor scanCursor,
ScanArgs scanArgs)
Deprecated.
since 6.0 in favor of consuming large results through the
Publisher returned by zscan(K) . |
Mono<Double> |
zscore(K key,
V member)
Get the score associated with the given member in a sorted set.
|
Flux<V> |
zunion(K... keys)
Add multiple sorted sets and returns the resulting sorted set.
|
Flux<V> |
zunion(ZAggregateArgs aggregateArgs,
K... keys)
Add multiple sorted sets and returns the resulting sorted set.
|
Mono<Long> |
zunionstore(K destination,
K... keys)
Add multiple sorted sets and store the resulting sorted set in a new key.
|
Mono<Long> |
zunionstore(K destination,
ZStoreArgs storeArgs,
K... keys)
Add multiple sorted sets and store the resulting sorted set in a new key.
|
Flux<ScoredValue<V>> |
zunionWithScores(K... keys)
Add multiple sorted sets and returns the resulting sorted set.
|
Flux<ScoredValue<V>> |
zunionWithScores(ZAggregateArgs aggregateArgs,
K... keys)
Add multiple sorted sets and returns the resulting sorted set.
|
Mono<KeyValue<K,ScoredValue<V>>> bzpopmin(long timeout, K... keys)
timeout
- the timeout in seconds.keys
- the keys.Mono<KeyValue<K,ScoredValue<V>>> bzpopmin(double timeout, K... keys)
timeout
- the timeout in seconds.keys
- the keys.Mono<KeyValue<K,ScoredValue<V>>> bzpopmax(long timeout, K... keys)
timeout
- the timeout in seconds.keys
- the keys.Mono<KeyValue<K,ScoredValue<V>>> bzpopmax(double timeout, K... keys)
timeout
- the timeout in seconds.keys
- the keys.Mono<Long> zadd(K key, double score, V member)
key
- the key.score
- the score.member
- the member.Mono<Long> zadd(K key, Object... scoresAndValues)
key
- the key.scoresAndValues
- the scoresAndValue tuples (score,value,score,value,...).Mono<Long> zadd(K key, ScoredValue<V>... scoredValues)
key
- the key.scoredValues
- the scored values.Mono<Long> zadd(K key, ZAddArgs zAddArgs, double score, V member)
key
- the key.zAddArgs
- arguments for zadd.score
- the score.member
- the member.Mono<Long> zadd(K key, ZAddArgs zAddArgs, Object... scoresAndValues)
key
- the key.zAddArgs
- arguments for zadd.scoresAndValues
- the scoresAndValue tuples (score,value,score,value,...).Mono<Long> zadd(K key, ZAddArgs zAddArgs, ScoredValue<V>... scoredValues)
key
- the ke.zAddArgs
- arguments for zadd.scoredValues
- the scored values.Mono<Double> zaddincr(K key, double score, V member)
INCR
option. ZADD
acts like ZINCRBY.key
- the key.score
- the score.member
- the member.Mono<Double> zaddincr(K key, ZAddArgs zAddArgs, double score, V member)
INCR
option. ZADD
acts like ZINCRBY.key
- the key.zAddArgs
- arguments for zadd.score
- the score.member
- the member.Mono<Long> zcard(K key)
key
- the key.false
if key
does
not exist.@Deprecated Mono<Long> zcount(K key, double min, double max)
zcount(java.lang.Object, Range)
.key
- the key.min
- min score.max
- max score.@Deprecated Mono<Long> zcount(K key, String min, String max)
zcount(java.lang.Object, Range)
.key
- the key.min
- min score.max
- max score.Mono<Long> zcount(K key, Range<? extends Number> range)
Range
.key
- the key.range
- the range.Flux<V> zdiff(K... keys)
keys
- the keys.Mono<Long> zdiffstore(K destKey, K... srcKeys)
destKey
- the dest key.srcKeys
- the src keys.Flux<ScoredValue<V>> zdiffWithScores(K... keys)
keys
- the keys.Mono<Double> zincrby(K key, double amount, V member)
key
- the key.amount
- the increment type: long.member
- the member type: value.member
(a double precision floating point number), represented
as string.Flux<V> zinter(K... keys)
keys
- the keys.Flux<V> zinter(ZAggregateArgs aggregateArgs, K... keys)
aggregateArgs
- arguments to define aggregation and weights.keys
- the keys.Mono<Long> zintercard(K... keys)
zinter(java.lang.Object[])
, but instead of returning the result set, it returns just
the cardinality of the result.keys
- the keys.Mono<Long> zintercard(long limit, K... keys)
zinter(java.lang.Object[])
, but instead of returning the result set, it returns just
the cardinality of the result.limit
- If the intersection cardinality reaches limit partway through the computation, the algorithm will exit and
yield limit as the cardinalitykeys
- the keys.Flux<ScoredValue<V>> zinterWithScores(ZAggregateArgs aggregateArgs, K... keys)
aggregateArgs
- arguments to define aggregation and weights.keys
- the keys.Flux<ScoredValue<V>> zinterWithScores(K... keys)
keys
- the keys.Mono<Long> zinterstore(K destination, K... keys)
destination
- the destination.keys
- the keys.destination
.Mono<Long> zinterstore(K destination, ZStoreArgs storeArgs, K... keys)
destination
- the destination.storeArgs
- arguments to define aggregation and weights.keys
- the keys.destination
.@Deprecated Mono<Long> zlexcount(K key, String min, String max)
zlexcount(java.lang.Object, Range)
.key
- the key.min
- min score.max
- max score.Mono<Long> zlexcount(K key, Range<? extends V> range)
key
- the key.range
- the range.Mono<List<Double>> zmscore(K key, V... members)
key
- the key.members
- the member type: value.Mono<ScoredValue<V>> zpopmin(K key)
key
- the key.Flux<ScoredValue<V>> zpopmin(K key, long count)
key
- the key.count
- the number of elements to return.Mono<ScoredValue<V>> zpopmax(K key)
key
- the key.Flux<ScoredValue<V>> zpopmax(K key, long count)
key
- the key.count
- the number of elements to return.Mono<V> zrandmember(K key)
key
.key
- the key.Flux<V> zrandmember(K key, long count)
count
random members from the sorted set stored at key
.key
- the key.count
- the number of members to return. If the provided count argument is positive, return an array of distinct
fields.Mono<ScoredValue<V>> zrandmemberWithScores(K key)
key
.key
- the key.Flux<ScoredValue<V>> zrandmemberWithScores(K key, long count)
count
random members along their value from the sorted set stored at key
.key
- the key.count
- the number of members to return. If the provided count argument is positive, return an array of distinct
fields.Flux<V> zrange(K key, long start, long stop)
key
- the key.start
- the start.stop
- the stop.@Deprecated Mono<Long> zrange(ValueStreamingChannel<V> channel, K key, long start, long stop)
Publisher
returned by zrange(K, long, long)
.channel
- streaming channel that receives a call for every value.key
- the key.start
- the start.stop
- the stop.Flux<ScoredValue<V>> zrangeWithScores(K key, long start, long stop)
key
- the key.start
- the start.stop
- the stop.@Deprecated Mono<Long> zrangeWithScores(ScoredValueStreamingChannel<V> channel, K key, long start, long stop)
Publisher
returned by zrangeWithScores(K, long, long)
.channel
- streaming channel that receives a call for every value.key
- the key.start
- the start.stop
- the stop.@Deprecated Flux<V> zrangebylex(K key, String min, String max)
zrangebylex(java.lang.Object, Range)
.key
- the key.min
- min score.max
- max score.Flux<V> zrangebylex(K key, Range<? extends V> range)
key
- the key.range
- the range.@Deprecated Flux<V> zrangebylex(K key, String min, String max, long offset, long count)
zrangebylex(java.lang.Object, Range)
.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.Flux<V> zrangebylex(K key, Range<? extends V> range, Limit limit)
key
- the key.range
- the range.limit
- the limit.@Deprecated Flux<V> zrangebyscore(K key, double min, double max)
zrangebyscore(java.lang.Object, Range)
.key
- the key.min
- min score.max
- max score.@Deprecated Flux<V> zrangebyscore(K key, String min, String max)
zrangebyscore(java.lang.Object, Range)
.key
- the key.min
- min score.max
- max score.Flux<V> zrangebyscore(K key, Range<? extends Number> range)
key
- the key.range
- the range.@Deprecated Flux<V> zrangebyscore(K key, double min, double max, long offset, long count)
zrangebyscore(java.lang.Object, Range, Limit)
.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.@Deprecated Flux<V> zrangebyscore(K key, String min, String max, long offset, long count)
zrangebyscore(java.lang.Object, Range, Limit)
.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.Flux<V> zrangebyscore(K key, Range<? extends Number> range, Limit limit)
key
- the key.range
- the range.limit
- the limit.@Deprecated Mono<Long> zrangebyscore(ValueStreamingChannel<V> channel, K key, double min, double max)
zrangebyscore(ValueStreamingChannel, java.lang.Object, Range)
.channel
- streaming channel that receives a call for every value.key
- the key.min
- min score.max
- max score.@Deprecated Mono<Long> zrangebyscore(ValueStreamingChannel<V> channel, K key, String min, String max)
zrangebyscore(ValueStreamingChannel, java.lang.Object, Range)
.channel
- streaming channel that receives a call for every value.key
- the key.min
- min score.max
- max score.@Deprecated Mono<Long> zrangebyscore(ValueStreamingChannel<V> channel, K key, Range<? extends Number> range)
Publisher
returned by zrangebyscore(K, double, double)
.channel
- streaming channel that receives a call for every value.key
- the key.range
- the range.@Deprecated Mono<Long> zrangebyscore(ValueStreamingChannel<V> channel, K key, double min, double max, long offset, long count)
channel
- streaming channel that receives a call for every value.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.@Deprecated Mono<Long> zrangebyscore(ValueStreamingChannel<V> channel, K key, String min, String max, long offset, long count)
channel
- streaming channel that receives a call for every value.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.@Deprecated Mono<Long> zrangebyscore(ValueStreamingChannel<V> channel, K key, Range<? extends Number> range, Limit limit)
Publisher
returned by zrangebyscore(K, double, double)
.channel
- streaming channel that receives a call for every value.key
- the key.range
- the range.limit
- the limit.@Deprecated Flux<ScoredValue<V>> zrangebyscoreWithScores(K key, double min, double max)
zrangebyscoreWithScores(java.lang.Object, Range)
.key
- the key.min
- min score.max
- max score.@Deprecated Flux<ScoredValue<V>> zrangebyscoreWithScores(K key, String min, String max)
zrangebyscoreWithScores(java.lang.Object, Range)
.key
- the key.min
- min score.max
- max score.Flux<ScoredValue<V>> zrangebyscoreWithScores(K key, Range<? extends Number> range)
key
- the key.range
- the range.@Deprecated Flux<ScoredValue<V>> zrangebyscoreWithScores(K key, double min, double max, long offset, long count)
zrangebyscoreWithScores(java.lang.Object, Range, Limit limit)
.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.@Deprecated Flux<ScoredValue<V>> zrangebyscoreWithScores(K key, String min, String max, long offset, long count)
zrangebyscoreWithScores(java.lang.Object, Range, Limit)
.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.Flux<ScoredValue<V>> zrangebyscoreWithScores(K key, Range<? extends Number> range, Limit limit)
key
- the key.range
- the range.limit
- the limit.@Deprecated Mono<Long> zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, double min, double max)
channel
- streaming channel that receives a call for every scored value.key
- the key.min
- min score.max
- max score.@Deprecated Mono<Long> zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, String min, String max)
channel
- streaming channel that receives a call for every scored value.key
- the key.min
- min score.max
- max score.@Deprecated Mono<Long> zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, Range<? extends Number> range)
Publisher
returned by zrangebyscoreWithScores(K, double, double)
.channel
- streaming channel that receives a call for every scored value.key
- the key.range
- the range.@Deprecated Mono<Long> zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, double min, double max, long offset, long count)
zrangebyscoreWithScores(ScoredValueStreamingChannel, java.lang.Object, Range, Limit limit)
.channel
- streaming channel that receives a call for every scored value.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.@Deprecated Mono<Long> zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, String min, String max, long offset, long count)
zrangebyscoreWithScores(ScoredValueStreamingChannel, java.lang.Object, Range, Limit limit)
.channel
- streaming channel that receives a call for every scored value.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.@Deprecated Mono<Long> zrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, Range<? extends Number> range, Limit limit)
Publisher
returned by zrangebyscoreWithScores(K, double, double)
.channel
- streaming channel that receives a call for every scored value.key
- the key.range
- the range.limit
- the limit.Mono<Long> zrangestore(K dstKey, K srcKey, Range<Long> range)
srcKey
and stores the result in the
dstKey
destination key.dstKey
- the dst key.srcKey
- the src key.range
- the rank.Mono<Long> zrangestorebylex(K dstKey, K srcKey, Range<? extends V> range, Limit limit)
srcKey
and stores the result in the
dstKey
destination key.dstKey
- the dst key.srcKey
- the src key.range
- the lexicographical range.limit
- the limit to apply.Mono<Long> zrangestorebyscore(K dstKey, K srcKey, Range<? extends Number> range, Limit limit)
srcKey
and stores the result in the
dstKey
destination key.dstKey
- the dst key.srcKey
- the src key.range
- the score range.limit
- the limit to apply.Mono<Long> zrank(K key, V member)
key
- the key.member
- the member type: value.member
. If member
does not exist in the sorted set or key
does not exist,.Mono<Long> zrem(K key, V... members)
key
- the key.members
- the member type: value.@Deprecated Mono<Long> zremrangebylex(K key, String min, String max)
zremrangebylex(java.lang.Object, Range)
.key
- the key.min
- min score.max
- max score.Mono<Long> zremrangebylex(K key, Range<? extends V> range)
key
- the key.range
- the range.Mono<Long> zremrangebyrank(K key, long start, long stop)
key
- the key.start
- the start type: long.stop
- the stop type: long.@Deprecated Mono<Long> zremrangebyscore(K key, double min, double max)
zremrangebyscore(java.lang.Object, Range)
.key
- the key.min
- min score.max
- max score.@Deprecated Mono<Long> zremrangebyscore(K key, String min, String max)
zremrangebyscore(java.lang.Object, Range)
.key
- the key.min
- min score.max
- max score.Mono<Long> zremrangebyscore(K key, Range<? extends Number> range)
key
- the key.range
- the range.Flux<V> zrevrange(K key, long start, long stop)
key
- the key.start
- the start.stop
- the stop.@Deprecated Mono<Long> zrevrange(ValueStreamingChannel<V> channel, K key, long start, long stop)
Publisher
returned by zrevrange(K, long, long)
.channel
- streaming channel that receives a call for every scored value.key
- the key.start
- the start.stop
- the stop.Flux<ScoredValue<V>> zrevrangeWithScores(K key, long start, long stop)
key
- the key.start
- the start.stop
- the stop.@Deprecated Mono<Long> zrevrangeWithScores(ScoredValueStreamingChannel<V> channel, K key, long start, long stop)
Publisher
returned by zrevrangeWithScores(K, long, long)
.channel
- streaming channel that receives a call for every scored value.key
- the key.start
- the start.stop
- the stop.Flux<V> zrevrangebylex(K key, Range<? extends V> range)
key
- the key.range
- the range.Flux<V> zrevrangebylex(K key, Range<? extends V> range, Limit limit)
key
- the key.range
- the range.limit
- the limit.@Deprecated Flux<V> zrevrangebyscore(K key, double max, double min)
zrevrangebyscore(java.lang.Object, Range)
.key
- the key.min
- min score.max
- max score.@Deprecated Flux<V> zrevrangebyscore(K key, String max, String min)
zrevrangebyscore(java.lang.Object, Range)
.key
- the key.min
- min score.max
- max score.Flux<V> zrevrangebyscore(K key, Range<? extends Number> range)
key
- the key.range
- the range.@Deprecated Flux<V> zrevrangebyscore(K key, double max, double min, long offset, long count)
zrevrangebyscore(java.lang.Object, Range, Limit)
.key
- the key.max
- max score.min
- min score.offset
- the withscores.count
- the number of items.@Deprecated Flux<V> zrevrangebyscore(K key, String max, String min, long offset, long count)
zrevrangebyscore(java.lang.Object, Range, Limit)
.key
- the key.max
- max score.min
- min score.offset
- the offset.count
- the count.Flux<V> zrevrangebyscore(K key, Range<? extends Number> range, Limit limit)
key
- the key.range
- the range.limit
- the limit.@Deprecated Mono<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, double max, double min)
zrevrangebyscore(java.lang.Object, Range)
.channel
- streaming channel that receives a call for every value.key
- the key.max
- max score.min
- min score.@Deprecated Mono<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, String max, String min)
zrevrangebyscore(java.lang.Object, Range)
.channel
- streaming channel that receives a call for every value.key
- the key.min
- min score.max
- max score.@Deprecated Mono<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, Range<? extends Number> range)
Publisher
returned by zrevrangebyscore(K, double, double)
.channel
- streaming channel that receives a call for every value.key
- the key.range
- the range.@Deprecated Mono<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, double max, double min, long offset, long count)
zrevrangebyscoreWithScores(java.lang.Object, Range, Limit)
.channel
- streaming channel that receives a call for every value.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.@Deprecated Mono<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, String max, String min, long offset, long count)
zrevrangebyscoreWithScores(java.lang.Object, Range, Limit)
.channel
- streaming channel that receives a call for every value.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.@Deprecated Mono<Long> zrevrangebyscore(ValueStreamingChannel<V> channel, K key, Range<? extends Number> range, Limit limit)
Publisher
returned by zrevrangebyscore(K, double, double)
.channel
- streaming channel that receives a call for every value.key
- the key.range
- the range.limit
- the limit.@Deprecated Flux<ScoredValue<V>> zrevrangebyscoreWithScores(K key, double max, double min)
zrevrangebyscoreWithScores(java.lang.Object, Range)
.key
- the key.max
- max score.min
- min score.@Deprecated Flux<ScoredValue<V>> zrevrangebyscoreWithScores(K key, String max, String min)
zrevrangebyscoreWithScores(java.lang.Object, Range)
.key
- the key.max
- max score.min
- min score.Flux<ScoredValue<V>> zrevrangebyscoreWithScores(K key, Range<? extends Number> range)
key
- the key.range
- the range.@Deprecated Flux<ScoredValue<V>> zrevrangebyscoreWithScores(K key, double max, double min, long offset, long count)
zrevrangebyscoreWithScores(java.lang.Object, Range, Limit)
.key
- the key.max
- max score.min
- min score.offset
- the offset.count
- the count.@Deprecated Flux<ScoredValue<V>> zrevrangebyscoreWithScores(K key, String max, String min, long offset, long count)
zrevrangebyscoreWithScores(java.lang.Object, Range, Limit)
.key
- the key.max
- max score.min
- min score.offset
- the offset.count
- the count.Flux<ScoredValue<V>> zrevrangebyscoreWithScores(K key, Range<? extends Number> range, Limit limit)
key
- the key.range
- the range.limit
- limit.@Deprecated Mono<Long> zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, double max, double min)
channel
- streaming channel that receives a call for every scored value.key
- the key.min
- min score.max
- max score.@Deprecated Mono<Long> zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, String max, String min)
channel
- streaming channel that receives a call for every scored value.key
- the key.min
- min score.max
- max score.@Deprecated Mono<Long> zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, Range<? extends Number> range)
Publisher
returned by zrevrangebyscoreWithScores(K, double, double)
.channel
- streaming channel that receives a call for every scored value.key
- the key.range
- the range.@Deprecated Mono<Long> zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, double max, double min, long offset, long count)
zrevrangebyscoreWithScores(ScoredValueStreamingChannel, java.lang.Object, Range, Limit)
.channel
- streaming channel that receives a call for every scored value.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.@Deprecated Mono<Long> zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, String max, String min, long offset, long count)
zrevrangebyscoreWithScores(ScoredValueStreamingChannel, java.lang.Object, Range, Limit)
.channel
- streaming channel that receives a call for every scored value.key
- the key.min
- min score.max
- max score.offset
- the offset.count
- the count.@Deprecated Mono<Long> zrevrangebyscoreWithScores(ScoredValueStreamingChannel<V> channel, K key, Range<? extends Number> range, Limit limit)
Publisher
returned by zrevrangebyscoreWithScores(K, double, double)
.channel
- streaming channel that receives a call for every scored value.key
- the key.range
- the range.limit
- the limit.Mono<Long> zrevrangestore(K dstKey, K srcKey, Range<Long> range)
srcKey
and stores the
result in the dstKey
destination key.dstKey
- the dst key.srcKey
- the src key.range
- the rank.Mono<Long> zrevrangestorebylex(K dstKey, K srcKey, Range<? extends V> range, Limit limit)
srcKey
and stores
the result in the dstKey
destination key.dstKey
- the src key.srcKey
- the dst key.range
- the lexicographical range.limit
- the limit to apply.Mono<Long> zrevrangestorebyscore(K dstKey, K srcKey, Range<? extends Number> range, Limit limit)
dstKey
- the src key.srcKey
- the dst key.range
- the score range.limit
- the limit to apply.Mono<Long> zrevrank(K key, V member)
key
- the key.member
- the member type: value.member
. If member
does not exist in the sorted set or key
does not exist,.Mono<ScoredValueScanCursor<V>> zscan(K key)
key
- the key.Mono<ScoredValueScanCursor<V>> zscan(K key, ScanArgs scanArgs)
key
- the key.scanArgs
- scan arguments.Mono<ScoredValueScanCursor<V>> zscan(K key, ScanCursor scanCursor, ScanArgs scanArgs)
key
- the key.scanCursor
- cursor to resume from a previous scan, must not be null
.scanArgs
- scan arguments.Mono<ScoredValueScanCursor<V>> zscan(K key, ScanCursor scanCursor)
key
- the key.scanCursor
- cursor to resume from a previous scan, must not be null
.@Deprecated Mono<StreamScanCursor> zscan(ScoredValueStreamingChannel<V> channel, K key)
Publisher
returned by zscan(K)
.channel
- streaming channel that receives a call for every scored value.key
- the key.@Deprecated Mono<StreamScanCursor> zscan(ScoredValueStreamingChannel<V> channel, K key, ScanArgs scanArgs)
Publisher
returned by zscan(K)
.channel
- streaming channel that receives a call for every scored value.key
- the key.scanArgs
- scan arguments.@Deprecated Mono<StreamScanCursor> zscan(ScoredValueStreamingChannel<V> channel, K key, ScanCursor scanCursor, ScanArgs scanArgs)
Publisher
returned by zscan(K)
.channel
- streaming channel that receives a call for every scored value.key
- the key.scanCursor
- cursor to resume from a previous scan, must not be null
.scanArgs
- scan arguments.@Deprecated Mono<StreamScanCursor> zscan(ScoredValueStreamingChannel<V> channel, K key, ScanCursor scanCursor)
Publisher
returned by zscan(K)
.channel
- streaming channel that receives a call for every scored value.key
- the key.scanCursor
- cursor to resume from a previous scan, must not be null
.Mono<Double> zscore(K key, V member)
key
- the key.member
- the member type: value.member
(a double precision floating point number), represented as
string.Flux<V> zunion(K... keys)
keys
- the keys.Flux<V> zunion(ZAggregateArgs aggregateArgs, K... keys)
aggregateArgs
- arguments to define aggregation and weights.keys
- the keys.Flux<ScoredValue<V>> zunionWithScores(ZAggregateArgs aggregateArgs, K... keys)
aggregateArgs
- arguments to define aggregation and weights.keys
- the keys.Flux<ScoredValue<V>> zunionWithScores(K... keys)
keys
- the keys.Mono<Long> zunionstore(K destination, K... keys)
destination
- destination key.keys
- source keys.destination
.Mono<Long> zunionstore(K destination, ZStoreArgs storeArgs, K... keys)
destination
- the destination.storeArgs
- arguments to define aggregation and weights.keys
- the keys.destination
.Copyright © 2022 lettuce.io. All rights reserved.