public static class ReactiveStringCommands.BitOpCommand extends Object
BITOP
command parameters.Modifier and Type | Method and Description |
---|---|
ReactiveStringCommands.BitOpCommand |
andSaveAs(ByteBuffer destinationKey)
Applies the key to store the result at.
|
RedisStringCommands.BitOperation |
getBitOp() |
ByteBuffer |
getDestinationKey() |
List<ByteBuffer> |
getKeys() |
ReactiveStringCommands.BitOpCommand |
onKeys(Collection<ByteBuffer> keys)
Applies the operation to keys.
|
static ReactiveStringCommands.BitOpCommand |
perform(RedisStringCommands.BitOperation bitOp)
Creates a new
ReactiveStringCommands.BitOpCommand given a RedisStringCommands.BitOperation . |
public static ReactiveStringCommands.BitOpCommand perform(RedisStringCommands.BitOperation bitOp)
ReactiveStringCommands.BitOpCommand
given a RedisStringCommands.BitOperation
.bitOp
- must not be null.ReactiveStringCommands.BitCountCommand
for a RedisStringCommands.BitOperation
.public ReactiveStringCommands.BitOpCommand onKeys(Collection<ByteBuffer> keys)
keys
- must not be null.ReactiveStringCommands.BitOpCommand
with Range
applied.public ReactiveStringCommands.BitOpCommand andSaveAs(ByteBuffer destinationKey)
destinationKey
- must not be null.ReactiveStringCommands.BitOpCommand
with Range
applied.public RedisStringCommands.BitOperation getBitOp()
public List<ByteBuffer> getKeys()
@Nullable public ByteBuffer getDestinationKey()
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.