Class ReactiveStringCommands.GetBitCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveStringCommands.GetBitCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveStringCommands
GETBIT command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionatOffset(long offset) Applies the offset index.bit(ByteBuffer key) Creates a newReactiveStringCommands.GetBitCommandgiven a key.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
-
bit
Creates a newReactiveStringCommands.GetBitCommandgiven a key.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveStringCommands.GetBitCommandfor a key.
-
atOffset
Applies the offset index. Constructs a new command instance with all previously configured properties.- Parameters:
offset-- Returns:
- a new
ReactiveStringCommands.GetBitCommandwith offset applied.
-
getOffset
- Returns:
- can be null.
-