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.BitCountCommandgiven a key.getRange()Applies theRange.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
-
bitCount
Creates a newReactiveStringCommands.BitCountCommandgiven a key.- Parameters:
key- must not be null.- Returns:
- a new
ReactiveStringCommands.BitCountCommandfor 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.BitCountCommandwithRangeapplied.
-
getRange
- Returns:
-