public static class ReactiveRedisConnection.RangeCommand extends ReactiveRedisConnection.KeyCommand
Modifier and Type | Method and Description |
---|---|
ReactiveRedisConnection.RangeCommand |
fromIndex(long start)
Applies a lower bound to the
Range . |
Range<Long> |
getRange() |
static ReactiveRedisConnection.RangeCommand |
key(ByteBuffer key)
Creates a new
ReactiveRedisConnection.RangeCommand given a key . |
ReactiveRedisConnection.RangeCommand |
toIndex(long end)
Applies an upper bound to the
Range . |
ReactiveRedisConnection.RangeCommand |
within(Range<Long> range)
Applies a
Range . |
getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public static ReactiveRedisConnection.RangeCommand key(ByteBuffer key)
ReactiveRedisConnection.RangeCommand
given a key
.key
- must not be null.ReactiveRedisConnection.RangeCommand
for key
.public ReactiveRedisConnection.RangeCommand within(Range<Long> range)
Range
. Constructs a new command instance with all previously configured properties.range
- must not be null.ReactiveRedisConnection.RangeCommand
with Range
applied.public ReactiveRedisConnection.RangeCommand fromIndex(long start)
Range
. Constructs a new command instance with all previously configured
properties.start
- ReactiveRedisConnection.RangeCommand
with the lower bound applied.public ReactiveRedisConnection.RangeCommand toIndex(long end)
Range
. Constructs a new command instance with all previously configured
properties.end
- ReactiveRedisConnection.RangeCommand
with the upper bound applied.Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.