public interface ReactiveZSetCommands
Modifier and Type | Interface and Description |
---|---|
static class |
ReactiveZSetCommands.ZAddCommand
ZADD command parameters. |
static class |
ReactiveZSetCommands.ZCountCommand
ZCOUNT command parameters. |
static class |
ReactiveZSetCommands.ZIncrByCommand
ZINCRBY command parameters. |
static class |
ReactiveZSetCommands.ZInterStoreCommand
ZINTERSTORE command parameters. |
static class |
ReactiveZSetCommands.ZRangeByLexCommand
ZRANGEBYLEX /ZREVRANGEBYLEX command parameters. |
static class |
ReactiveZSetCommands.ZRangeByScoreCommand
ZRANGEBYSCORE/ZREVRANGEBYSCORE.
|
static class |
ReactiveZSetCommands.ZRangeCommand
ZRANGE /ZREVRANGE command parameters. |
static class |
ReactiveZSetCommands.ZRankCommand
ZRANK /ZREVRANK command parameters. |
static class |
ReactiveZSetCommands.ZRemCommand
ZREM command parameters. |
static class |
ReactiveZSetCommands.ZRemRangeByRankCommand
ZREMRANGEBYRANK command parameters. |
static class |
ReactiveZSetCommands.ZRemRangeByScoreCommand
ZREMRANGEBYSCORE command parameters. |
static class |
ReactiveZSetCommands.ZScoreCommand
ZSCORE command parameters. |
static class |
ReactiveZSetCommands.ZUnionStoreCommand
ZUNIONSTORE command parameters. |
Modifier and Type | Method and Description |
---|---|
default reactor.core.publisher.Mono<Long> |
zAdd(ByteBuffer key,
Collection<? extends RedisZSetCommands.Tuple> tuples)
Add a tuples to a sorted set at key, or update their score if it already exists.
|
default reactor.core.publisher.Mono<Long> |
zAdd(ByteBuffer key,
Double score,
ByteBuffer value)
Add value to a sorted set at key, or update its score if it already exists.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZAddCommand,Number>> |
zAdd(org.reactivestreams.Publisher<ReactiveZSetCommands.ZAddCommand> commands)
Add
ReactiveZSetCommands.ZAddCommand.getTuples() to a sorted set at ReactiveRedisConnection.KeyCommand.getKey() , or update its score
if it already exists. |
default reactor.core.publisher.Mono<Long> |
zCard(ByteBuffer key)
Get the size of sorted set with key.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveRedisConnection.KeyCommand,Long>> |
zCard(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands)
Get the size of sorted set with
ReactiveRedisConnection.KeyCommand.getKey() . |
default reactor.core.publisher.Mono<Long> |
zCount(ByteBuffer key,
Range<Double> range)
Count number of elements within sorted set with scores within
Range . |
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZCountCommand,Long>> |
zCount(org.reactivestreams.Publisher<ReactiveZSetCommands.ZCountCommand> commands)
Count number of elements within sorted set with scores within
Range . |
default reactor.core.publisher.Mono<Double> |
zIncrBy(ByteBuffer key,
Number increment,
ByteBuffer value)
Increment the score of element with value in sorted set by increment.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZIncrByCommand,Double>> |
zIncrBy(org.reactivestreams.Publisher<ReactiveZSetCommands.ZIncrByCommand> commands)
Increment the score of element with
ReactiveZSetCommands.ZIncrByCommand.getValue() in sorted set by
ReactiveZSetCommands.ZIncrByCommand.getIncrement() . |
default reactor.core.publisher.Mono<Long> |
zInterStore(ByteBuffer destinationKey,
List<ByteBuffer> sets)
Intersect sorted sets and store result in destination destinationKey.
|
default reactor.core.publisher.Mono<Long> |
zInterStore(ByteBuffer destinationKey,
List<ByteBuffer> sets,
List<Double> weights)
Intersect sorted sets and store result in destination destinationKey and apply weights to
individual sets.
|
default reactor.core.publisher.Mono<Long> |
zInterStore(ByteBuffer destinationKey,
List<ByteBuffer> sets,
List<Double> weights,
RedisZSetCommands.Aggregate aggregateFunction)
Intersect sorted sets by applying aggregateFunction and store result in destination
destinationKey and apply weights to individual sets.
|
default reactor.core.publisher.Mono<Long> |
zInterStore(ByteBuffer destinationKey,
List<ByteBuffer> sets,
RedisZSetCommands.Weights weights)
Intersect sorted sets and store result in destination destinationKey and apply weights to
individual sets.
|
default reactor.core.publisher.Mono<Long> |
zInterStore(ByteBuffer destinationKey,
List<ByteBuffer> sets,
RedisZSetCommands.Weights weights,
RedisZSetCommands.Aggregate aggregateFunction)
Intersect sorted sets by applying aggregateFunction and store result in destination
destinationKey and apply weights to individual sets.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZInterStoreCommand,Long>> |
zInterStore(org.reactivestreams.Publisher<ReactiveZSetCommands.ZInterStoreCommand> commands)
Intersect sorted sets by applying aggregateFunction and store result in destination
destinationKey and apply weights to individual sets.
|
default reactor.core.publisher.Flux<ByteBuffer> |
zRange(ByteBuffer key,
Range<Long> range)
Get elements in range from sorted set.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveZSetCommands.ZRangeCommand,reactor.core.publisher.Flux<RedisZSetCommands.Tuple>>> |
zRange(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRangeCommand> commands)
Get set of
RedisZSetCommands.Tuple s in range from sorted set. |
default reactor.core.publisher.Flux<ByteBuffer> |
zRangeByLex(ByteBuffer key,
Range<String> range)
Get all elements in
Range from the sorted set at key in lexicographical ordering. |
default reactor.core.publisher.Flux<ByteBuffer> |
zRangeByLex(ByteBuffer key,
Range<String> range,
RedisZSetCommands.Limit limit)
Get all elements in
Range from the sorted set at key in lexicographical ordering. |
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveZSetCommands.ZRangeByLexCommand,reactor.core.publisher.Flux<ByteBuffer>>> |
zRangeByLex(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRangeByLexCommand> commands)
Get all elements in
Range from the sorted set at key in lexicographical ordering. |
default reactor.core.publisher.Flux<ByteBuffer> |
zRangeByScore(ByteBuffer key,
Range<Double> range)
Get elements in range from sorted set.
|
default reactor.core.publisher.Flux<ByteBuffer> |
zRangeByScore(ByteBuffer key,
Range<Double> range,
RedisZSetCommands.Limit limit)
Get elements in range from sorted set.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveZSetCommands.ZRangeByScoreCommand,reactor.core.publisher.Flux<RedisZSetCommands.Tuple>>> |
zRangeByScore(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRangeByScoreCommand> commands)
Get
RedisZSetCommands.Tuple s in range from sorted set. |
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
zRangeByScoreWithScores(ByteBuffer key,
Range<Double> range)
Get
RedisZSetCommands.Tuple s in range from sorted set. |
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
zRangeByScoreWithScores(ByteBuffer key,
Range<Double> range,
RedisZSetCommands.Limit limit)
Get
RedisZSetCommands.Tuple s in range from sorted set. |
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
zRangeWithScores(ByteBuffer key,
Range<Long> range)
Get set of
RedisZSetCommands.Tuple s in range from sorted set. |
default reactor.core.publisher.Mono<Long> |
zRank(ByteBuffer key,
ByteBuffer value)
Determine the index of element with value in a sorted set.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZRankCommand,Long>> |
zRank(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRankCommand> commands)
Determine the index of element with value in a sorted set when scored by
ReactiveZSetCommands.ZRankCommand.getDirection() . |
default reactor.core.publisher.Mono<Long> |
zRem(ByteBuffer key,
ByteBuffer value)
Remove value from sorted set.
|
default reactor.core.publisher.Mono<Long> |
zRem(ByteBuffer key,
Collection<ByteBuffer> values)
Remove values from sorted set.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZRemCommand,Long>> |
zRem(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRemCommand> commands)
Remove
ReactiveZSetCommands.ZRemCommand.getValues() from sorted set. |
default reactor.core.publisher.Mono<Long> |
zRemRangeByRank(ByteBuffer key,
Range<Long> range)
Remove elements in
Range from sorted set with key. |
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZRemRangeByRankCommand,Long>> |
zRemRangeByRank(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRemRangeByRankCommand> commands)
Remove elements in
Range from sorted set with ReactiveRedisConnection.KeyCommand.getKey() . |
default reactor.core.publisher.Mono<Long> |
zRemRangeByScore(ByteBuffer key,
Range<Double> range)
Remove elements in
Range from sorted set with key. |
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZRemRangeByScoreCommand,Long>> |
zRemRangeByScore(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRemRangeByScoreCommand> commands)
Remove elements in
Range from sorted set with ReactiveRedisConnection.KeyCommand.getKey() . |
default reactor.core.publisher.Flux<ByteBuffer> |
zRevRange(ByteBuffer key,
Range<Long> range)
Get elements in range from sorted set in reverse score ordering.
|
default reactor.core.publisher.Flux<ByteBuffer> |
zRevRangeByLex(ByteBuffer key,
Range<String> range)
Get all elements in
Range from the sorted set at key in lexicographical ordering. |
default reactor.core.publisher.Flux<ByteBuffer> |
zRevRangeByLex(ByteBuffer key,
Range<String> range,
RedisZSetCommands.Limit limit)
Get all elements in
Range from the sorted set at key in lexicographical ordering. |
default reactor.core.publisher.Flux<ByteBuffer> |
zRevRangeByScore(ByteBuffer key,
Range<Double> range)
Get elements in range from sorted set in reverse score ordering.
|
default reactor.core.publisher.Flux<ByteBuffer> |
zRevRangeByScore(ByteBuffer key,
Range<Double> range,
RedisZSetCommands.Limit limit)
Get elements in range from sorted set in reverse score ordering.
|
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
zRevRangeByScoreWithScores(ByteBuffer key,
Range<Double> range)
Get set of
RedisZSetCommands.Tuple s in range from sorted set in reverse score ordering. |
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
zRevRangeByScoreWithScores(ByteBuffer key,
Range<Double> range,
RedisZSetCommands.Limit limit)
Get
RedisZSetCommands.Tuple s in range from sorted set in reverse score ordering. |
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
zRevRangeWithScores(ByteBuffer key,
Range<Long> range)
Get set of
RedisZSetCommands.Tuple s in range from sorted set in reverse score ordering. |
default reactor.core.publisher.Mono<Long> |
zRevRank(ByteBuffer key,
ByteBuffer value)
Determine the index of element with value in a sorted set when scored high to low.
|
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
zScan(ByteBuffer key)
Use a
Flux to iterate over members in the sorted set at key . |
default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> |
zScan(ByteBuffer key,
ScanOptions options)
|
reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveRedisConnection.KeyCommand,reactor.core.publisher.Flux<RedisZSetCommands.Tuple>>> |
zScan(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyScanCommand> commands)
Use a
Flux to iterate over members in the sorted set at key . |
default reactor.core.publisher.Mono<Double> |
zScore(ByteBuffer key,
ByteBuffer value)
Get the score of element with value from sorted set with key key.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZScoreCommand,Double>> |
zScore(org.reactivestreams.Publisher<ReactiveZSetCommands.ZScoreCommand> commands)
Get the score of element with
ReactiveZSetCommands.ZScoreCommand.getValue() from sorted set with key
ReactiveRedisConnection.KeyCommand.getKey() |
default reactor.core.publisher.Mono<Long> |
zUnionStore(ByteBuffer destinationKey,
List<ByteBuffer> sets)
Union sorted sets and store result in destination destinationKey.
|
default reactor.core.publisher.Mono<Long> |
zUnionStore(ByteBuffer destinationKey,
List<ByteBuffer> sets,
List<Double> weights)
Union sorted sets and store result in destination destinationKey and apply weights to
individual sets.
|
default reactor.core.publisher.Mono<Long> |
zUnionStore(ByteBuffer destinationKey,
List<ByteBuffer> sets,
List<Double> weights,
RedisZSetCommands.Aggregate aggregateFunction)
Union sorted sets by applying aggregateFunction and store result in destination
destinationKey and apply weights to individual sets.
|
default reactor.core.publisher.Mono<Long> |
zUnionStore(ByteBuffer destinationKey,
List<ByteBuffer> sets,
RedisZSetCommands.Weights weights)
Union sorted sets and store result in destination destinationKey and apply weights to
individual sets.
|
default reactor.core.publisher.Mono<Long> |
zUnionStore(ByteBuffer destinationKey,
List<ByteBuffer> sets,
RedisZSetCommands.Weights weights,
RedisZSetCommands.Aggregate aggregateFunction)
Union sorted sets by applying aggregateFunction and store result in destination
destinationKey and apply weights to individual sets.
|
reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZUnionStoreCommand,Long>> |
zUnionStore(org.reactivestreams.Publisher<ReactiveZSetCommands.ZUnionStoreCommand> commands)
Union sorted sets by applying aggregateFunction and store result in destination
destinationKey and apply weights to individual sets.
|
default reactor.core.publisher.Mono<Long> zAdd(ByteBuffer key, Double score, ByteBuffer value)
key
- must not be null.score
- must not be null.value
- must not be null.default reactor.core.publisher.Mono<Long> zAdd(ByteBuffer key, Collection<? extends RedisZSetCommands.Tuple> tuples)
key
- must not be null.tuples
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZAddCommand,Number>> zAdd(org.reactivestreams.Publisher<ReactiveZSetCommands.ZAddCommand> commands)
ReactiveZSetCommands.ZAddCommand.getTuples()
to a sorted set at ReactiveRedisConnection.KeyCommand.getKey()
, or update its score
if it already exists.commands
- must not be null.default reactor.core.publisher.Mono<Long> zRem(ByteBuffer key, ByteBuffer value)
key
- must not be null.value
- must not be null.default reactor.core.publisher.Mono<Long> zRem(ByteBuffer key, Collection<ByteBuffer> values)
key
- must not be null.values
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZRemCommand,Long>> zRem(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRemCommand> commands)
ReactiveZSetCommands.ZRemCommand.getValues()
from sorted set. Return number of removed elements.commands
- must not be null.default reactor.core.publisher.Mono<Double> zIncrBy(ByteBuffer key, Number increment, ByteBuffer value)
key
- must not be null.increment
- must not be null.value
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZIncrByCommand,Double>> zIncrBy(org.reactivestreams.Publisher<ReactiveZSetCommands.ZIncrByCommand> commands)
ReactiveZSetCommands.ZIncrByCommand.getValue()
in sorted set by
ReactiveZSetCommands.ZIncrByCommand.getIncrement()
.commands
- must not be null.default reactor.core.publisher.Mono<Long> zRank(ByteBuffer key, ByteBuffer value)
key
- must not be null.value
- must not be null.default reactor.core.publisher.Mono<Long> zRevRank(ByteBuffer key, ByteBuffer value)
key
- must not be null.value
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZRankCommand,Long>> zRank(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRankCommand> commands)
ReactiveZSetCommands.ZRankCommand.getDirection()
.commands
- must not be null.default reactor.core.publisher.Flux<ByteBuffer> zRange(ByteBuffer key, Range<Long> range)
key
- must not be null.range
- must not be null.default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> zRangeWithScores(ByteBuffer key, Range<Long> range)
RedisZSetCommands.Tuple
s in range from sorted set.key
- must not be null.range
- must not be null.default reactor.core.publisher.Flux<ByteBuffer> zRevRange(ByteBuffer key, Range<Long> range)
key
- must not be null.range
- must not be null.default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> zRevRangeWithScores(ByteBuffer key, Range<Long> range)
RedisZSetCommands.Tuple
s in range from sorted set in reverse score ordering.key
- must not be null.range
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveZSetCommands.ZRangeCommand,reactor.core.publisher.Flux<RedisZSetCommands.Tuple>>> zRange(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRangeCommand> commands)
RedisZSetCommands.Tuple
s in range from sorted set.commands
- must not be null.default reactor.core.publisher.Flux<ByteBuffer> zRangeByScore(ByteBuffer key, Range<Double> range)
key
- must not be null.range
- must not be null.default reactor.core.publisher.Flux<ByteBuffer> zRangeByScore(ByteBuffer key, Range<Double> range, RedisZSetCommands.Limit limit)
key
- must not be null.range
- must not be null.limit
- must not be null.default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> zRangeByScoreWithScores(ByteBuffer key, Range<Double> range)
RedisZSetCommands.Tuple
s in range from sorted set.key
- must not be null.range
- must not be null.default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> zRangeByScoreWithScores(ByteBuffer key, Range<Double> range, RedisZSetCommands.Limit limit)
RedisZSetCommands.Tuple
s in range from sorted set.key
- must not be null.range
- must not be null.limit
- must not be null.default reactor.core.publisher.Flux<ByteBuffer> zRevRangeByScore(ByteBuffer key, Range<Double> range)
key
- must not be null.range
- must not be null.default reactor.core.publisher.Flux<ByteBuffer> zRevRangeByScore(ByteBuffer key, Range<Double> range, RedisZSetCommands.Limit limit)
key
- must not be null.range
- must not be null.limit
- must not be null.default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> zRevRangeByScoreWithScores(ByteBuffer key, Range<Double> range)
RedisZSetCommands.Tuple
s in range from sorted set in reverse score ordering.key
- must not be null.range
- must not be null.default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> zRevRangeByScoreWithScores(ByteBuffer key, Range<Double> range, RedisZSetCommands.Limit limit)
RedisZSetCommands.Tuple
s in range from sorted set in reverse score ordering.key
- must not be null.range
- must not be null.limit
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveZSetCommands.ZRangeByScoreCommand,reactor.core.publisher.Flux<RedisZSetCommands.Tuple>>> zRangeByScore(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRangeByScoreCommand> commands)
RedisZSetCommands.Tuple
s in range from sorted set.commands
- must not be null.default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> zScan(ByteBuffer key)
Flux
to iterate over members in the sorted set at key
. The resulting Flux
acts as a
cursor and issues ZSCAN
commands itself as long as the subscriber signals demand.key
- must not be null.Flux
emitting the raw tuples
one by one.IllegalArgumentException
- when key is null.default reactor.core.publisher.Flux<RedisZSetCommands.Tuple> zScan(ByteBuffer key, ScanOptions options)
Flux
to iterate over members in the sorted set at key
given ScanOptions
. The
resulting Flux
acts as a cursor and issues ZSCAN
commands itself as long as the subscriber signals.key
- must not be null.options
- must not be null. Use ScanOptions.NONE
instead.Flux
emitting the raw tuples
one by one.IllegalArgumentException
- when one of the required arguments is null.reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveRedisConnection.KeyCommand,reactor.core.publisher.Flux<RedisZSetCommands.Tuple>>> zScan(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyScanCommand> commands)
Flux
to iterate over members in the sorted set at key
. The resulting Flux
acts as a
cursor and issues ZSCAN
commands itself as long as the subscriber signals demand.commands
- must not be null.default reactor.core.publisher.Mono<Long> zCount(ByteBuffer key, Range<Double> range)
Range
. Double.NEGATIVE_INFINITY
for -inf and Double.POSITIVE_INFINITY
for +inf.key
- must not be null.range
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZCountCommand,Long>> zCount(org.reactivestreams.Publisher<ReactiveZSetCommands.ZCountCommand> commands)
Range
. Double.NEGATIVE_INFINITY
for -inf and Double.POSITIVE_INFINITY
for +inf.commands
- must not be null.default reactor.core.publisher.Mono<Long> zCard(ByteBuffer key)
key
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveRedisConnection.KeyCommand,Long>> zCard(org.reactivestreams.Publisher<ReactiveRedisConnection.KeyCommand> commands)
ReactiveRedisConnection.KeyCommand.getKey()
.commands
- must not be null.default reactor.core.publisher.Mono<Double> zScore(ByteBuffer key, ByteBuffer value)
key
- must not be null.value
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZScoreCommand,Double>> zScore(org.reactivestreams.Publisher<ReactiveZSetCommands.ZScoreCommand> commands)
ReactiveZSetCommands.ZScoreCommand.getValue()
from sorted set with key
ReactiveRedisConnection.KeyCommand.getKey()
commands
- must not be null.default reactor.core.publisher.Mono<Long> zRemRangeByRank(ByteBuffer key, Range<Long> range)
Range
from sorted set with key.key
- must not be null.range
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZRemRangeByRankCommand,Long>> zRemRangeByRank(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRemRangeByRankCommand> commands)
Range
from sorted set with ReactiveRedisConnection.KeyCommand.getKey()
.commands
- must not be null.default reactor.core.publisher.Mono<Long> zRemRangeByScore(ByteBuffer key, Range<Double> range)
Range
from sorted set with key.key
- must not be null.range
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZRemRangeByScoreCommand,Long>> zRemRangeByScore(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRemRangeByScoreCommand> commands)
Range
from sorted set with ReactiveRedisConnection.KeyCommand.getKey()
.commands
- must not be null.default reactor.core.publisher.Mono<Long> zUnionStore(ByteBuffer destinationKey, List<ByteBuffer> sets)
destinationKey
- must not be null.sets
- must not be null.default reactor.core.publisher.Mono<Long> zUnionStore(ByteBuffer destinationKey, List<ByteBuffer> sets, List<Double> weights)
destinationKey
- must not be null.sets
- must not be null.weights
- must not be null.default reactor.core.publisher.Mono<Long> zUnionStore(ByteBuffer destinationKey, List<ByteBuffer> sets, RedisZSetCommands.Weights weights)
destinationKey
- must not be null.sets
- must not be null.weights
- must not be null.default reactor.core.publisher.Mono<Long> zUnionStore(ByteBuffer destinationKey, List<ByteBuffer> sets, List<Double> weights, @Nullable RedisZSetCommands.Aggregate aggregateFunction)
destinationKey
- must not be null.sets
- must not be null.weights
- can be null.aggregateFunction
- can be null.default reactor.core.publisher.Mono<Long> zUnionStore(ByteBuffer destinationKey, List<ByteBuffer> sets, RedisZSetCommands.Weights weights, @Nullable RedisZSetCommands.Aggregate aggregateFunction)
destinationKey
- must not be null.sets
- must not be null.weights
- can be null.aggregateFunction
- can be null.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZUnionStoreCommand,Long>> zUnionStore(org.reactivestreams.Publisher<ReactiveZSetCommands.ZUnionStoreCommand> commands)
commands
- default reactor.core.publisher.Mono<Long> zInterStore(ByteBuffer destinationKey, List<ByteBuffer> sets)
destinationKey
- must not be null.sets
- must not be null.default reactor.core.publisher.Mono<Long> zInterStore(ByteBuffer destinationKey, List<ByteBuffer> sets, List<Double> weights)
destinationKey
- must not be null.sets
- must not be null.weights
- must not be null.default reactor.core.publisher.Mono<Long> zInterStore(ByteBuffer destinationKey, List<ByteBuffer> sets, RedisZSetCommands.Weights weights)
destinationKey
- must not be null.sets
- must not be null.weights
- must not be null.default reactor.core.publisher.Mono<Long> zInterStore(ByteBuffer destinationKey, List<ByteBuffer> sets, List<Double> weights, @Nullable RedisZSetCommands.Aggregate aggregateFunction)
destinationKey
- must not be null.sets
- must not be null.weights
- must not be null.aggregateFunction
- can be null.default reactor.core.publisher.Mono<Long> zInterStore(ByteBuffer destinationKey, List<ByteBuffer> sets, RedisZSetCommands.Weights weights, @Nullable RedisZSetCommands.Aggregate aggregateFunction)
destinationKey
- must not be null.sets
- must not be null.weights
- must not be null.aggregateFunction
- can be null.reactor.core.publisher.Flux<ReactiveRedisConnection.NumericResponse<ReactiveZSetCommands.ZInterStoreCommand,Long>> zInterStore(org.reactivestreams.Publisher<ReactiveZSetCommands.ZInterStoreCommand> commands)
commands
- default reactor.core.publisher.Flux<ByteBuffer> zRangeByLex(ByteBuffer key, Range<String> range)
Range
from the sorted set at key in lexicographical ordering.key
- must not be null.range
- must not be null.default reactor.core.publisher.Flux<ByteBuffer> zRangeByLex(ByteBuffer key, Range<String> range, RedisZSetCommands.Limit limit)
Range
from the sorted set at key in lexicographical ordering. Result is
limited via RedisZSetCommands.Limit
.key
- must not be null.range
- must not be null.limit
- can be null.default reactor.core.publisher.Flux<ByteBuffer> zRevRangeByLex(ByteBuffer key, Range<String> range)
Range
from the sorted set at key in lexicographical ordering.key
- must not be null.range
- must not be null.default reactor.core.publisher.Flux<ByteBuffer> zRevRangeByLex(ByteBuffer key, Range<String> range, RedisZSetCommands.Limit limit)
Range
from the sorted set at key in lexicographical ordering. Result is
limited via RedisZSetCommands.Limit
.key
- must not be null.range
- must not be null.limit
- must not be null.reactor.core.publisher.Flux<ReactiveRedisConnection.CommandResponse<ReactiveZSetCommands.ZRangeByLexCommand,reactor.core.publisher.Flux<ByteBuffer>>> zRangeByLex(org.reactivestreams.Publisher<ReactiveZSetCommands.ZRangeByLexCommand> commands)
Range
from the sorted set at key in lexicographical ordering. Result is
limited via RedisZSetCommands.Limit
and sorted by ReactiveZSetCommands.ZRangeByLexCommand.getDirection()
.commands
- must not be null.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.