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

redis.clients.jedis.commands.SetPipelineCommands 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 SetPipelineCommands {

  Response sadd(String key, String... members);

  Response> smembers(String key);

  Response srem(String key, String... members);

  Response spop(String key);

  Response> spop(String key, long count);

  Response scard(String key);

  Response sismember(String key, String member);

  Response> smismember(String key, String... members);

  Response srandmember(String key);

  Response> srandmember(String key, int count);

  default Response> sscan(String key, String cursor) {
    return sscan(key, cursor, new ScanParams());
  }

  Response> sscan(String key, String cursor, ScanParams params);

  Response> sdiff(String... keys);

  Response sdiffStore(String dstKey, String... keys);

  Response> sinter(String... keys);

  Response sinterstore(String dstKey, String... keys);

  Response sintercard(String... keys);

  Response sintercard(int limit, String... keys);

  Response> sunion(String... keys);

  Response sunionstore(String dstKey, String... keys);

  Response smove(String srckey, String dstKey, String member);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy