All Downloads are FREE. Search and download functionalities are using the official Maven repository.

redis.clients.jedis.commands.SetPipelineBinaryCommands Maven / Gradle / Ivy

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy