Class ReactiveStreamCommands.RangeCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveStreamCommands.RangeCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
ReactiveStreamCommands
XRANGE/XREVRANGE command parameters.- Since:
- 2.2
- Author:
- Mark Paluch, Christoph Strobl, Tugdual Grall, Dengliming, Mark John Moreno, jinkshower, Jeonggyu Choi
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetLimit()getRange()limit(int count) Applies aLimit.Applies aLimit.stream(ByteBuffer key) Creates a newReactiveStreamCommands.RangeCommandgiven akey.Applies aRange.Methods inherited from class ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReactiveRedisConnection.Command
getName
-
Method Details
-
stream
Creates a newReactiveStreamCommands.RangeCommandgiven akey.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveStreamCommands.RangeCommandforkey.
-
within
Applies aRange. Constructs a new command instance with all previously configured properties.- Parameters:
range- must not be null.- Returns:
- a new
ReactiveStreamCommands.RangeCommandwithRangeapplied.
-
limit
Applies aLimit. Constructs a new command instance with all previously configured properties.- Parameters:
count-- Returns:
- a new
ReactiveStreamCommands.RangeCommandwithlimitapplied.
-
limit
Applies aLimit. Constructs a new command instance with all previously configured properties.- Parameters:
limit- must not be null.- Returns:
- a new
ReactiveStreamCommands.RangeCommandwithlimitapplied.
-
getRange
-
getLimit
-