Class ReactiveZSetCommands.ZRangeStoreCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveZSetCommands.ZRangeStoreCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveZSetCommands
public static class ReactiveZSetCommands.ZRangeStoreCommand
extends ReactiveRedisConnection.KeyCommand
ZRANGESTORE
command parameters.- Since:
- 3.0
- Author:
- Mark Paluch
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfrom
(ByteBuffer key) Applies the key.getLimit()
Range<?>
getRange()
Applies the limit.reverseScoreWithin
(Range<Double> range) Creates a newReactiveZSetCommands.ZRangeStoreCommand
given aRange
to obtain elements ordered from the highest to the lowest score.reverseValueWithin
(Range<String> range) Creates a newReactiveZSetCommands.ZRangeStoreCommand
given aRange
to obtain elements ordered from the highest to the lowest lexicographical value.scoreWithin
(Range<Double> range) Creates a newReactiveZSetCommands.ZRangeStoreCommand
given aRange
to obtain elements ordered from the lowest to the highest score.to
(ByteBuffer key) Applies the key.valueWithin
(Range<String> range) Creates a newReactiveZSetCommands.ZRangeStoreCommand
given aRange
to obtain elements ordered from the lowest to the highest lexicographical value.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
scoreWithin
Creates a newReactiveZSetCommands.ZRangeStoreCommand
given aRange
to obtain elements ordered from the lowest to the highest score.- Parameters:
range
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeCommand
forTuple
.
-
reverseScoreWithin
Creates a newReactiveZSetCommands.ZRangeStoreCommand
given aRange
to obtain elements ordered from the highest to the lowest score.- Parameters:
range
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeStoreCommand
forTuple
.
-
valueWithin
Creates a newReactiveZSetCommands.ZRangeStoreCommand
given aRange
to obtain elements ordered from the lowest to the highest lexicographical value.- Parameters:
range
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeCommand
forTuple
.
-
reverseValueWithin
Creates a newReactiveZSetCommands.ZRangeStoreCommand
given aRange
to obtain elements ordered from the highest to the lowest lexicographical value.- Parameters:
range
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeStoreCommand
forTuple
.
-
from
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeStoreCommand
with key applied.
-
to
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeStoreCommand
with key applied.
-
limit
Applies the limit. Constructs a new command instance with all previously configured properties.- Parameters:
limit
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeStoreCommand
with key applied.
-
getDestKey
-
getRangeMode
-
getRange
-
getDirection
-
getLimit
-