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.
|
Sort.Direction |
getDirection() |
RedisZSetCommands.Limit |
getLimit() |
Range<String> |
getRange() |
ReactiveZSetCommands.ZRangeByLexCommand |
limitTo(RedisZSetCommands.Limit limit)
Applies the
RedisZSetCommands.Limit . |
static ReactiveZSetCommands.ZRangeByLexCommand |
reverseStringsWithin(Range<String> range)
Creates a new
ReactiveZSetCommands.ZRangeByLexCommand given a Range of String to obtain elements in reverse
lexicographical ordering. |
static ReactiveZSetCommands.ZRangeByLexCommand |
stringsWithin(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(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(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 RedisZSetCommands.Limit getLimit()
public Sort.Direction getDirection()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.