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.LInsertCommandgiven avalue.Methods inherited from class org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.redis.connection.ReactiveRedisConnection.Command
getName
-
Method Details
-
value
Creates a newReactiveListCommands.LInsertCommandgiven avalue.- Parameters:
value- must not be null.- Returns:
- a new
ReactiveListCommands.LInsertCommandforvalue.
-
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.LInsertCommandwith 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.LInsertCommandwith 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.LInsertCommandwith key applied.
-
getValue
- Returns:
- never null.
-
getPosition
- Returns:
- can be null.
-
getPivot
- Returns:
- can be null.
-