Class ReactiveRedisConnection.RangeCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveRedisConnection.RangeCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveRedisConnection
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionfromIndex
(long start) Applies a lower bound to theRange
.getRange()
key
(ByteBuffer key) Creates a newReactiveRedisConnection.RangeCommand
given akey
.toIndex
(long end) Applies an upper bound to theRange
.Applies aRange
.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
-
key
Creates a newReactiveRedisConnection.RangeCommand
given akey
.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveRedisConnection.RangeCommand
forkey
.
-
within
Applies aRange
. Constructs a new command instance with all previously configured properties.- Parameters:
range
- must not be null.- Returns:
- a new
ReactiveRedisConnection.RangeCommand
withRange
applied.
-
fromIndex
Applies a lower bound to theRange
. Constructs a new command instance with all previously configured properties.- Parameters:
start
-- Returns:
- a new
ReactiveRedisConnection.RangeCommand
with the lower bound applied.
-
toIndex
Applies an upper bound to theRange
. Constructs a new command instance with all previously configured properties.- Parameters:
end
-- Returns:
- a new
ReactiveRedisConnection.RangeCommand
with the upper bound applied.
-
getRange
- Returns:
- the
Range
.
-