Class ReactiveListCommands.LIndexCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveListCommands.LIndexCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
ReactiveListCommands
LINDEX command parameters.- Since:
- 2.0
- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionelementAt(long index) Creates a newReactiveListCommands.LIndexCommandgiven an index.from(ByteBuffer key) Applies the key.getIndex()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
-
elementAt
Creates a newReactiveListCommands.LIndexCommandgiven an index.- Parameters:
index-- Returns:
- a new
ReactiveListCommands.LIndexCommandfor index.
-
from
Applies the key. Constructs a new command instance with all previously configured properties.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveListCommands.LIndexCommandwith key applied.
-
getIndex
- Returns:
-