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.RangeCommandgiven akey.toIndex(long end) Applies an upper bound to theRange.Applies aRange.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
key
Creates a newReactiveRedisConnection.RangeCommandgiven akey.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveRedisConnection.RangeCommandforkey.
-
within
Applies aRange. Constructs a new command instance with all previously configured properties.- Parameters:
range- must not be null.- Returns:
- a new
ReactiveRedisConnection.RangeCommandwithRangeapplied.
-
fromIndex
Applies a lower bound to theRange. Constructs a new command instance with all previously configured properties.- Parameters:
start-- Returns:
- a new
ReactiveRedisConnection.RangeCommandwith 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.RangeCommandwith the upper bound applied.
-
getRange
- Returns:
- the
Range.
-