Class ReactiveZSetCommands.ZRangeCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveZSetCommands.ZRangeCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
ReactiveZSetCommands
ZRANGE/ZREVRANGE command parameters.- Since:
- 2.0
- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfrom(ByteBuffer key) Applies the key.getRange()booleanreverseValuesWithin(Range<Long> range) Creates a newReactiveZSetCommands.ZRangeCommandgiven aRangeto obtain elements ordered from the highest to the lowest score.valuesWithin(Range<Long> range) Creates a newReactiveZSetCommands.ZRangeCommandgiven aRangeto obtain elements ordered from the lowest to the highest score.Return the score along with each returned element.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
-
valuesWithin
Creates a newReactiveZSetCommands.ZRangeCommandgiven aRangeto obtain elements ordered from the lowest to the highest score.- Parameters:
range- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeCommandforTuple.
-
reverseValuesWithin
Creates a newReactiveZSetCommands.ZRangeCommandgiven aRangeto obtain elements ordered from the highest to the lowest score.- Parameters:
range- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeCommandforTuple.
-
withScores
Return the score along with each returned element. Constructs a new command instance with all previously configured properties.- Returns:
- a new
ReactiveZSetCommands.ZRangeCommandwith score retrieval applied.
-
from
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeCommandwith key applied.
-
getRange
-
isWithScores
public boolean isWithScores()- Returns:
-
getDirection
- Returns:
-