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.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfrom
(ByteBuffer key) Applies the key.getRange()
boolean
reverseValuesWithin
(Range<Long> range) Creates a newReactiveZSetCommands.ZRangeCommand
given aRange
to obtain elements ordered from the highest to the lowest score.valuesWithin
(Range<Long> range) Creates a newReactiveZSetCommands.ZRangeCommand
given aRange
to obtain elements ordered from the lowest to the highest score.Return the score along with each returned element.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
-
valuesWithin
Creates a newReactiveZSetCommands.ZRangeCommand
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
.
-
reverseValuesWithin
Creates a newReactiveZSetCommands.ZRangeCommand
given aRange
to obtain elements ordered from the highest to the lowest score.- Parameters:
range
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeCommand
forTuple
.
-
withScores
Return the score along with each returned element. Constructs a new command instance with all previously configured properties.- Returns:
- a new
ReactiveZSetCommands.ZRangeCommand
with 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.ZRangeCommand
with key applied.
-
getRange
- Returns:
-
isWithScores
public boolean isWithScores()- Returns:
-
getDirection
- Returns:
-