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 . |
getKey
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public 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()
public RedisListCommands.Position getPosition()
public ByteBuffer getPivot()
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.