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.org.springframework.data.domain.Sort.Direction
getLimit()
org.springframework.data.domain.Range<String>
getRange()
Applies theLimit
.reverseStringsWithin
(org.springframework.data.domain.Range<String> range) Creates a newReactiveZSetCommands.ZRangeByLexCommand
given aRange
ofString
to obtain elements in reverse lexicographical ordering.stringsWithin
(org.springframework.data.domain.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
public static ReactiveZSetCommands.ZRangeByLexCommand stringsWithin(org.springframework.data.domain.Range<String> range) 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
public static ReactiveZSetCommands.ZRangeByLexCommand reverseStringsWithin(org.springframework.data.domain.Range<String> range) 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
public org.springframework.data.domain.Sort.Direction getDirection()- Returns:
-