Class ReactiveListCommands.LRemCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveListCommands.LRemCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
ReactiveListCommands
LREM command parameters.- Since:
- 2.0
- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionall()Creates a newReactiveListCommands.LRemCommandto delete all values.first(long count) Creates a newReactiveListCommands.LRemCommandto first count values.from(ByteBuffer key) Applies the key.getCount()@Nullable ByteBuffergetValue()last(long count) Creates a newReactiveListCommands.LRemCommandto last count values.occurrencesOf(ByteBuffer value) Applies the value.Methods inherited from class ReactiveRedisConnection.KeyCommand
getKeyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReactiveRedisConnection.Command
getName
-
Method Details
-
all
Creates a newReactiveListCommands.LRemCommandto delete all values.- Returns:
- a new
ReactiveListCommands.LRemCommandforvalue.
-
first
Creates a newReactiveListCommands.LRemCommandto first count values.- Returns:
- a new
ReactiveListCommands.LRemCommandto delete first count values.
-
last
Creates a newReactiveListCommands.LRemCommandto last count values.- Returns:
- a new
ReactiveListCommands.LRemCommandto delete last count values.
-
occurrencesOf
Applies the value. Constructs a new command instance with all previously configured properties.- Parameters:
value- must not be null.- Returns:
- a new
ReactiveListCommands.LRemCommandwith value applied.
-
from
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveListCommands.LRemCommandwith key applied.
-
getCount
- Returns:
- never null.
-
getValue
- Returns:
- can be null.
-