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 SummaryModifier 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 org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommandgetKeyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.CommandgetName
- 
Method Details- 
valuesWithinCreates 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.
 
- 
reverseValuesWithinCreates 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.
 
- 
withScoresReturn 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.
 
- 
fromApplies 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- Returns:
 
- 
isWithScorespublic boolean isWithScores()- Returns:
 
- 
getDirection- Returns:
 
 
-