Interface ReactiveTransactionalBitMapCommands<K>
-
- All Superinterfaces:
ReactiveTransactionalRedisCommands
- All Known Implementing Classes:
ReactiveTransactionalBitMapCommandsImpl
public interface ReactiveTransactionalBitMapCommands<K> extends ReactiveTransactionalRedisCommands
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<Void>
bitcount(K key)
Execute the command BITCOUNT.io.smallrye.mutiny.Uni<Void>
bitcount(K key, long start, long end)
Execute the command BITCOUNT.io.smallrye.mutiny.Uni<Void>
bitfield(K key, BitFieldArgs bitFieldArgs)
Execute the command BITFIELD.io.smallrye.mutiny.Uni<Void>
bitopAnd(K destination, K... keys)
Execute the command BITOP.io.smallrye.mutiny.Uni<Void>
bitopNot(K destination, K source)
Execute the command BITOP.io.smallrye.mutiny.Uni<Void>
bitopOr(K destination, K... keys)
Execute the command BITOP.io.smallrye.mutiny.Uni<Void>
bitopXor(K destination, K... keys)
Execute the command BITOP.io.smallrye.mutiny.Uni<Void>
bitpos(K key, int valueToLookFor)
Execute the command BITPOS.io.smallrye.mutiny.Uni<Void>
bitpos(K key, int bit, long start)
Execute the command BITPOS.io.smallrye.mutiny.Uni<Void>
bitpos(K key, int bit, long start, long end)
Execute the command BITPOS.io.smallrye.mutiny.Uni<Void>
getbit(K key, long offset)
Returns the bit value at offset in the string value stored at key.io.smallrye.mutiny.Uni<Void>
setbit(K key, long offset, int value)
Sets or clears the bit at offset in the string value stored at key.-
Methods inherited from interface io.quarkus.redis.datasource.ReactiveTransactionalRedisCommands
getDataSource
-
-
-
-
Method Detail
-
bitcount
io.smallrye.mutiny.Uni<Void> bitcount(K key)
Execute the command BITCOUNT. Summary: Count set bits in a string Group: bitmap Requires Redis 2.6.0- Parameters:
key
- the key- Returns:
- A
Uni
emittingnull
when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bitcount
io.smallrye.mutiny.Uni<Void> bitcount(K key, long start, long end)
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- Returns:
- A
Uni
emittingnull
when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
getbit
io.smallrye.mutiny.Uni<Void> getbit(K key, long offset)
Returns the bit value at offset in the string value stored at key.- Parameters:
key
- the key.offset
- the offset- Returns:
- A
Uni
emittingnull
when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bitfield
io.smallrye.mutiny.Uni<Void> bitfield(K key, BitFieldArgs bitFieldArgs)
Execute the command BITFIELD. Summary: Perform arbitrary bitfield integer operations on strings Group: bitmap Requires Redis 3.2.0- Parameters:
key
- the key- Returns:
- A
Uni
emittingnull
when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bitpos
io.smallrye.mutiny.Uni<Void> bitpos(K key, int valueToLookFor)
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
- Returns:
- A
Uni
emittingnull
when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bitpos
io.smallrye.mutiny.Uni<Void> bitpos(K key, int bit, long start)
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- Returns:
- A
Uni
emittingnull
when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bitpos
io.smallrye.mutiny.Uni<Void> bitpos(K key, int bit, long start, long end)
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- Returns:
- A
Uni
emittingnull
when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bitopAnd
io.smallrye.mutiny.Uni<Void> bitopAnd(K destination, K... keys)
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- Returns:
- A
Uni
emittingnull
when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bitopNot
io.smallrye.mutiny.Uni<Void> bitopNot(K destination, K source)
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- Returns:
- A
Uni
emittingnull
when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bitopOr
io.smallrye.mutiny.Uni<Void> bitopOr(K destination, K... keys)
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- Returns:
- A
Uni
emittingnull
when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
bitopXor
io.smallrye.mutiny.Uni<Void> bitopXor(K destination, K... keys)
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- Returns:
- A
Uni
emittingnull
when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
setbit
io.smallrye.mutiny.Uni<Void> setbit(K key, long offset, int value)
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)- Returns:
- A
Uni
emittingnull
when the command has been enqueued successfully in the transaction, a failure otherwise. In the case of failure, the transaction is discarded.
-
-