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()
org.springframework.data.domain.Range<String>
getRange()
limit
(int count) Applies aLimit
.Applies aLimit
.stream
(ByteBuffer key) Creates a newReactiveStreamCommands.RangeCommand
given akey
.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
-
stream
Creates a newReactiveStreamCommands.RangeCommand
given akey
.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveStreamCommands.RangeCommand
forkey
.
-
within
public ReactiveStreamCommands.RangeCommand within(org.springframework.data.domain.Range<String> range) Applies aRange
. Constructs a new command instance with all previously configured properties.- Parameters:
range
- must not be null.- Returns:
- a new
ReactiveStreamCommands.RangeCommand
withRange
applied.
-
limit
Applies aLimit
. Constructs a new command instance with all previously configured properties.- Parameters:
count
-- Returns:
- a new
ReactiveStreamCommands.RangeCommand
withlimit
applied.
-
limit
Applies aLimit
. Constructs a new command instance with all previously configured properties.- Parameters:
limit
- must not be null.- Returns:
- a new
ReactiveStreamCommands.RangeCommand
withlimit
applied.
-
getRange
- Returns:
- the
Range
.
-
getLimit
- Returns:
- the
Limit
.
-