public static class ReactiveStringCommands.SetRangeCommand extends ReactiveRedisConnection.KeyCommand
SETRANGE command parameters.| Modifier and Type | Method and Description |
|---|---|
ReactiveStringCommands.SetRangeCommand |
atPosition(long index)
Applies the index.
|
Long |
getOffset() |
ByteBuffer |
getValue() |
static ReactiveStringCommands.SetRangeCommand |
overwrite(ByteBuffer key)
Creates a new
ReactiveStringCommands.SetRangeCommand given a key. |
ReactiveStringCommands.SetRangeCommand |
withValue(ByteBuffer value)
Applies the value.
|
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveStringCommands.SetRangeCommand overwrite(ByteBuffer key)
ReactiveStringCommands.SetRangeCommand given a key.key - must not be null.ReactiveStringCommands.SetRangeCommand for a key.public ReactiveStringCommands.SetRangeCommand withValue(ByteBuffer value)
value - must not be null.ReactiveStringCommands.SetCommand with value applied.public ReactiveStringCommands.SetRangeCommand atPosition(long index)
index - ReactiveStringCommands.SetRangeCommand with key applied.public ByteBuffer getValue()
public Long getOffset()
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.