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

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

package redis.clients.jedis.commands;

import redis.clients.jedis.BitOP;
import redis.clients.jedis.GeoUnit;
import redis.clients.jedis.Response;
import redis.clients.jedis.SortingParams;
import redis.clients.jedis.StreamEntry;
import redis.clients.jedis.StreamEntryID;
import redis.clients.jedis.Tuple;
import redis.clients.jedis.ZParams;
import redis.clients.jedis.args.*;
import redis.clients.jedis.params.*;
import redis.clients.jedis.resps.*;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * Multikey related commands (these are split out because they are non-shardable)
 */
public interface MultiKeyCommandsPipeline {
  Response copy(String srcKey, String dstKey, int db, boolean replace);

  Response copy(String srcKey, String dstKey, boolean replace);

  Response del(String... keys);

  Response unlink(String... keys);

  Response exists(String... keys);

  Response lmove(String srcKey, String dstKey, ListDirection from, ListDirection to);

  Response blmove(String srcKey, String dstKey, ListDirection from, ListDirection to,
      double timeout);

  Response> blpop(String... args);

  Response> blpop(int timeout, String... args);

  Response blpop(double timeout, String... args);

  Response> brpop(String... args);

  Response> brpop(int timeout, String... args);

  Response brpop(double timeout, String... args);

  Response bzpopmax(double timeout, String... keys);

  Response bzpopmin(double timeout, String... keys);

  Response> keys(String pattern);

  Response> mget(String... keys);

  Response mset(String... keysvalues);

  Response msetnx(String... keysvalues);

  Response rename(String oldkey, String newkey);

  Response renamenx(String oldkey, String newkey);

  Response rpoplpush(String srckey, String dstkey);

  Response> sdiff(String... keys);

  Response sdiffstore(String dstkey, String... keys);

  Response> sinter(String... keys);

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

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

  Response sort(String key, SortingParams sortingParameters, String dstkey);

  Response sort(String key, String dstkey);

  Response> sunion(String... keys);

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

  Response watch(String... keys);

  /**
   * @deprecated This method will be removed in next major release.
   */
  @Deprecated
  Response unwatch();

  Response> zdiff(String... keys);

  Response> zdiffWithScores(String... keys);

  Response zdiffStore(String dstkey, String... keys);

  Response> zinter(ZParams params, String... keys);

  Response> zinterWithScores(ZParams params, String... keys);

  Response zinterstore(String dstkey, String... sets);

  Response zinterstore(String dstkey, ZParams params, String... sets);

  Response> zunion(ZParams params, String... keys);

  Response> zunionWithScores(ZParams params, String... keys);

  Response zunionstore(String dstkey, String... sets);

  Response zunionstore(String dstkey, ZParams params, String... sets);

  Response brpoplpush(String source, String destination, int timeout);

  Response publish(String channel, String message);

  Response randomKey();

  Response bitop(BitOP op, String destKey, String... srcKeys);

  Response pfmerge(String destkey, String... sourcekeys);

  Response pfcount(String... keys);

  Response touch(String... keys);

  Response migrate(String host, int port, int destinationDB, int timeout,
      MigrateParams params, String... keys);

  Response georadiusStore(String key, double longitude, double latitude, double radius,
      GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam);

  Response georadiusByMemberStore(String key, String member, double radius, GeoUnit unit,
      GeoRadiusParam param, GeoRadiusStoreParam storeParam);

  /**
   * @deprecated Use {@link #xread(redis.clients.jedis.params.XReadParams, java.util.Map)}.
   */
  @Deprecated
  Response>>> xread(int count, long block,
      Map.Entry... streams);

  Response>>> xread(XReadParams xReadParams,
      Map streams);

  /**
   * @deprecated Use {@link #xreadGroup(java.lang.String, java.lang.String, redis.clients.jedis.params.XReadGroupParams, java.util.Map)}.
   */
  @Deprecated
  Response>>> xreadGroup(String groupname, String consumer,
      int count, long block, boolean noAck, Map.Entry... streams);

  Response>>> xreadGroup(String groupname, String consumer,
      XReadGroupParams xReadGroupParams, Map streams);

  Response strAlgoLCSKeys(final String keyA, final String keyB, final StrAlgoLCSParams params);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy