Class BlockingTransactionalBitMapCommandsImpl<K>
- java.lang.Object
-
- io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
-
- io.quarkus.redis.runtime.datasource.BlockingTransactionalBitMapCommandsImpl<K>
-
- All Implemented Interfaces:
TransactionalBitMapCommands<K>,TransactionalRedisCommands
public class BlockingTransactionalBitMapCommandsImpl<K> extends AbstractTransactionalRedisCommandGroup implements TransactionalBitMapCommands<K>
-
-
Field Summary
-
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
ds, timeout
-
-
Constructor Summary
Constructors Constructor Description BlockingTransactionalBitMapCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalBitMapCommands<K> reactive, Duration timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbitcount(K key)Execute the command BITCOUNT.voidbitcount(K key, long start, long end)Execute the command BITCOUNT.voidbitfield(K key, BitFieldArgs bitFieldArgs)Execute the command BITFIELD.voidbitopAnd(K destination, K... keys)Execute the command BITOP.voidbitopNot(K destination, K source)Execute the command BITOP.voidbitopOr(K destination, K... keys)Execute the command BITOP.voidbitopXor(K destination, K... keys)Execute the command BITOP.voidbitpos(K key, int valueToLookFor)Execute the command BITPOS.voidbitpos(K key, int bit, long start)Execute the command BITPOS.voidbitpos(K key, int bit, long start, long end)Execute the command BITPOS.voidgetbit(K key, long offset)Returns the bit value at offset in the string value stored at key.voidsetbit(K key, long offset, int value)Sets or clears the bit at offset in the string value stored at key.-
Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
getDataSource
-
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.TransactionalRedisCommands
getDataSource
-
-
-
-
Constructor Detail
-
BlockingTransactionalBitMapCommandsImpl
public BlockingTransactionalBitMapCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalBitMapCommands<K> reactive, Duration timeout)
-
-
Method Detail
-
bitcount
public void bitcount(K key)
Description copied from interface:TransactionalBitMapCommandsExecute the command BITCOUNT. Summary: Count set bits in a string Group: bitmap Requires Redis 2.6.0- Specified by:
bitcountin interfaceTransactionalBitMapCommands<K>- Parameters:
key- the key
-
bitcount
public void bitcount(K key, long start, long end)
Description copied from interface:TransactionalBitMapCommandsExecute the command BITCOUNT. Summary: Count set bits in a string Group: bitmap Requires Redis 2.6.0- Specified by:
bitcountin interfaceTransactionalBitMapCommands<K>- Parameters:
key- the keystart- the start indexend- the end index
-
getbit
public void getbit(K key, long offset)
Description copied from interface:TransactionalBitMapCommandsReturns the bit value at offset in the string value stored at key.- Specified by:
getbitin interfaceTransactionalBitMapCommands<K>- Parameters:
key- the key.offset- the offset
-
bitfield
public void bitfield(K key, BitFieldArgs bitFieldArgs)
Description copied from interface:TransactionalBitMapCommandsExecute the command BITFIELD. Summary: Perform arbitrary bitfield integer operations on strings Group: bitmap Requires Redis 3.2.0- Specified by:
bitfieldin interfaceTransactionalBitMapCommands<K>- Parameters:
key- the key
-
bitpos
public void bitpos(K key, int valueToLookFor)
Description copied from interface:TransactionalBitMapCommandsExecute the command BITPOS. Summary: Find first bit set or clear in a string Group: bitmap Requires Redis 2.8.7- Specified by:
bitposin interfaceTransactionalBitMapCommands<K>- Parameters:
key- the keyvalueToLookFor-1to look for1,0to look for0
-
bitpos
public void bitpos(K key, int bit, long start)
Description copied from interface:TransactionalBitMapCommandsExecute the command BITPOS. Summary: Find first bit set or clear in a string Group: bitmap Requires Redis 2.8.7- Specified by:
bitposin interfaceTransactionalBitMapCommands<K>- Parameters:
key- the keybit-1to look for1,0to look for0start- the start position
-
bitpos
public void bitpos(K key, int bit, long start, long end)
Description copied from interface:TransactionalBitMapCommandsExecute the command BITPOS. Summary: Find first bit set or clear in a string Group: bitmap Requires Redis 2.8.7- Specified by:
bitposin interfaceTransactionalBitMapCommands<K>- Parameters:
key- the keybit-trueto look for1,falseto look for0start- the start positionend- the end position
-
bitopAnd
public void bitopAnd(K destination, K... keys)
Description copied from interface:TransactionalBitMapCommandsExecute the command BITOP. Summary: Perform a bitwise AND operation between strings Group: bitmap Requires Redis 2.6.0- Specified by:
bitopAndin interfaceTransactionalBitMapCommands<K>- Parameters:
destination- the destination keykeys- the keys
-
bitopNot
public void bitopNot(K destination, K source)
Description copied from interface:TransactionalBitMapCommandsExecute the command BITOP. Summary: Perform a bitwise NOT operation between strings Group: bitmap Requires Redis 2.6.0- Specified by:
bitopNotin interfaceTransactionalBitMapCommands<K>- Parameters:
destination- the destination keysource- the source key
-
bitopOr
public void bitopOr(K destination, K... keys)
Description copied from interface:TransactionalBitMapCommandsExecute the command BITOP. Summary: Perform a bitwise OR operation between strings Group: bitmap Requires Redis 2.6.0- Specified by:
bitopOrin interfaceTransactionalBitMapCommands<K>- Parameters:
destination- the destination keykeys- the keys
-
bitopXor
public void bitopXor(K destination, K... keys)
Description copied from interface:TransactionalBitMapCommandsExecute the command BITOP. Summary: Perform a bitwise XOR operation between strings Group: bitmap Requires Redis 2.6.0- Specified by:
bitopXorin interfaceTransactionalBitMapCommands<K>- Parameters:
destination- the destination keykeys- the keys
-
setbit
public void setbit(K key, long offset, int value)
Description copied from interface:TransactionalBitMapCommandsSets or clears the bit at offset in the string value stored at key.- Specified by:
setbitin interfaceTransactionalBitMapCommands<K>- Parameters:
key- the key.offset- the offsetvalue- the value (O or 1)
-
-