redis.clients.jedis
Interface JedisCommands
- All Known Implementing Classes:
- Jedis, ShardedJedis
public interface JedisCommands
Common interface for sharded and non-sharded Jedis
Method Summary |
Long |
append(String key,
String value)
|
Long |
decr(String key)
|
Long |
decrBy(String key,
long integer)
|
Boolean |
exists(String key)
|
Long |
expire(String key,
int seconds)
|
Long |
expireAt(String key,
long unixTime)
|
String |
get(String key)
|
Boolean |
getbit(String key,
long offset)
|
String |
getrange(String key,
long startOffset,
long endOffset)
|
String |
getSet(String key,
String value)
|
Long |
hdel(String key,
String... field)
|
Boolean |
hexists(String key,
String field)
|
String |
hget(String key,
String field)
|
Map<String,String> |
hgetAll(String key)
|
Long |
hincrBy(String key,
String field,
long value)
|
Set<String> |
hkeys(String key)
|
Long |
hlen(String key)
|
List<String> |
hmget(String key,
String... fields)
|
String |
hmset(String key,
Map<String,String> hash)
|
Long |
hset(String key,
String field,
String value)
|
Long |
hsetnx(String key,
String field,
String value)
|
List<String> |
hvals(String key)
|
Long |
incr(String key)
|
Long |
incrBy(String key,
long integer)
|
String |
lindex(String key,
long index)
|
Long |
linsert(String key,
BinaryClient.LIST_POSITION where,
String pivot,
String value)
|
Long |
llen(String key)
|
String |
lpop(String key)
|
Long |
lpush(String key,
String... string)
|
Long |
lpushx(String key,
String string)
|
List<String> |
lrange(String key,
long start,
long end)
|
Long |
lrem(String key,
long count,
String value)
|
String |
lset(String key,
long index,
String value)
|
String |
ltrim(String key,
long start,
long end)
|
String |
rpop(String key)
|
Long |
rpush(String key,
String... string)
|
Long |
rpushx(String key,
String string)
|
Long |
sadd(String key,
String... member)
|
Long |
scard(String key)
|
String |
set(String key,
String value)
|
Boolean |
setbit(String key,
long offset,
boolean value)
|
String |
setex(String key,
int seconds,
String value)
|
Long |
setnx(String key,
String value)
|
Long |
setrange(String key,
long offset,
String value)
|
Boolean |
sismember(String key,
String member)
|
Set<String> |
smembers(String key)
|
List<String> |
sort(String key)
|
List<String> |
sort(String key,
SortingParams sortingParameters)
|
String |
spop(String key)
|
String |
srandmember(String key)
|
Long |
srem(String key,
String... member)
|
String |
substr(String key,
int start,
int end)
|
Long |
ttl(String key)
|
String |
type(String key)
|
Long |
zadd(String key,
double score,
String member)
|
Long |
zadd(String key,
Map<Double,String> scoreMembers)
|
Long |
zcard(String key)
|
Long |
zcount(String key,
double min,
double max)
|
Long |
zcount(String key,
String min,
String max)
|
Double |
zincrby(String key,
double score,
String member)
|
Set<String> |
zrange(String key,
long start,
long end)
|
Set<String> |
zrangeByScore(String key,
double min,
double max)
|
Set<String> |
zrangeByScore(String key,
double min,
double max,
int offset,
int count)
|
Set<String> |
zrangeByScore(String key,
String min,
String max)
|
Set<String> |
zrangeByScore(String key,
String min,
String max,
int offset,
int count)
|
Set<Tuple> |
zrangeByScoreWithScores(String key,
double min,
double max)
|
Set<Tuple> |
zrangeByScoreWithScores(String key,
double min,
double max,
int offset,
int count)
|
Set<Tuple> |
zrangeByScoreWithScores(String key,
String min,
String max)
|
Set<Tuple> |
zrangeByScoreWithScores(String key,
String min,
String max,
int offset,
int count)
|
Set<Tuple> |
zrangeWithScores(String key,
long start,
long end)
|
Long |
zrank(String key,
String member)
|
Long |
zrem(String key,
String... member)
|
Long |
zremrangeByRank(String key,
long start,
long end)
|
Long |
zremrangeByScore(String key,
double start,
double end)
|
Long |
zremrangeByScore(String key,
String start,
String end)
|
Set<String> |
zrevrange(String key,
long start,
long end)
|
Set<String> |
zrevrangeByScore(String key,
double max,
double min)
|
Set<String> |
zrevrangeByScore(String key,
double max,
double min,
int offset,
int count)
|
Set<String> |
zrevrangeByScore(String key,
String max,
String min)
|
Set<String> |
zrevrangeByScore(String key,
String max,
String min,
int offset,
int count)
|
Set<Tuple> |
zrevrangeByScoreWithScores(String key,
double max,
double min)
|
Set<Tuple> |
zrevrangeByScoreWithScores(String key,
double max,
double min,
int offset,
int count)
|
Set<Tuple> |
zrevrangeByScoreWithScores(String key,
String max,
String min)
|
Set<Tuple> |
zrevrangeByScoreWithScores(String key,
String max,
String min,
int offset,
int count)
|
Set<Tuple> |
zrevrangeWithScores(String key,
long start,
long end)
|
Long |
zrevrank(String key,
String member)
|
Double |
zscore(String key,
String member)
|
set
String set(String key,
String value)
get
String get(String key)
exists
Boolean exists(String key)
type
String type(String key)
expire
Long expire(String key,
int seconds)
expireAt
Long expireAt(String key,
long unixTime)
ttl
Long ttl(String key)
setbit
Boolean setbit(String key,
long offset,
boolean value)
getbit
Boolean getbit(String key,
long offset)
setrange
Long setrange(String key,
long offset,
String value)
getrange
String getrange(String key,
long startOffset,
long endOffset)
getSet
String getSet(String key,
String value)
setnx
Long setnx(String key,
String value)
setex
String setex(String key,
int seconds,
String value)
decrBy
Long decrBy(String key,
long integer)
decr
Long decr(String key)
incrBy
Long incrBy(String key,
long integer)
incr
Long incr(String key)
append
Long append(String key,
String value)
substr
String substr(String key,
int start,
int end)
hset
Long hset(String key,
String field,
String value)
hget
String hget(String key,
String field)
hsetnx
Long hsetnx(String key,
String field,
String value)
hmset
String hmset(String key,
Map<String,String> hash)
hmget
List<String> hmget(String key,
String... fields)
hincrBy
Long hincrBy(String key,
String field,
long value)
hexists
Boolean hexists(String key,
String field)
hdel
Long hdel(String key,
String... field)
hlen
Long hlen(String key)
hkeys
Set<String> hkeys(String key)
hvals
List<String> hvals(String key)
hgetAll
Map<String,String> hgetAll(String key)
rpush
Long rpush(String key,
String... string)
lpush
Long lpush(String key,
String... string)
llen
Long llen(String key)
lrange
List<String> lrange(String key,
long start,
long end)
ltrim
String ltrim(String key,
long start,
long end)
lindex
String lindex(String key,
long index)
lset
String lset(String key,
long index,
String value)
lrem
Long lrem(String key,
long count,
String value)
lpop
String lpop(String key)
rpop
String rpop(String key)
sadd
Long sadd(String key,
String... member)
smembers
Set<String> smembers(String key)
srem
Long srem(String key,
String... member)
spop
String spop(String key)
scard
Long scard(String key)
sismember
Boolean sismember(String key,
String member)
srandmember
String srandmember(String key)
zadd
Long zadd(String key,
double score,
String member)
zadd
Long zadd(String key,
Map<Double,String> scoreMembers)
zrange
Set<String> zrange(String key,
long start,
long end)
zrem
Long zrem(String key,
String... member)
zincrby
Double zincrby(String key,
double score,
String member)
zrank
Long zrank(String key,
String member)
zrevrank
Long zrevrank(String key,
String member)
zrevrange
Set<String> zrevrange(String key,
long start,
long end)
zrangeWithScores
Set<Tuple> zrangeWithScores(String key,
long start,
long end)
zrevrangeWithScores
Set<Tuple> zrevrangeWithScores(String key,
long start,
long end)
zcard
Long zcard(String key)
zscore
Double zscore(String key,
String member)
sort
List<String> sort(String key)
sort
List<String> sort(String key,
SortingParams sortingParameters)
zcount
Long zcount(String key,
double min,
double max)
zcount
Long zcount(String key,
String min,
String max)
zrangeByScore
Set<String> zrangeByScore(String key,
double min,
double max)
zrangeByScore
Set<String> zrangeByScore(String key,
String min,
String max)
zrevrangeByScore
Set<String> zrevrangeByScore(String key,
double max,
double min)
zrangeByScore
Set<String> zrangeByScore(String key,
double min,
double max,
int offset,
int count)
zrevrangeByScore
Set<String> zrevrangeByScore(String key,
String max,
String min)
zrangeByScore
Set<String> zrangeByScore(String key,
String min,
String max,
int offset,
int count)
zrevrangeByScore
Set<String> zrevrangeByScore(String key,
double max,
double min,
int offset,
int count)
zrangeByScoreWithScores
Set<Tuple> zrangeByScoreWithScores(String key,
double min,
double max)
zrevrangeByScoreWithScores
Set<Tuple> zrevrangeByScoreWithScores(String key,
double max,
double min)
zrangeByScoreWithScores
Set<Tuple> zrangeByScoreWithScores(String key,
double min,
double max,
int offset,
int count)
zrevrangeByScore
Set<String> zrevrangeByScore(String key,
String max,
String min,
int offset,
int count)
zrangeByScoreWithScores
Set<Tuple> zrangeByScoreWithScores(String key,
String min,
String max)
zrevrangeByScoreWithScores
Set<Tuple> zrevrangeByScoreWithScores(String key,
String max,
String min)
zrangeByScoreWithScores
Set<Tuple> zrangeByScoreWithScores(String key,
String min,
String max,
int offset,
int count)
zrevrangeByScoreWithScores
Set<Tuple> zrevrangeByScoreWithScores(String key,
double max,
double min,
int offset,
int count)
zrevrangeByScoreWithScores
Set<Tuple> zrevrangeByScoreWithScores(String key,
String max,
String min,
int offset,
int count)
zremrangeByRank
Long zremrangeByRank(String key,
long start,
long end)
zremrangeByScore
Long zremrangeByScore(String key,
double start,
double end)
zremrangeByScore
Long zremrangeByScore(String key,
String start,
String end)
linsert
Long linsert(String key,
BinaryClient.LIST_POSITION where,
String pivot,
String value)
lpushx
Long lpushx(String key,
String string)
rpushx
Long rpushx(String key,
String string)
Copyright © 2012. All Rights Reserved.