Class BlockingTransactionalBitMapCommandsImpl<K>

    • Method Detail

      • 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
      • 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)