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.-
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 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
-
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
- Returns:
- the
Range.
-
getLimit
- Returns:
- the
Limit.
-