Interface TransactionalBitMapCommands<K>
- Type Parameters:
K
- the type of the key
- All Superinterfaces:
TransactionalRedisCommands
- All Known Implementing Classes:
BlockingTransactionalBitMapCommandsImpl
Allows executing commands from the
bitmap
group in a Redis transaction (Multi
).
See the bitmap command list for further information about these
commands.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Execute the command BITCOUNT.void
Execute the command BITCOUNT.void
bitfield
(K key, BitFieldArgs bitFieldArgs) Execute the command BITFIELD.void
Execute the command BITOP.void
Execute the command BITOP.void
Execute the command BITOP.void
Execute the command BITOP.void
Execute the command BITPOS.void
Execute the command BITPOS.void
Execute the command BITPOS.void
Returns the bit value at offset in the string value stored at key.void
Sets or clears the bit at offset in the string value stored at key.Methods inherited from interface io.quarkus.redis.datasource.TransactionalRedisCommands
getDataSource
-
Method Details
-
bitcount
Execute the command BITCOUNT. Summary: Count set bits in a string Group: bitmap Requires Redis 2.6.0- Parameters:
key
- the key
-
bitcount
Execute the command BITCOUNT. Summary: Count set bits in a string Group: bitmap Requires Redis 2.6.0- Parameters:
key
- the keystart
- the start indexend
- the end index
-
getbit
Returns the bit value at offset in the string value stored at key.- Parameters:
key
- the key.offset
- the offset
-
bitfield
Execute the command BITFIELD. Summary: Perform arbitrary bitfield integer operations on strings Group: bitmap Requires Redis 3.2.0- Parameters:
key
- the key
-
bitpos
Execute the command BITPOS. Summary: Find first bit set or clear in a string Group: bitmap Requires Redis 2.8.7- Parameters:
key
- the keyvalueToLookFor
-1
to look for1
,0
to look for0
-
bitpos
Execute the command BITPOS. Summary: Find first bit set or clear in a string Group: bitmap Requires Redis 2.8.7- Parameters:
key
- the keybit
-1
to look for1
,0
to look for0
start
- the start position
-
bitpos
Execute the command BITPOS. Summary: Find first bit set or clear in a string Group: bitmap Requires Redis 2.8.7- Parameters:
key
- the keybit
-true
to look for1
,false
to look for0
start
- the start positionend
- the end position
-
bitopAnd
Execute the command BITOP. Summary: Perform a bitwise AND operation between strings Group: bitmap Requires Redis 2.6.0- Parameters:
destination
- the destination keykeys
- the keys
-
bitopNot
Execute the command BITOP. Summary: Perform a bitwise NOT operation between strings Group: bitmap Requires Redis 2.6.0- Parameters:
destination
- the destination keysource
- the source key
-
bitopOr
Execute the command BITOP. Summary: Perform a bitwise OR operation between strings Group: bitmap Requires Redis 2.6.0- Parameters:
destination
- the destination keykeys
- the keys
-
bitopXor
Execute the command BITOP. Summary: Perform a bitwise XOR operation between strings Group: bitmap Requires Redis 2.6.0- Parameters:
destination
- the destination keykeys
- the keys
-
setbit
Sets or clears the bit at offset in the string value stored at key.- Parameters:
key
- the key.offset
- the offsetvalue
- the value (O or 1)
-