Package redis.clients.jedis.commands
Interface BitBinaryCommands
- All Known Subinterfaces:
JedisBinaryCommands,StringBinaryCommands
- All Known Implementing Classes:
Jedis,JedisCluster,JedisPooled,JedisSentineled,JedisSharding,UnifiedJedis
public interface BitBinaryCommands
-
Method Summary
Modifier and TypeMethodDescriptionlongbitcount(byte[] key) longbitcount(byte[] key, long start, long end) longbitcount(byte[] key, long start, long end, BitCountOption option) bitfield(byte[] key, byte[]... arguments) bitfieldReadonly(byte[] key, byte[]... arguments) longlongbitpos(byte[] key, boolean value) longbitpos(byte[] key, boolean value, BitPosParams params) booleangetbit(byte[] key, long offset) booleansetbit(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
-
bitpos
long bitpos(byte[] key, boolean value) -
bitpos
-
bitfield
-
bitfieldReadonly
-
bitop
-