Class ReactiveTransactionalBitMapCommandsImpl<K>
java.lang.Object
io.quarkus.redis.runtime.datasource.AbstractTransactionalCommands
io.quarkus.redis.runtime.datasource.ReactiveTransactionalBitMapCommandsImpl<K>
- All Implemented Interfaces:
ReactiveTransactionalBitMapCommands<K>
,ReactiveTransactionalRedisCommands
public class ReactiveTransactionalBitMapCommandsImpl<K>
extends AbstractTransactionalCommands
implements ReactiveTransactionalBitMapCommands<K>
-
Field Summary
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalCommands
tx
-
Constructor Summary
ConstructorDescriptionReactiveTransactionalBitMapCommandsImpl
(ReactiveTransactionalRedisDataSource ds, ReactiveBitMapCommandsImpl<K> reactive, TransactionHolder tx) -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<Void>
Execute the command BITCOUNT.io.smallrye.mutiny.Uni<Void>
Execute the command BITCOUNT.io.smallrye.mutiny.Uni<Void>
bitfield
(K key, BitFieldArgs bitFieldArgs) Execute the command BITFIELD.io.smallrye.mutiny.Uni<Void>
Execute the command BITOP.io.smallrye.mutiny.Uni<Void>
Execute the command BITOP.io.smallrye.mutiny.Uni<Void>
Execute the command BITOP.io.smallrye.mutiny.Uni<Void>
Execute the command BITOP.io.smallrye.mutiny.Uni<Void>
Execute the command BITPOS.io.smallrye.mutiny.Uni<Void>
Execute the command BITPOS.io.smallrye.mutiny.Uni<Void>
Execute the command BITPOS.io.smallrye.mutiny.Uni<Void>
Returns the bit value at offset in the string value stored at key.io.smallrye.mutiny.Uni<Void>
Sets or clears the bit at offset in the string value stored at key.Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalCommands
getDataSource, queuedOrDiscard
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.quarkus.redis.datasource.ReactiveTransactionalRedisCommands
getDataSource
-
Constructor Details
-
ReactiveTransactionalBitMapCommandsImpl
public ReactiveTransactionalBitMapCommandsImpl(ReactiveTransactionalRedisDataSource ds, ReactiveBitMapCommandsImpl<K> reactive, TransactionHolder tx)
-
-
Method Details
-
bitcount
Description copied from interface:ReactiveTransactionalBitMapCommands
Execute the command BITCOUNT. Summary: Count set bits in a string Group: bitmap Requires Redis 2.6.0- Specified by:
bitcount
in interfaceReactiveTransactionalBitMapCommands<K>
- 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
Description copied from interface:ReactiveTransactionalBitMapCommands
Execute the command BITCOUNT. Summary: Count set bits in a string Group: bitmap Requires Redis 2.6.0- Specified by:
bitcount
in interfaceReactiveTransactionalBitMapCommands<K>
- 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
Description copied from interface:ReactiveTransactionalBitMapCommands
Returns the bit value at offset in the string value stored at key.- Specified by:
getbit
in interfaceReactiveTransactionalBitMapCommands<K>
- 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
Description copied from interface:ReactiveTransactionalBitMapCommands
Execute the command BITFIELD. Summary: Perform arbitrary bitfield integer operations on strings Group: bitmap Requires Redis 3.2.0- Specified by:
bitfield
in interfaceReactiveTransactionalBitMapCommands<K>
- 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
Description copied from interface:ReactiveTransactionalBitMapCommands
Execute the command BITPOS. Summary: Find first bit set or clear in a string Group: bitmap Requires Redis 2.8.7- Specified by:
bitpos
in interfaceReactiveTransactionalBitMapCommands<K>
- 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
Description copied from interface:ReactiveTransactionalBitMapCommands
Execute the command BITPOS. Summary: Find first bit set or clear in a string Group: bitmap Requires Redis 2.8.7- Specified by:
bitpos
in interfaceReactiveTransactionalBitMapCommands<K>
- 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
Description copied from interface:ReactiveTransactionalBitMapCommands
Execute the command BITPOS. Summary: Find first bit set or clear in a string Group: bitmap Requires Redis 2.8.7- Specified by:
bitpos
in interfaceReactiveTransactionalBitMapCommands<K>
- 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
Description copied from interface:ReactiveTransactionalBitMapCommands
Execute the command BITOP. Summary: Perform a bitwise AND operation between strings Group: bitmap Requires Redis 2.6.0- Specified by:
bitopAnd
in interfaceReactiveTransactionalBitMapCommands<K>
- 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
Description copied from interface:ReactiveTransactionalBitMapCommands
Execute the command BITOP. Summary: Perform a bitwise NOT operation between strings Group: bitmap Requires Redis 2.6.0- Specified by:
bitopNot
in interfaceReactiveTransactionalBitMapCommands<K>
- 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
Description copied from interface:ReactiveTransactionalBitMapCommands
Execute the command BITOP. Summary: Perform a bitwise OR operation between strings Group: bitmap Requires Redis 2.6.0- Specified by:
bitopOr
in interfaceReactiveTransactionalBitMapCommands<K>
- 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
Description copied from interface:ReactiveTransactionalBitMapCommands
Execute the command BITOP. Summary: Perform a bitwise XOR operation between strings Group: bitmap Requires Redis 2.6.0- Specified by:
bitopXor
in interfaceReactiveTransactionalBitMapCommands<K>
- 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
Description copied from interface:ReactiveTransactionalBitMapCommands
Sets or clears the bit at offset in the string value stored at key.- Specified by:
setbit
in interfaceReactiveTransactionalBitMapCommands<K>
- 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.
-