Class ReactiveZSetCommands.ZRangeByLexCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveZSetCommands.ZRangeByLexCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
ReactiveZSetCommands
public static class ReactiveZSetCommands.ZRangeByLexCommand
extends ReactiveRedisConnection.KeyCommand
ZRANGEBYLEX/ZREVRANGEBYLEX command parameters.- Since:
- 2.0
- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfrom(ByteBuffer key) Applies the key.getLimit()getRange()Applies theLimit.reverseStringsWithin(Range<String> range) Creates a newReactiveZSetCommands.ZRangeByLexCommandgiven aRangeofStringto obtain elements in reverse lexicographical ordering.stringsWithin(Range<String> range) Creates a newReactiveZSetCommands.ZRangeByLexCommandgiven aRangeofStringto retrieve elements lexicographical ordering.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
-
stringsWithin
Creates a newReactiveZSetCommands.ZRangeByLexCommandgiven aRangeofStringto retrieve elements lexicographical ordering.- Parameters:
range- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeByLexCommandforTuple.
-
reverseStringsWithin
Creates a newReactiveZSetCommands.ZRangeByLexCommandgiven aRangeofStringto obtain elements in reverse lexicographical ordering.- Parameters:
range- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeByLexCommandforTuple.
-
from
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeByLexCommandwith key applied.
-
limitTo
Applies theLimit. Constructs a new command instance with all previously configured properties.- Parameters:
limit- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeByLexCommandwithLimitapplied.
-
getRange
-
getLimit
- Returns:
-
getDirection
- Returns:
-