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>
  • Constructor Details

  • Method Details

    • bitcount

      public void bitcount(K key)
      Description copied from interface: TransactionalBitMapCommands
      Execute the command BITCOUNT. Summary: Count set bits in a string Group: bitmap Requires Redis 2.6.0
      Specified by:
      bitcount in interface TransactionalBitMapCommands<K>
      Parameters:
      key - the key
    • bitcount

      public void bitcount(K key, long start, long end)
      Description copied from interface: TransactionalBitMapCommands
      Execute the command BITCOUNT. Summary: Count set bits in a string Group: bitmap Requires Redis 2.6.0
      Specified by:
      bitcount in interface TransactionalBitMapCommands<K>
      Parameters:
      key - the key
      start - the start index
      end - the end index
    • getbit

      public void getbit(K key, long offset)
      Description copied from interface: TransactionalBitMapCommands
      Returns the bit value at offset in the string value stored at key.
      Specified by:
      getbit in interface TransactionalBitMapCommands<K>
      Parameters:
      key - the key.
      offset - the offset
    • bitfield

      public void bitfield(K key, BitFieldArgs bitFieldArgs)
      Description copied from interface: TransactionalBitMapCommands
      Execute the command BITFIELD. Summary: Perform arbitrary bitfield integer operations on strings Group: bitmap Requires Redis 3.2.0
      Specified by:
      bitfield in interface TransactionalBitMapCommands<K>
      Parameters:
      key - the key
    • bitpos

      public void bitpos(K key, int valueToLookFor)
      Description copied from interface: TransactionalBitMapCommands
      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 interface TransactionalBitMapCommands<K>
      Parameters:
      key - the key
      valueToLookFor - 1 to look for 1, 0 to look for 0
    • bitpos

      public void bitpos(K key, int bit, long start)
      Description copied from interface: TransactionalBitMapCommands
      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 interface TransactionalBitMapCommands<K>
      Parameters:
      key - the key
      bit - 1 to look for 1, 0 to look for 0
      start - the start position
    • bitpos

      public void bitpos(K key, int bit, long start, long end)
      Description copied from interface: TransactionalBitMapCommands
      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 interface TransactionalBitMapCommands<K>
      Parameters:
      key - the key
      bit - true to look for 1, false to look for 0
      start - the start position
      end - the end position
    • bitopAnd

      public void bitopAnd(K destination, K... keys)
      Description copied from interface: TransactionalBitMapCommands
      Execute the command BITOP. Summary: Perform a bitwise AND operation between strings Group: bitmap Requires Redis 2.6.0
      Specified by:
      bitopAnd in interface TransactionalBitMapCommands<K>
      Parameters:
      destination - the destination key
      keys - the keys
    • bitopNot

      public void bitopNot(K destination, K source)
      Description copied from interface: TransactionalBitMapCommands
      Execute the command BITOP. Summary: Perform a bitwise NOT operation between strings Group: bitmap Requires Redis 2.6.0
      Specified by:
      bitopNot in interface TransactionalBitMapCommands<K>
      Parameters:
      destination - the destination key
      source - the source key
    • bitopOr

      public void bitopOr(K destination, K... keys)
      Description copied from interface: TransactionalBitMapCommands
      Execute the command BITOP. Summary: Perform a bitwise OR operation between strings Group: bitmap Requires Redis 2.6.0
      Specified by:
      bitopOr in interface TransactionalBitMapCommands<K>
      Parameters:
      destination - the destination key
      keys - the keys
    • bitopXor

      public void bitopXor(K destination, K... keys)
      Description copied from interface: TransactionalBitMapCommands
      Execute the command BITOP. Summary: Perform a bitwise XOR operation between strings Group: bitmap Requires Redis 2.6.0
      Specified by:
      bitopXor in interface TransactionalBitMapCommands<K>
      Parameters:
      destination - the destination key
      keys - the keys
    • setbit

      public void setbit(K key, long offset, int value)
      Description copied from interface: TransactionalBitMapCommands
      Sets or clears the bit at offset in the string value stored at key.
      Specified by:
      setbit in interface TransactionalBitMapCommands<K>
      Parameters:
      key - the key.
      offset - the offset
      value - the value (O or 1)