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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfrom(ByteBuffer key) Applies the key.@Nullable ByteBuffergetLimit()Range<?> getRange()Applies the limit.reverseScoreWithin(Range<Double> range) Creates a newReactiveZSetCommands.ZRangeStoreCommandgiven aRangeto obtain elements ordered from the highest to the lowest score.reverseValueWithin(Range<String> range) Creates a newReactiveZSetCommands.ZRangeStoreCommandgiven aRangeto obtain elements ordered from the highest to the lowest lexicographical value.scoreWithin(Range<Double> range) Creates a newReactiveZSetCommands.ZRangeStoreCommandgiven aRangeto obtain elements ordered from the lowest to the highest score.to(ByteBuffer key) Applies the key.valueWithin(Range<String> range) Creates a newReactiveZSetCommands.ZRangeStoreCommandgiven aRangeto obtain elements ordered from the lowest to the highest lexicographical value.Methods inherited from class ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReactiveRedisConnection.Command
getName
-
Method Details
-
scoreWithin
Creates a newReactiveZSetCommands.ZRangeStoreCommandgiven aRangeto obtain elements ordered from the lowest to the highest score.- Parameters:
range- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeCommandforTuple.
-
reverseScoreWithin
Creates a newReactiveZSetCommands.ZRangeStoreCommandgiven aRangeto obtain elements ordered from the highest to the lowest score.- Parameters:
range- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeStoreCommandforTuple.
-
valueWithin
Creates a newReactiveZSetCommands.ZRangeStoreCommandgiven aRangeto obtain elements ordered from the lowest to the highest lexicographical value.- Parameters:
range- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeCommandforTuple.
-
reverseValueWithin
Creates a newReactiveZSetCommands.ZRangeStoreCommandgiven aRangeto obtain elements ordered from the highest to the lowest lexicographical value.- Parameters:
range- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeStoreCommandforTuple.
-
from
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeStoreCommandwith 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.ZRangeStoreCommandwith 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.ZRangeStoreCommandwith key applied.
-
getDestKey
-
getRangeMode
-
getRange
-
getDirection
-
getLimit
-