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.org.springframework.data.domain.Sort.Direction
getLimit()
org.springframework.data.domain.Range<?>
getRange()
Applies the limit.reverseScoreWithin
(org.springframework.data.domain.Range<Double> range) Creates a newReactiveZSetCommands.ZRangeStoreCommand
given aRange
to obtain elements ordered from the highest to the lowest score.reverseValueWithin
(org.springframework.data.domain.Range<String> range) Creates a newReactiveZSetCommands.ZRangeStoreCommand
given aRange
to obtain elements ordered from the highest to the lowest lexicographical value.scoreWithin
(org.springframework.data.domain.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
(org.springframework.data.domain.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
public static ReactiveZSetCommands.ZRangeStoreCommand scoreWithin(org.springframework.data.domain.Range<Double> range) 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
public static ReactiveZSetCommands.ZRangeStoreCommand reverseScoreWithin(org.springframework.data.domain.Range<Double> range) 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
public static ReactiveZSetCommands.ZRangeStoreCommand valueWithin(org.springframework.data.domain.Range<String> range) 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
public static ReactiveZSetCommands.ZRangeStoreCommand reverseValueWithin(org.springframework.data.domain.Range<String> range) 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
public org.springframework.data.domain.Range<?> getRange() -
getDirection
public org.springframework.data.domain.Sort.Direction getDirection() -
getLimit
-