redis.clients.jedis.commands.SetPipelineBinaryCommands 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 java.util.Set;
import redis.clients.jedis.Response;
import redis.clients.jedis.params.ScanParams;
import redis.clients.jedis.resps.ScanResult;
public interface SetPipelineBinaryCommands {
Response sadd(byte[] key, byte[]... members);
Response> smembers(byte[] key);
Response srem(byte[] key, byte[]... members);
Response spop(byte[] key);
Response> spop(byte[] key, long count);
Response scard(byte[] key);
Response sismember(byte[] key, byte[] member);
Response> smismember(byte[] key, byte[]... members);
Response srandmember(byte[] key);
Response> srandmember(byte[] key, int count);
default Response> sscan(byte[] key, byte[] cursor) {
return sscan(key, cursor, new ScanParams());
}
Response> sscan(byte[] key, byte[] cursor, ScanParams params);
Response> sdiff(byte[]... keys);
Response sdiffstore(byte[] dstkey, byte[]... keys);
Response> sinter(byte[]... keys);
Response sinterstore(byte[] dstkey, byte[]... keys);
Response sintercard(byte[]... keys);
Response sintercard(int limit, byte[]... keys);
Response> sunion(byte[]... keys);
Response sunionstore(byte[] dstkey, byte[]... keys);
Response smove(byte[] srckey, byte[] dstkey, byte[] member);
}