package redis.clients.jedis.commands; import 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<Long> append(byte[] key, byte[] value); Response<List<byte[]>> blpop(byte[] arg); Response<List<byte[]>> brpop(byte[] arg); Response<Long> decr(byte[] key); Response<Long> decrBy(byte[] key, long integer); Response<Long> del(byte[] keys); Response<byte[]> echo(byte[] string); Response<Boolean> exists(byte[] key); Response<Long> expire(byte[] key, int seconds); Response<Long> pexpire(byte[] key, long milliseconds); Response<Long> expireAt(byte[] key, long unixTime); Response<Long> pexpireAt(byte[] key, long millisecondsTimestamp); Response<byte[]> get(byte[] key); Response<Boolean> getbit(byte[] key, long offset); Response<byte[]> getSet(byte[] key, byte[] value); Response<byte[]> getrange(byte[] key, long startOffset, long endOffset); Response<Long> hdel(byte[] key, byte[]... field); Response<Boolean> hexists(byte[] key, byte[] field); Response<byte[]> hget(byte[] key, byte[] field); Response<Map<byte[], byte[]>> hgetAll(byte[] key); Response<Long> hincrBy(byte[] key, byte[] field, long value); Response<Set<byte[]>> hkeys(byte[] key); Response<Long> hlen(byte[] key); Response<List<byte[]>> hmget(byte[] key, byte[]... fields); Response<String> hmset(byte[] key, Map<byte[], byte[]> hash); Response<Long> hset(byte[] key, byte[] field, byte[] value); Response<Long> hsetnx(byte[] key, byte[] field, byte[] value); Response<List<byte[]>> hvals(byte[] key); Response<Long> incr(byte[] key); Response<Long> incrBy(byte[] key, long integer); Response<byte[]> lindex(byte[] key, long index); Response<Long> linsert(byte[] key, BinaryClient.LIST_POSITION where, byte[] pivot, byte[] value); Response<Long> llen(byte[] key); Response<byte[]> lpop(byte[] key); Response<Long> lpush(byte[] key, byte[]... string); Response<Long> lpushx(byte[] key, byte[]... bytes); Response<List<byte[]>> lrange(byte[] key, long start, long end); Response<Long> lrem(byte[] key, long count, byte[] value); Response<String> lset(byte[] key, long index, byte[] value); Response<String> ltrim(byte[] key, long start, long end); Response<Long> move(byte[] key, int dbIndex); Response<Long> persist(byte[] key); Response<byte[]> rpop(byte[] key); Response<Long> rpush(byte[] key, byte[]... string); Response<Long> rpushx(byte[] key, byte[]... string); Response<Long> sadd(byte[] key, byte[]... member); Response<Long> scard(byte[] key); Response<String> set(byte[] key, byte[] value); Response<Boolean> setbit(byte[] key, long offset, byte[] value); Response<Long> setrange(byte[] key, long offset, byte[] value); Response<String> setex(byte[] key, int seconds, byte[] value); Response<Long> setnx(byte[] key, byte[] value); Response<Long> setrange(String key, long offset, String value); Response<Set<byte[]>> smembers(byte[] key); Response<Boolean> sismember(byte[] key, byte[] member); Response<List<byte[]>> sort(byte[] key); Response<List<byte[]>> sort(byte[] key, SortingParams sortingParameters); Response<byte[]> spop(byte[] key); Response<Set<byte[]>> spop(byte[] key, long count); Response<byte[]> srandmember(byte[] key); Response<Long> srem(byte[] key, byte[]... member); Response<Long> strlen(byte[] key); Response<String> substr(byte[] key, int start, int end); Response<Long> ttl(byte[] key); Response<String> type(byte[] key); Response<Long> zadd(byte[] key, double score, byte[] member); Response<Long> zadd(byte[] key, double score, byte[] member, ZAddParams params); Response<Long> zadd(byte[] key, Map<byte[], Double> scoreMembers); Response<Long> zadd(byte[] key, Map<byte[], Double> scoreMembers, ZAddParams params); Response<Long> zcard(byte[] key); Response<Long> zcount(byte[] key, double min, double max); Response<Double> zincrby(byte[] key, double score, byte[] member); Response<Double> zincrby(byte[] key, double score, byte[] member, ZIncrByParams params); Response<Set<byte[]>> zrange(byte[] key, long start, long end); Response<Set<byte[]>> zrangeByScore(byte[] key, double min, double max); Response<Set<byte[]>> zrangeByScore(byte[] key, byte[] min, byte[] max); Response<Set<byte[]>> zrangeByScore(byte[] key, double min, double max, int offset, int count); Response<Set<byte[]>> zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count); Response<Set<Tuple>> zrangeByScoreWithScores(byte[] key, double min, double max); Response<Set<Tuple>> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max); Response<Set<Tuple>> zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count); Response<Set<Tuple>> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count); Response<Set<byte[]>> zrevrangeByScore(byte[] key, double max, double min); Response<Set<byte[]>> zrevrangeByScore(byte[] key, byte[] max, byte[] min); Response<Set<byte[]>> zrevrangeByScore(byte[] key, double max, double min, int offset, int count); Response<Set<byte[]>> zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count); Response<Set<Tuple>> zrevrangeByScoreWithScores(byte[] key, double max, double min); Response<Set<Tuple>> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min); Response<Set<Tuple>> zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count); Response<Set<Tuple>> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count); Response<Set<Tuple>> zrangeWithScores(byte[] key, long start, long end); Response<Long> zrank(byte[] key, byte[] member); Response<Long> zrem(byte[] key, byte[]... member); Response<Long> zremrangeByRank(byte[] key, long start, long end); Response<Long> zremrangeByScore(byte[] key, double start, double end); Response<Long> zremrangeByScore(byte[] key, byte[] start, byte[] end); Response<Set<byte[]>> zrevrange(byte[] key, long start, long end); Response<Set<Tuple>> zrevrangeWithScores(byte[] key, long start, long end); Response<Long> zrevrank(byte[] key, byte[] member); Response<Double> zscore(byte[] key, byte[] member); Response<Long> zlexcount(final byte[] key, final byte[] min, final byte[] max); Response<Set<byte[]>> zrangeByLex(final byte[] key, final byte[] min, final byte[] max); Response<Set<byte[]>> zrangeByLex(final byte[] key, final byte[] min, final byte[] max, int offset, int count); Response<Set<byte[]>> zrevrangeByLex(final byte[] key, final byte[] max, final byte[] min); Response<Set<byte[]>> zrevrangeByLex(final byte[] key, final byte[] max, final byte[] min, int offset, int count); Response<Long> zremrangeByLex(final byte[] key, final byte[] min, final byte[] max); Response<Long> bitcount(byte[] key); Response<Long> bitcount(byte[] key, long start, long end); Response<Long> pfadd(final byte[] key, final byte[]... elements); Response<Long> pfcount(final byte[] key); // Geo Commands Response<Long> geoadd(byte[] key, double longitude, double latitude, byte[] member); Response<Long> geoadd(byte[] key, Map<byte[], GeoCoordinate> memberCoordinateMap); Response<Double> geodist(byte[] key, byte[] member1, byte[] member2); Response<Double> geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit); Response<List<byte[]>> geohash(byte[] key, byte[]... members); Response<List<GeoCoordinate>> geopos(byte[] key, byte[]... members); Response<List<GeoRadiusResponse>> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit); Response<List<GeoRadiusResponse>> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param); Response<List<GeoRadiusResponse>> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit); Response<List<GeoRadiusResponse>> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param); }