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

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

The newest version!
package redis.clients.jedis;

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

/**
 * @author guy
 */
public interface RedisPipeline {
    Response append(String key, String value);

    Response> blpop(String arg);

    Response> brpop(String arg);

    Response decr(String key);

    Response decrBy(String key, long integer);

    Response del(String key);

    Response echo(String string);

    Response exists(String key);

    Response expire(String key, int seconds);

    Response expireAt(String key, long unixTime);

    Response get(String key);

    Response getbit(String key, long offset);



    Response getrange(String key, long startOffset,
                              long endOffset);

    Response getSet(String key, String value);

    Response hdel(String key, String... field);

    Response hexists(String key, String field);

    Response hget(String key, String field);

    Response> hgetAll(String key);

    Response hincrBy(String key, String field, long value);

    Response> hkeys(String key);

    Response hlen(String key);

    Response> hmget(String key, String... fields);

    Response hmset(String key, Map hash);

    Response hset(String key, String field, String value);

    Response hsetnx(String key, String field, String value);

    Response> hvals(String key);

    Response incr(String key);

    Response incrBy(String key, long integer);

    Response lindex(String key, long index);

    Response linsert(String key, BinaryClient.LIST_POSITION where,
                           String pivot, String value);

    Response llen(String key);

    Response lpop(String key);

    Response lpush(String key, String... string);

    Response lpushx(String key, String... string);

    Response> lrange(String key, long start, long end);

    Response lrem(String key, long count, String value);

    Response lset(String key, long index, String value);

    Response ltrim(String key, long start, long end);

    Response move(String key, int dbIndex);

    Response persist(String key);

    Response rpop(String key);

    Response rpush(String key, String... string);

    Response rpushx(String key, String... string);

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

    Response scard(String key);

    Response sismember(String key, String member);

    Response set(String key, String value);

    Response setbit(String key, long offset, boolean value);

    Response setex(String key, int seconds, String value);

    Response setnx(String key, String value);

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

    Response> smembers(String key);

    Response> sort(String key);

    Response> sort(String key,
                                SortingParams sortingParameters);

    Response spop(String key);

    Response srandmember(String key);

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

    Response strlen(String key);

    Response substr(String key, int start, int end);

    Response ttl(String key);

    Response type(String key);

    Response zadd(String key, double score, String member);

    Response zcard(String key);

    Response zcount(String key, double min, double max);

    Response zincrby(String key, double score, String member);

    Response> zrange(String key, long start, long end);

    Response> zrangeByScore(String key, double min,
                                        double max);

    Response> zrangeByScore(String key, String min,
                                        String max);

    Response> zrangeByScore(String key, double min,
                                        double max, int offset, int count);

    Response> zrangeByScoreWithScores(String key, double min,
                                                 double max);

    Response> zrangeByScoreWithScores(String key, double min,
                                                 double max, int offset, int count);

    Response> zrevrangeByScore(String key, double max,
                                           double min);

    Response> zrevrangeByScore(String key, String max,
                                           String min);

    Response> zrevrangeByScore(String key, double max,
                                           double min, int offset, int count);

    Response> zrevrangeByScoreWithScores(String key,
                                                    double max, double min);

    Response> zrevrangeByScoreWithScores(String key,
                                                    double max, double min, int offset, int count);

    Response> zrangeWithScores(String key, long start, long end);

    Response zrank(String key, String member);

    Response zrem(String key, String... member);

    Response zremrangeByRank(String key, long start, long end);

    Response zremrangeByScore(String key, double start, double end);

    Response> zrevrange(String key, long start, long end);

    Response> zrevrangeWithScores(String key, long start,
                                             long end);

    Response zrevrank(String key, String member);

    Response zscore(String key, String member);

    Response bitcount(String key);

    Response bitcount(String key, long start, long end);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy