Class ReactiveStringCommands.BitCountCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveRedisConnection.KeyCommand
org.springframework.data.redis.connection.ReactiveStringCommands.BitCountCommand
- All Implemented Interfaces:
ReactiveRedisConnection.Command
- Enclosing interface:
- ReactiveStringCommands
public static class ReactiveStringCommands.BitCountCommand
extends ReactiveRedisConnection.KeyCommand
BITCOUNT
command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbitCount
(ByteBuffer key) Creates a newReactiveStringCommands.BitCountCommand
given a key.getRange()
Applies theRange
.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
-
bitCount
Creates a newReactiveStringCommands.BitCountCommand
given a key.- Parameters:
key
- must not be null.- Returns:
- a new
ReactiveStringCommands.BitCountCommand
for a key.
-
within
Applies theRange
. Constructs a new command instance with all previously configured properties.- Parameters:
range
- must not be null.- Returns:
- a new
ReactiveStringCommands.BitCountCommand
withRange
applied.
-
getRange
- Returns:
-