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.- Since:
- 2.0
- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionatOffset
(long offset) Applies the offset index.bit
(ByteBuffer key) Creates a newReactiveStringCommands.GetBitCommand
given a key.@Nullable Long
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
-
bit
Creates a newReactiveStringCommands.GetBitCommand
given a key.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveStringCommands.GetBitCommand
for a key.
-
atOffset
Applies the offset index. Constructs a new command instance with all previously configured properties.- Parameters:
offset
-- Returns:
- a new
ReactiveStringCommands.GetBitCommand
with offset applied.
-
getOffset
- Returns:
- can be null.
-