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.org.springframework.data.domain.Sort.DirectiongetLimit()org.springframework.data.domain.Range<?>getRange()Applies the limit.reverseScoreWithin(org.springframework.data.domain.Range<Double> range) Creates a newReactiveZSetCommands.ZRangeStoreCommandgiven aRangeto obtain elements ordered from the highest to the lowest score.reverseValueWithin(org.springframework.data.domain.Range<String> range) Creates a newReactiveZSetCommands.ZRangeStoreCommandgiven aRangeto obtain elements ordered from the highest to the lowest lexicographical value.scoreWithin(org.springframework.data.domain.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(org.springframework.data.domain.Range<String> range) Creates a newReactiveZSetCommands.ZRangeStoreCommandgiven aRangeto obtain elements ordered from the lowest to the highest lexicographical value.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
scoreWithin
public static ReactiveZSetCommands.ZRangeStoreCommand scoreWithin(org.springframework.data.domain.Range<Double> range) 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
public static ReactiveZSetCommands.ZRangeStoreCommand reverseScoreWithin(org.springframework.data.domain.Range<Double> range) 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
public static ReactiveZSetCommands.ZRangeStoreCommand valueWithin(org.springframework.data.domain.Range<String> range) 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
public static ReactiveZSetCommands.ZRangeStoreCommand reverseValueWithin(org.springframework.data.domain.Range<String> range) 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
public org.springframework.data.domain.Range<?> getRange() -
getDirection
public org.springframework.data.domain.Sort.Direction getDirection() -
getLimit
-