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.BitOpCommandgiven aRedisStringCommands.BitOperation.
-
Method Details
-
perform
Creates a newReactiveStringCommands.BitOpCommandgiven aRedisStringCommands.BitOperation.- Parameters:
bitOp- must not be null.- Returns:
- a new
ReactiveStringCommands.BitCountCommandfor 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.BitOpCommandwithRangeapplied.
-
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.BitOpCommandwithRangeapplied.
-
getBitOp
- Returns:
- never null.
-
getKeys
- Returns:
- never null.
-
getDestinationKey
- Returns:
- can be null.
-