public static class ReactiveListCommands.LInsertCommand extends ReactiveRedisConnection.KeyCommand
LINSERT command parameters.| Modifier and Type | Method and Description |
|---|---|
ReactiveListCommands.LInsertCommand |
after(ByteBuffer pivot)
Applies the after pivot.
|
ReactiveListCommands.LInsertCommand |
before(ByteBuffer pivot)
Applies the before pivot.
|
ReactiveListCommands.LInsertCommand |
forKey(ByteBuffer key)
Applies the key.
|
ByteBuffer |
getPivot() |
RedisListCommands.Position |
getPosition() |
ByteBuffer |
getValue() |
static ReactiveListCommands.LInsertCommand |
value(ByteBuffer value)
Creates a new
ReactiveListCommands.LInsertCommand given a value. |
getKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic static ReactiveListCommands.LInsertCommand value(ByteBuffer value)
ReactiveListCommands.LInsertCommand given a value.value - must not be null.ReactiveListCommands.LInsertCommand for value.public ReactiveListCommands.LInsertCommand before(ByteBuffer pivot)
pivot - must not be null.ReactiveListCommands.LInsertCommand with pivot applied.public ReactiveListCommands.LInsertCommand after(ByteBuffer pivot)
pivot - must not be null.ReactiveListCommands.LInsertCommand with pivot applied.public ReactiveListCommands.LInsertCommand forKey(ByteBuffer key)
key - must not be null.ReactiveListCommands.LInsertCommand with key applied.public ByteBuffer getValue()
@Nullable public RedisListCommands.Position getPosition()
@Nullable public ByteBuffer getPivot()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.