public static class ReactiveZSetCommands.ZRangeByLexCommand extends ReactiveRedisConnection.KeyCommand
ZRANGEBYLEX
/ZREVRANGEBYLEX command parameters.Modifier and Type | Method and Description |
---|---|
ReactiveZSetCommands.ZRangeByLexCommand |
from(ByteBuffer key)
Applies the key.
|
org.springframework.data.domain.Sort.Direction |
getDirection() |
RedisZSetCommands.Limit |
getLimit() |
org.springframework.data.domain.Range<String> |
getRange() |
ReactiveZSetCommands.ZRangeByLexCommand |
limitTo(RedisZSetCommands.Limit limit)
Applies the
RedisZSetCommands.Limit . |
static ReactiveZSetCommands.ZRangeByLexCommand |
reverseStringsWithin(org.springframework.data.domain.Range<String> range)
Creates a new
ReactiveZSetCommands.ZRangeByLexCommand given a Range of String to obtain elements in reverse
lexicographical ordering. |
static ReactiveZSetCommands.ZRangeByLexCommand |
stringsWithin(org.springframework.data.domain.Range<String> range)
Creates a new
ReactiveZSetCommands.ZRangeByLexCommand given a Range of String to retrieve elements
lexicographical ordering. |
getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static ReactiveZSetCommands.ZRangeByLexCommand stringsWithin(org.springframework.data.domain.Range<String> range)
ReactiveZSetCommands.ZRangeByLexCommand
given a Range
of String
to retrieve elements
lexicographical ordering.range
- must not be null.ReactiveZSetCommands.ZRangeByLexCommand
for RedisZSetCommands.Tuple
.public static ReactiveZSetCommands.ZRangeByLexCommand reverseStringsWithin(org.springframework.data.domain.Range<String> range)
ReactiveZSetCommands.ZRangeByLexCommand
given a Range
of String
to obtain elements in reverse
lexicographical ordering.range
- must not be null.ReactiveZSetCommands.ZRangeByLexCommand
for RedisZSetCommands.Tuple
.public ReactiveZSetCommands.ZRangeByLexCommand from(ByteBuffer key)
key
- must not be null.ReactiveZSetCommands.ZRangeByLexCommand
with key applied.public ReactiveZSetCommands.ZRangeByLexCommand limitTo(RedisZSetCommands.Limit limit)
RedisZSetCommands.Limit
. Constructs a new command instance with all previously configured properties.limit
- must not be null.ReactiveZSetCommands.ZRangeByLexCommand
with RedisZSetCommands.Limit
applied.public org.springframework.data.domain.Range<String> getRange()
public RedisZSetCommands.Limit getLimit()
public org.springframework.data.domain.Sort.Direction getDirection()
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.