Interface BitBinaryCommands

All Known Subinterfaces:
JedisBinaryCommands, StringBinaryCommands
All Known Implementing Classes:
Jedis, JedisCluster, JedisPooled, JedisSentineled, JedisSharding, UnifiedJedis

public interface BitBinaryCommands
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    bitcount(byte[] key)
     
    long
    bitcount(byte[] key, long start, long end)
     
    long
    bitcount(byte[] key, long start, long end, BitCountOption option)
     
    bitfield(byte[] key, byte[]... arguments)
     
    bitfieldReadonly(byte[] key, byte[]... arguments)
     
    long
    bitop(BitOP op, byte[] destKey, byte[]... srcKeys)
     
    long
    bitpos(byte[] key, boolean value)
     
    long
    bitpos(byte[] key, boolean value, BitPosParams params)
     
    boolean
    getbit(byte[] key, long offset)
     
    boolean
    setbit(byte[] key, long offset, boolean value)
     
  • Method Details

    • setbit

      boolean setbit(byte[] key, long offset, boolean value)
    • getbit

      boolean getbit(byte[] key, long offset)
    • bitcount

      long bitcount(byte[] key)
    • bitcount

      long bitcount(byte[] key, long start, long end)
    • bitcount

      long bitcount(byte[] key, long start, long end, BitCountOption option)
    • bitpos

      long bitpos(byte[] key, boolean value)
    • bitpos

      long bitpos(byte[] key, boolean value, BitPosParams params)
    • bitfield

      List<Long> bitfield(byte[] key, byte[]... arguments)
    • bitfieldReadonly

      List<Long> bitfieldReadonly(byte[] key, byte[]... arguments)
    • bitop

      long bitop(BitOP op, byte[] destKey, byte[]... srcKeys)