redis.clients.jedis.commands.BitBinaryCommands Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis_preview Show documentation
Show all versions of jedis_preview Show documentation
Jedis is a blazingly small and sane Redis java client.
The newest version!
package redis.clients.jedis.commands;
import java.util.List;
import redis.clients.jedis.args.BitCountOption;
import redis.clients.jedis.args.BitOP;
import redis.clients.jedis.params.BitPosParams;
public interface BitBinaryCommands {
boolean setbit(byte[] key, long offset, boolean value);
boolean getbit(byte[] key, long offset);
long bitcount(byte[] key);
long bitcount(byte[] key, long start, long end);
long bitcount(byte[] key, long start, long end, BitCountOption option);
long bitpos(byte[] key, boolean value);
long bitpos(byte[] key, boolean value, BitPosParams params);
List bitfield(byte[] key, byte[]... arguments);
List bitfieldReadonly(byte[] key, byte[]... arguments);
long bitop(BitOP op, byte[] destKey, byte[]... srcKeys);
}