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

redis.clients.jedis.BinaryRedisPipeline Maven / Gradle / Ivy

There is a newer version: 1.13.0
Show newest version
package redis.clients.jedis;

import redis.clients.jedis.params.geo.GeoRadiusParam;
import redis.clients.jedis.params.sortedset.ZAddParams;
import redis.clients.jedis.params.sortedset.ZIncrByParams;

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

public interface BinaryRedisPipeline {
  Response append(byte[] key, byte[] value);

  Response> blpop(byte[] arg);

  Response> brpop(byte[] arg);

  Response decr(byte[] key);

  Response decrBy(byte[] key, long integer);

  Response del(byte[] keys);

  Response echo(byte[] string);

  Response exists(byte[] key);

  Response expire(byte[] key, int seconds);

  Response pexpire(byte[] key, long milliseconds);

  Response expireAt(byte[] key, long unixTime);

  Response pexpireAt(byte[] key, long millisecondsTimestamp);

  Response get(byte[] key);

  Response getbit(byte[] key, long offset);

  Response getSet(byte[] key, byte[] value);

  Response getrange(byte[] key, long startOffset, long endOffset);

  Response hdel(byte[] key, byte[]... field);

  Response hexists(byte[] key, byte[] field);

  Response hget(byte[] key, byte[] field);

  Response> hgetAll(byte[] key);

  Response hincrBy(byte[] key, byte[] field, long value);

  Response> hkeys(byte[] key);

  Response hlen(byte[] key);

  Response> hmget(byte[] key, byte[]... fields);

  Response hmset(byte[] key, Map hash);

  Response hset(byte[] key, byte[] field, byte[] value);

  Response hsetnx(byte[] key, byte[] field, byte[] value);

  Response> hvals(byte[] key);

  Response incr(byte[] key);

  Response incrBy(byte[] key, long integer);

  Response lindex(byte[] key, long index);

  Response linsert(byte[] key, BinaryClient.LIST_POSITION where, byte[] pivot, byte[] value);

  Response llen(byte[] key);

  Response lpop(byte[] key);

  Response lpush(byte[] key, byte[]... string);

  Response lpushx(byte[] key, byte[]... bytes);

  Response> lrange(byte[] key, long start, long end);

  Response lrem(byte[] key, long count, byte[] value);

  Response lset(byte[] key, long index, byte[] value);

  Response ltrim(byte[] key, long start, long end);

  Response move(byte[] key, int dbIndex);

  Response persist(byte[] key);

  Response rpop(byte[] key);

  Response rpush(byte[] key, byte[]... string);

  Response rpushx(byte[] key, byte[]... string);

  Response sadd(byte[] key, byte[]... member);

  Response scard(byte[] key);

  Response set(byte[] key, byte[] value);

  Response setbit(byte[] key, long offset, byte[] value);

  Response setrange(byte[] key, long offset, byte[] value);

  Response setex(byte[] key, int seconds, byte[] value);

  Response setnx(byte[] key, byte[] value);

  Response setrange(String key, long offset, String value);

  Response> smembers(byte[] key);

  Response sismember(byte[] key, byte[] member);

  Response> sort(byte[] key);

  Response> sort(byte[] key, SortingParams sortingParameters);

  Response spop(byte[] key);

  Response> spop(byte[] key, long count);

  Response srandmember(byte[] key);

  Response srem(byte[] key, byte[]... member);

  Response strlen(byte[] key);

  Response substr(byte[] key, int start, int end);

  Response ttl(byte[] key);

  Response type(byte[] key);

  Response zadd(byte[] key, double score, byte[] member);

  Response zadd(byte[] key, double score, byte[] member, ZAddParams params);

  Response zadd(byte[] key, Map scoreMembers);

  Response zadd(byte[] key, Map scoreMembers, ZAddParams params);

  Response zcard(byte[] key);

  Response zcount(byte[] key, double min, double max);

  Response zincrby(byte[] key, double score, byte[] member);

  Response zincrby(byte[] key, double score, byte[] member, ZIncrByParams params);

  Response> zrange(byte[] key, long start, long end);

  Response> zrangeByScore(byte[] key, double min, double max);

  Response> zrangeByScore(byte[] key, byte[] min, byte[] max);

  Response> zrangeByScore(byte[] key, double min, double max, int offset, int count);

  Response> zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count);

  Response> zrangeByScoreWithScores(byte[] key, double min, double max);

  Response> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max);

  Response> zrangeByScoreWithScores(byte[] key, double min, double max, int offset,
      int count);

  Response> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset,
      int count);

  Response> zrevrangeByScore(byte[] key, double max, double min);

  Response> zrevrangeByScore(byte[] key, byte[] max, byte[] min);

  Response> zrevrangeByScore(byte[] key, double max, double min, int offset, int count);

  Response> zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count);

  Response> zrevrangeByScoreWithScores(byte[] key, double max, double min);

  Response> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min);

  Response> zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset,
      int count);

  Response> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset,
      int count);

  Response> zrangeWithScores(byte[] key, long start, long end);

  Response zrank(byte[] key, byte[] member);

  Response zrem(byte[] key, byte[]... member);

  Response zremrangeByRank(byte[] key, long start, long end);

  Response zremrangeByScore(byte[] key, double start, double end);

  Response zremrangeByScore(byte[] key, byte[] start, byte[] end);

  Response> zrevrange(byte[] key, long start, long end);

  Response> zrevrangeWithScores(byte[] key, long start, long end);

  Response zrevrank(byte[] key, byte[] member);

  Response zscore(byte[] key, byte[] member);

  Response zlexcount(final byte[] key, final byte[] min, final byte[] max);

  Response> zrangeByLex(final byte[] key, final byte[] min, final byte[] max);

  Response> zrangeByLex(final byte[] key, final byte[] min, final byte[] max,
      int offset, int count);

  Response> zrevrangeByLex(final byte[] key, final byte[] max, final byte[] min);

  Response> zrevrangeByLex(final byte[] key, final byte[] max, final byte[] min,
      int offset, int count);

  Response zremrangeByLex(final byte[] key, final byte[] min, final byte[] max);

  Response bitcount(byte[] key);

  Response bitcount(byte[] key, long start, long end);

  Response pfadd(final byte[] key, final byte[]... elements);

  Response pfcount(final byte[] key);

  // Geo Commands

  Response geoadd(byte[] key, double longitude, double latitude, byte[] member);

  Response geoadd(byte[] key, Map memberCoordinateMap);

  Response geodist(byte[] key, byte[] member1, byte[] member2);

  Response geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit);

  Response> geohash(byte[] key, byte[]... members);

  Response> geopos(byte[] key, byte[]... members);

  Response> georadius(byte[] key, double longitude, double latitude,
      double radius, GeoUnit unit);

  Response> georadius(byte[] key, double longitude, double latitude,
      double radius, GeoUnit unit, GeoRadiusParam param);

  Response> georadiusByMember(byte[] key, byte[] member, double radius,
      GeoUnit unit);

  Response> georadiusByMember(byte[] key, byte[] member, double radius,
      GeoUnit unit, GeoRadiusParam param);

  Response> bitfield(final byte[] key, final byte[]... elements);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy