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.- 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.ZRangeByLexCommand
given aRange
ofString
to obtain elements in reverse lexicographical ordering.stringsWithin
(Range<String> range) Creates a newReactiveZSetCommands.ZRangeByLexCommand
given aRange
ofString
to retrieve elements lexicographical ordering.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
-
stringsWithin
Creates a newReactiveZSetCommands.ZRangeByLexCommand
given aRange
ofString
to retrieve elements lexicographical ordering.- Parameters:
range
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeByLexCommand
forTuple
.
-
reverseStringsWithin
Creates a newReactiveZSetCommands.ZRangeByLexCommand
given aRange
ofString
to obtain elements in reverse lexicographical ordering.- Parameters:
range
- must not be null.- Returns:
- a new
ReactiveZSetCommands.ZRangeByLexCommand
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.ZRangeByLexCommand
with 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.ZRangeByLexCommand
withLimit
applied.
-
getRange
- Returns:
-
getLimit
- Returns:
-
getDirection
- Returns:
-