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.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionall()
Creates a newReactiveListCommands.LRemCommand
to delete all values.first
(long count) Creates a newReactiveListCommands.LRemCommand
to first count values.from
(ByteBuffer key) Applies the key.getCount()
getValue()
last
(long count) Creates a newReactiveListCommands.LRemCommand
to last count values.occurrencesOf
(ByteBuffer value) Applies the value.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
-
all
Creates a newReactiveListCommands.LRemCommand
to delete all values.- Returns:
- a new
ReactiveListCommands.LRemCommand
forvalue
.
-
first
Creates a newReactiveListCommands.LRemCommand
to first count values.- Returns:
- a new
ReactiveListCommands.LRemCommand
to delete first count values.
-
last
Creates a newReactiveListCommands.LRemCommand
to last count values.- Returns:
- a new
ReactiveListCommands.LRemCommand
to 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.LRemCommand
with 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.LRemCommand
with key applied.
-
getCount
- Returns:
- never null.
-
getValue
- Returns:
- can be null.
-