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 SummaryModifier 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.KeyCommandgetKeyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.CommandgetName
- 
Method Details- 
streamCreates a newReactiveStreamCommands.RangeCommandgiven akey.- Parameters:
- key- must not be null.
- Returns:
- a new ReactiveStreamCommands.RangeCommandforkey.
 
- 
withinApplies aRange. Constructs a new command instance with all previously configured properties.- Parameters:
- range- must not be null.
- Returns:
- a new ReactiveStreamCommands.RangeCommandwithRangeapplied.
 
- 
limitApplies aLimit. Constructs a new command instance with all previously configured properties.- Parameters:
- count-
- Returns:
- a new ReactiveStreamCommands.RangeCommandwithlimitapplied.
 
- 
limitApplies 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.
 
 
-