Class ReactiveListCommands.LInsertCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveListCommands.LInsertCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveListCommands
LINSERT
command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionafter
(ByteBuffer pivot) Applies the after pivot.before
(ByteBuffer pivot) Applies the before pivot.forKey
(ByteBuffer key) Applies the key.getPivot()
getValue()
value
(ByteBuffer value) Creates a newReactiveListCommands.LInsertCommand
given avalue
.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
value
Creates a newReactiveListCommands.LInsertCommand
given avalue
.- Parameters:
value
- must not be null.- Returns:
- a new
ReactiveListCommands.LInsertCommand
forvalue
.
-
before
Applies the before pivot. Constructs a new command instance with all previously configured properties.- Parameters:
pivot
- must not be null.- Returns:
- a new
ReactiveListCommands.LInsertCommand
with pivot applied.
-
after
Applies the after pivot. Constructs a new command instance with all previously configured properties.- Parameters:
pivot
- must not be null.- Returns:
- a new
ReactiveListCommands.LInsertCommand
with pivot applied.
-
forKey
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveListCommands.LInsertCommand
with key applied.
-
getValue
- Returns:
- never null.
-
getPosition
- Returns:
- can be null.
-
getPivot
- Returns:
- can be null.
-