Class ReactiveStringCommands.BitOpCommand
java.lang.Object
org.springframework.data.redis.connection.ReactiveStringCommands.BitOpCommand
- Enclosing interface:
- ReactiveStringCommands
BITOP
command parameters.- Author:
- Christoph Strobl
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionandSaveAs
(ByteBuffer destinationKey) Applies the key to store the result at.getBitOp()
getKeys()
onKeys
(Collection<ByteBuffer> keys) Applies the operation to keys.Creates a newReactiveStringCommands.BitOpCommand
given aRedisStringCommands.BitOperation
.
-
Method Details
-
perform
Creates a newReactiveStringCommands.BitOpCommand
given aRedisStringCommands.BitOperation
.- Parameters:
bitOp
- must not be null.- Returns:
- a new
ReactiveStringCommands.BitCountCommand
for aRedisStringCommands.BitOperation
.
-
onKeys
Applies the operation to keys. Constructs a new command instance with all previously configured properties.- Parameters:
keys
- must not be null.- Returns:
- a new
ReactiveStringCommands.BitOpCommand
withRange
applied.
-
andSaveAs
Applies the key to store the result at. Constructs a new command instance with all previously configured properties.- Parameters:
destinationKey
- must not be null.- Returns:
- a new
ReactiveStringCommands.BitOpCommand
withRange
applied.
-
getBitOp
- Returns:
- never null.
-
getKeys
- Returns:
- never null.
-
getDestinationKey
- Returns:
- can be null.
-