public static class ReactiveStreamCommands.RangeCommand extends ReactiveRedisConnection.KeyCommand
XRANGE/XREVRANGE command parameters.| Modifier and Type | Method and Description |
|---|---|
RedisZSetCommands.Limit |
getLimit() |
Range<String> |
getRange() |
ReactiveStreamCommands.RangeCommand |
limit(int count)
Applies a
Limit. |
ReactiveStreamCommands.RangeCommand |
limit(RedisZSetCommands.Limit limit)
Applies a
Limit. |
static ReactiveStreamCommands.RangeCommand |
stream(ByteBuffer key)
Creates a new
ReactiveStreamCommands.RangeCommand given a key. |
ReactiveStreamCommands.RangeCommand |
within(Range<String> range)
Applies a
Range. |
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveStreamCommands.RangeCommand stream(ByteBuffer key)
ReactiveStreamCommands.RangeCommand given a key.key - must not be null.ReactiveStreamCommands.RangeCommand for key.public ReactiveStreamCommands.RangeCommand within(Range<String> range)
Range. Constructs a new command instance with all previously configured properties.range - must not be null.ReactiveStreamCommands.RangeCommand with Range applied.public ReactiveStreamCommands.RangeCommand limit(int count)
Limit. Constructs a new command instance with all previously configured properties.count - ReactiveStreamCommands.RangeCommand with limit applied.public ReactiveStreamCommands.RangeCommand limit(RedisZSetCommands.Limit limit)
Limit. Constructs a new command instance with all previously configured properties.limit - must not be null.ReactiveStreamCommands.RangeCommand with limit applied.public RedisZSetCommands.Limit getLimit()
RedisZSetCommands.Limit.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.