public class JedisCluster extends BinaryJedisCluster implements JedisCommands, MultiKeyJedisClusterCommands, JedisClusterScriptingCommands
Modifier and Type | Class and Description |
---|---|
static class |
JedisCluster.Reset |
connectionHandler, DEFAULT_MAX_REDIRECTIONS, DEFAULT_TIMEOUT, HASHSLOTS, maxAttempts
Constructor and Description |
---|
JedisCluster(HostAndPort node) |
JedisCluster(HostAndPort node,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
JedisCluster(HostAndPort node,
int timeout) |
JedisCluster(HostAndPort node,
int timeout,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
JedisCluster(HostAndPort node,
int timeout,
int maxAttempts) |
JedisCluster(HostAndPort node,
int timeout,
int maxAttempts,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
JedisCluster(HostAndPort node,
int connectionTimeout,
int soTimeout,
int maxAttempts,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
JedisCluster(HostAndPort node,
int connectionTimeout,
int soTimeout,
int maxAttempts,
String password,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
JedisCluster(Set<HostAndPort> nodes) |
JedisCluster(Set<HostAndPort> nodes,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
JedisCluster(Set<HostAndPort> nodes,
int timeout) |
JedisCluster(Set<HostAndPort> nodes,
int timeout,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
JedisCluster(Set<HostAndPort> nodes,
int timeout,
int maxAttempts) |
JedisCluster(Set<HostAndPort> jedisClusterNode,
int timeout,
int maxAttempts,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
JedisCluster(Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int maxAttempts,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
JedisCluster(Set<HostAndPort> jedisClusterNode,
int connectionTimeout,
int soTimeout,
int maxAttempts,
String password,
org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig) |
Modifier and Type | Method and Description |
---|---|
Long |
append(String key,
String value) |
Long |
bitcount(String key) |
Long |
bitcount(String key,
long start,
long end) |
List<Long> |
bitfield(String key,
String... arguments)
Executes BITFIELD Redis command
|
Long |
bitop(BitOP op,
String destKey,
String... srcKeys) |
Long |
bitpos(String key,
boolean value) |
Long |
bitpos(String key,
boolean value,
BitPosParams params) |
List<String> |
blpop(int timeout,
String... keys) |
List<String> |
blpop(int timeout,
String key) |
List<String> |
blpop(String arg)
Deprecated.
unusable command, this will be removed at next major release.
|
List<String> |
brpop(int timeout,
String... keys) |
List<String> |
brpop(int timeout,
String key) |
List<String> |
brpop(String arg)
Deprecated.
unusable command, this will be removed at next major release.
|
String |
brpoplpush(String source,
String destination,
int timeout) |
Long |
decr(String key) |
Long |
decrBy(String key,
long integer) |
Long |
del(String... keys) |
Long |
del(String key) |
String |
echo(String string) |
Object |
eval(String script,
int keyCount,
String... params) |
Object |
eval(String script,
List<String> keys,
List<String> args) |
Object |
eval(String script,
String key) |
Object |
evalsha(String sha1,
int keyCount,
String... params) |
Object |
evalsha(String sha1,
List<String> keys,
List<String> args) |
Object |
evalsha(String script,
String key) |
Long |
exists(String... keys) |
Boolean |
exists(String key) |
Long |
expire(String key,
int seconds) |
Long |
expireAt(String key,
long unixTime) |
Long |
geoadd(String key,
double longitude,
double latitude,
String member) |
Long |
geoadd(String key,
Map<String,GeoCoordinate> memberCoordinateMap) |
Double |
geodist(String key,
String member1,
String member2) |
Double |
geodist(String key,
String member1,
String member2,
GeoUnit unit) |
List<String> |
geohash(String key,
String... members) |
List<GeoCoordinate> |
geopos(String key,
String... members) |
List<GeoRadiusResponse> |
georadius(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadius(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
List<GeoRadiusResponse> |
georadiusByMember(String key,
String member,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadiusByMember(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
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) |
Double |
hincrByFloat(String key,
String field,
double 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) |
ScanResult<Map.Entry<String,String>> |
hscan(String key,
int cursor)
Deprecated.
|
ScanResult<Map.Entry<String,String>> |
hscan(String key,
String cursor) |
ScanResult<Map.Entry<String,String>> |
hscan(String key,
String cursor,
ScanParams params) |
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) |
Double |
incrByFloat(String key,
double value) |
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) |
List<String> |
mget(String... keys) |
Long |
move(String key,
int dbIndex)
Deprecated.
Redis Cluster uses only db index 0, so it doesn't make sense. scheduled to be
removed on next major release
|
String |
mset(String... keysvalues) |
Long |
msetnx(String... keysvalues) |
Long |
persist(String key) |
Long |
pexpire(String key,
long milliseconds) |
Long |
pexpireAt(String key,
long millisecondsTimestamp) |
Long |
pfadd(String key,
String... elements) |
long |
pfcount(String... keys) |
long |
pfcount(String key) |
String |
pfmerge(String destkey,
String... sourcekeys) |
String |
psetex(String key,
long milliseconds,
String value) |
void |
psubscribe(JedisPubSub jedisPubSub,
String... patterns) |
Long |
pttl(String key) |
Long |
publish(String channel,
String message) |
String |
rename(String oldkey,
String newkey) |
Long |
renamenx(String oldkey,
String newkey) |
String |
rpop(String key) |
String |
rpoplpush(String srckey,
String dstkey) |
Long |
rpush(String key,
String... string) |
Long |
rpushx(String key,
String... string) |
Long |
sadd(String key,
String... member) |
ScanResult<String> |
scan(String cursor,
ScanParams params) |
Long |
scard(String key) |
List<Boolean> |
scriptExists(String key,
String... sha1) |
Boolean |
scriptExists(String sha1,
String key) |
String |
scriptLoad(String script,
String key) |
Set<String> |
sdiff(String... keys) |
Long |
sdiffstore(String dstkey,
String... keys) |
String |
set(String key,
String value) |
String |
set(String key,
String value,
String nxxx)
Deprecated.
SetParams is scheduled to be introduced at next major release Please use setnx
instead for now
|
String |
set(String key,
String value,
String nxxx,
String expx,
long time) |
Boolean |
setbit(String key,
long offset,
boolean value) |
Boolean |
setbit(String key,
long offset,
String value) |
String |
setex(String key,
int seconds,
String value) |
Long |
setnx(String key,
String value) |
Long |
setrange(String key,
long offset,
String value) |
Set<String> |
sinter(String... keys) |
Long |
sinterstore(String dstkey,
String... keys) |
Boolean |
sismember(String key,
String member) |
Set<String> |
smembers(String key) |
Long |
smove(String srckey,
String dstkey,
String member) |
List<String> |
sort(String key) |
List<String> |
sort(String key,
SortingParams sortingParameters) |
Long |
sort(String key,
SortingParams sortingParameters,
String dstkey) |
Long |
sort(String key,
String dstkey) |
String |
spop(String key) |
Set<String> |
spop(String key,
long count) |
String |
srandmember(String key) |
List<String> |
srandmember(String key,
int count) |
Long |
srem(String key,
String... member) |
ScanResult<String> |
sscan(String key,
int cursor)
Deprecated.
|
ScanResult<String> |
sscan(String key,
String cursor) |
ScanResult<String> |
sscan(String key,
String cursor,
ScanParams params) |
Long |
strlen(String key) |
void |
subscribe(JedisPubSub jedisPubSub,
String... channels) |
String |
substr(String key,
int start,
int end) |
Set<String> |
sunion(String... keys) |
Long |
sunionstore(String dstkey,
String... keys) |
Long |
ttl(String key) |
String |
type(String key) |
Long |
zadd(String key,
double score,
String member) |
Long |
zadd(String key,
double score,
String member,
ZAddParams params) |
Long |
zadd(String key,
Map<String,Double> scoreMembers) |
Long |
zadd(String key,
Map<String,Double> scoreMembers,
ZAddParams params) |
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) |
Double |
zincrby(String key,
double score,
String member,
ZIncrByParams params) |
Long |
zinterstore(String dstkey,
String... sets) |
Long |
zinterstore(String dstkey,
ZParams params,
String... sets) |
Long |
zlexcount(String key,
String min,
String max) |
Set<String> |
zrange(String key,
long start,
long end) |
Set<String> |
zrangeByLex(String key,
String min,
String max) |
Set<String> |
zrangeByLex(String key,
String min,
String max,
int offset,
int count) |
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 |
zremrangeByLex(String key,
String min,
String max) |
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> |
zrevrangeByLex(String key,
String max,
String min) |
Set<String> |
zrevrangeByLex(String key,
String max,
String min,
int offset,
int count) |
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) |
ScanResult<Tuple> |
zscan(String key,
int cursor)
Deprecated.
|
ScanResult<Tuple> |
zscan(String key,
String cursor) |
ScanResult<Tuple> |
zscan(String key,
String cursor,
ScanParams params) |
Double |
zscore(String key,
String member) |
Long |
zunionstore(String dstkey,
String... sets) |
Long |
zunionstore(String dstkey,
ZParams params,
String... sets) |
append, auth, bgrewriteaof, bgsave, bitcount, bitcount, bitfield, bitop, blpop, brpop, brpoplpush, close, configResetStat, dbSize, debug, decr, decrBy, del, del, echo, eval, eval, eval, eval, evalsha, evalsha, evalsha, exists, exists, expire, expireAt, flushAll, flushDB, geoadd, geoadd, geodist, geodist, geohash, geopos, georadius, georadius, georadiusByMember, georadiusByMember, get, getbit, getClusterNodes, getDB, getrange, getSet, hdel, hexists, hget, hgetAll, hincrBy, hincrByFloat, hkeys, hlen, hmget, hmset, hscan, hscan, hset, hsetnx, hvals, incr, incrBy, incrByFloat, info, info, lastsave, lindex, linsert, llen, lpop, lpush, lpushx, lrange, lrem, lset, ltrim, mget, mset, msetnx, persist, pexpire, pexpireAt, pfadd, pfcount, pfcount, pfmerge, ping, psubscribe, publish, quit, rename, renamenx, rpop, rpoplpush, rpush, rpushx, sadd, save, scan, scard, scriptExists, scriptFlush, scriptKill, scriptLoad, sdiff, sdiffstore, select, set, set, setbit, setbit, setex, setnx, setrange, shutdown, sinter, sinterstore, sismember, slaveof, slaveofNoOne, smembers, smove, sort, sort, sort, sort, spop, spop, srandmember, srandmember, srem, sscan, sscan, strlen, subscribe, substr, sunion, sunionstore, ttl, type, waitReplicas, zadd, zadd, zadd, zadd, zcard, zcount, zcount, zincrby, zincrby, zinterstore, zinterstore, zlexcount, zrange, zrangeByLex, zrangeByLex, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeWithScores, zrank, zrem, zremrangeByLex, zremrangeByRank, zremrangeByScore, zremrangeByScore, zrevrange, zrevrangeByLex, zrevrangeByLex, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeWithScores, zrevrank, zscan, zscan, zscore, zunionstore, zunionstore
public JedisCluster(HostAndPort node)
public JedisCluster(HostAndPort node, int timeout)
public JedisCluster(HostAndPort node, int timeout, int maxAttempts)
public JedisCluster(HostAndPort node, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public JedisCluster(HostAndPort node, int timeout, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public JedisCluster(HostAndPort node, int timeout, int maxAttempts, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public JedisCluster(HostAndPort node, int connectionTimeout, int soTimeout, int maxAttempts, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public JedisCluster(HostAndPort node, int connectionTimeout, int soTimeout, int maxAttempts, String password, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public JedisCluster(Set<HostAndPort> nodes)
public JedisCluster(Set<HostAndPort> nodes, int timeout)
public JedisCluster(Set<HostAndPort> nodes, int timeout, int maxAttempts)
public JedisCluster(Set<HostAndPort> nodes, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public JedisCluster(Set<HostAndPort> nodes, int timeout, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public JedisCluster(Set<HostAndPort> jedisClusterNode, int timeout, int maxAttempts, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public JedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public JedisCluster(Set<HostAndPort> jedisClusterNode, int connectionTimeout, int soTimeout, int maxAttempts, String password, org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
public String set(String key, String value)
set
in interface JedisCommands
public String set(String key, String value, String nxxx, String expx, long time)
set
in interface JedisCommands
public String get(String key)
get
in interface JedisCommands
public Boolean exists(String key)
exists
in interface JedisCommands
public Long exists(String... keys)
exists
in interface MultiKeyJedisClusterCommands
public Long persist(String key)
persist
in interface JedisCommands
public String type(String key)
type
in interface JedisCommands
public Long expire(String key, int seconds)
expire
in interface JedisCommands
public Long pexpire(String key, long milliseconds)
pexpire
in interface JedisCommands
public Long expireAt(String key, long unixTime)
expireAt
in interface JedisCommands
public Long pexpireAt(String key, long millisecondsTimestamp)
pexpireAt
in interface JedisCommands
public Long ttl(String key)
ttl
in interface JedisCommands
public Long pttl(String key)
pttl
in interface JedisCommands
public Boolean setbit(String key, long offset, boolean value)
setbit
in interface JedisCommands
public Boolean setbit(String key, long offset, String value)
setbit
in interface JedisCommands
public Boolean getbit(String key, long offset)
getbit
in interface JedisCommands
public Long setrange(String key, long offset, String value)
setrange
in interface JedisCommands
public String getrange(String key, long startOffset, long endOffset)
getrange
in interface JedisCommands
public String getSet(String key, String value)
getSet
in interface JedisCommands
public Long setnx(String key, String value)
setnx
in interface JedisCommands
public String setex(String key, int seconds, String value)
setex
in interface JedisCommands
public String psetex(String key, long milliseconds, String value)
psetex
in interface JedisCommands
public Long decrBy(String key, long integer)
decrBy
in interface JedisCommands
public Long decr(String key)
decr
in interface JedisCommands
public Long incrBy(String key, long integer)
incrBy
in interface JedisCommands
public Double incrByFloat(String key, double value)
incrByFloat
in interface JedisCommands
public Long incr(String key)
incr
in interface JedisCommands
public Long append(String key, String value)
append
in interface JedisCommands
public String substr(String key, int start, int end)
substr
in interface JedisCommands
public Long hset(String key, String field, String value)
hset
in interface JedisCommands
public String hget(String key, String field)
hget
in interface JedisCommands
public Long hsetnx(String key, String field, String value)
hsetnx
in interface JedisCommands
public String hmset(String key, Map<String,String> hash)
hmset
in interface JedisCommands
public List<String> hmget(String key, String... fields)
hmget
in interface JedisCommands
public Long hincrBy(String key, String field, long value)
hincrBy
in interface JedisCommands
public Double hincrByFloat(String key, String field, double value)
hincrByFloat
in interface JedisCommands
public Boolean hexists(String key, String field)
hexists
in interface JedisCommands
public Long hdel(String key, String... field)
hdel
in interface JedisCommands
public Long hlen(String key)
hlen
in interface JedisCommands
public Set<String> hkeys(String key)
hkeys
in interface JedisCommands
public List<String> hvals(String key)
hvals
in interface JedisCommands
public Map<String,String> hgetAll(String key)
hgetAll
in interface JedisCommands
public Long rpush(String key, String... string)
rpush
in interface JedisCommands
public Long lpush(String key, String... string)
lpush
in interface JedisCommands
public Long llen(String key)
llen
in interface JedisCommands
public List<String> lrange(String key, long start, long end)
lrange
in interface JedisCommands
public String ltrim(String key, long start, long end)
ltrim
in interface JedisCommands
public String lindex(String key, long index)
lindex
in interface JedisCommands
public String lset(String key, long index, String value)
lset
in interface JedisCommands
public Long lrem(String key, long count, String value)
lrem
in interface JedisCommands
public String lpop(String key)
lpop
in interface JedisCommands
public String rpop(String key)
rpop
in interface JedisCommands
public Long sadd(String key, String... member)
sadd
in interface JedisCommands
public Set<String> smembers(String key)
smembers
in interface JedisCommands
public Long srem(String key, String... member)
srem
in interface JedisCommands
public String spop(String key)
spop
in interface JedisCommands
public Set<String> spop(String key, long count)
spop
in interface JedisCommands
public Long scard(String key)
scard
in interface JedisCommands
public Boolean sismember(String key, String member)
sismember
in interface JedisCommands
public String srandmember(String key)
srandmember
in interface JedisCommands
public List<String> srandmember(String key, int count)
srandmember
in interface JedisCommands
public Long strlen(String key)
strlen
in interface JedisCommands
public Long zadd(String key, double score, String member)
zadd
in interface JedisCommands
public Long zadd(String key, double score, String member, ZAddParams params)
zadd
in interface JedisCommands
public Long zadd(String key, Map<String,Double> scoreMembers)
zadd
in interface JedisCommands
public Long zadd(String key, Map<String,Double> scoreMembers, ZAddParams params)
zadd
in interface JedisCommands
public Set<String> zrange(String key, long start, long end)
zrange
in interface JedisCommands
public Long zrem(String key, String... member)
zrem
in interface JedisCommands
public Double zincrby(String key, double score, String member)
zincrby
in interface JedisCommands
public Double zincrby(String key, double score, String member, ZIncrByParams params)
zincrby
in interface JedisCommands
public Long zrank(String key, String member)
zrank
in interface JedisCommands
public Long zrevrank(String key, String member)
zrevrank
in interface JedisCommands
public Set<String> zrevrange(String key, long start, long end)
zrevrange
in interface JedisCommands
public Set<Tuple> zrangeWithScores(String key, long start, long end)
zrangeWithScores
in interface JedisCommands
public Set<Tuple> zrevrangeWithScores(String key, long start, long end)
zrevrangeWithScores
in interface JedisCommands
public Long zcard(String key)
zcard
in interface JedisCommands
public Double zscore(String key, String member)
zscore
in interface JedisCommands
public List<String> sort(String key)
sort
in interface JedisCommands
public List<String> sort(String key, SortingParams sortingParameters)
sort
in interface JedisCommands
public Long zcount(String key, double min, double max)
zcount
in interface JedisCommands
public Long zcount(String key, String min, String max)
zcount
in interface JedisCommands
public Set<String> zrangeByScore(String key, double min, double max)
zrangeByScore
in interface JedisCommands
public Set<String> zrangeByScore(String key, String min, String max)
zrangeByScore
in interface JedisCommands
public Set<String> zrevrangeByScore(String key, double max, double min)
zrevrangeByScore
in interface JedisCommands
public Set<String> zrangeByScore(String key, double min, double max, int offset, int count)
zrangeByScore
in interface JedisCommands
public Set<String> zrevrangeByScore(String key, String max, String min)
zrevrangeByScore
in interface JedisCommands
public Set<String> zrangeByScore(String key, String min, String max, int offset, int count)
zrangeByScore
in interface JedisCommands
public Set<String> zrevrangeByScore(String key, double max, double min, int offset, int count)
zrevrangeByScore
in interface JedisCommands
public Set<Tuple> zrangeByScoreWithScores(String key, double min, double max)
zrangeByScoreWithScores
in interface JedisCommands
public Set<Tuple> zrevrangeByScoreWithScores(String key, double max, double min)
zrevrangeByScoreWithScores
in interface JedisCommands
public Set<Tuple> zrangeByScoreWithScores(String key, double min, double max, int offset, int count)
zrangeByScoreWithScores
in interface JedisCommands
public Set<String> zrevrangeByScore(String key, String max, String min, int offset, int count)
zrevrangeByScore
in interface JedisCommands
public Set<Tuple> zrangeByScoreWithScores(String key, String min, String max)
zrangeByScoreWithScores
in interface JedisCommands
public Set<Tuple> zrevrangeByScoreWithScores(String key, String max, String min)
zrevrangeByScoreWithScores
in interface JedisCommands
public Set<Tuple> zrangeByScoreWithScores(String key, String min, String max, int offset, int count)
zrangeByScoreWithScores
in interface JedisCommands
public Set<Tuple> zrevrangeByScoreWithScores(String key, double max, double min, int offset, int count)
zrevrangeByScoreWithScores
in interface JedisCommands
public Set<Tuple> zrevrangeByScoreWithScores(String key, String max, String min, int offset, int count)
zrevrangeByScoreWithScores
in interface JedisCommands
public Long zremrangeByRank(String key, long start, long end)
zremrangeByRank
in interface JedisCommands
public Long zremrangeByScore(String key, double start, double end)
zremrangeByScore
in interface JedisCommands
public Long zremrangeByScore(String key, String start, String end)
zremrangeByScore
in interface JedisCommands
public Long zlexcount(String key, String min, String max)
zlexcount
in interface JedisCommands
public Set<String> zrangeByLex(String key, String min, String max)
zrangeByLex
in interface JedisCommands
public Set<String> zrangeByLex(String key, String min, String max, int offset, int count)
zrangeByLex
in interface JedisCommands
public Set<String> zrevrangeByLex(String key, String max, String min)
zrevrangeByLex
in interface JedisCommands
public Set<String> zrevrangeByLex(String key, String max, String min, int offset, int count)
zrevrangeByLex
in interface JedisCommands
public Long zremrangeByLex(String key, String min, String max)
zremrangeByLex
in interface JedisCommands
public Long linsert(String key, BinaryClient.LIST_POSITION where, String pivot, String value)
linsert
in interface JedisCommands
public Long lpushx(String key, String... string)
lpushx
in interface JedisCommands
public Long rpushx(String key, String... string)
rpushx
in interface JedisCommands
public Long del(String key)
del
in interface JedisCommands
public String echo(String string)
echo
in interface JedisCommands
public Long bitcount(String key)
bitcount
in interface JedisCommands
public Long bitcount(String key, long start, long end)
bitcount
in interface JedisCommands
public ScanResult<String> scan(String cursor, ScanParams params)
scan
in interface MultiKeyJedisClusterCommands
public Long bitpos(String key, boolean value)
bitpos
in interface JedisCommands
public Long bitpos(String key, boolean value, BitPosParams params)
bitpos
in interface JedisCommands
public ScanResult<Map.Entry<String,String>> hscan(String key, String cursor)
hscan
in interface JedisCommands
public ScanResult<Map.Entry<String,String>> hscan(String key, String cursor, ScanParams params)
hscan
in interface JedisCommands
public ScanResult<String> sscan(String key, String cursor)
sscan
in interface JedisCommands
public ScanResult<String> sscan(String key, String cursor, ScanParams params)
sscan
in interface JedisCommands
public ScanResult<Tuple> zscan(String key, String cursor)
zscan
in interface JedisCommands
public ScanResult<Tuple> zscan(String key, String cursor, ScanParams params)
zscan
in interface JedisCommands
public Long pfadd(String key, String... elements)
pfadd
in interface JedisCommands
public long pfcount(String key)
pfcount
in interface JedisCommands
public List<String> blpop(int timeout, String key)
blpop
in interface JedisCommands
public List<String> brpop(int timeout, String key)
brpop
in interface JedisCommands
public Long del(String... keys)
del
in interface MultiKeyJedisClusterCommands
public List<String> blpop(int timeout, String... keys)
blpop
in interface MultiKeyJedisClusterCommands
public List<String> brpop(int timeout, String... keys)
brpop
in interface MultiKeyJedisClusterCommands
public List<String> mget(String... keys)
mget
in interface MultiKeyJedisClusterCommands
public String mset(String... keysvalues)
mset
in interface MultiKeyJedisClusterCommands
public Long msetnx(String... keysvalues)
msetnx
in interface MultiKeyJedisClusterCommands
public String rename(String oldkey, String newkey)
rename
in interface MultiKeyJedisClusterCommands
public Long renamenx(String oldkey, String newkey)
renamenx
in interface MultiKeyJedisClusterCommands
public String rpoplpush(String srckey, String dstkey)
rpoplpush
in interface MultiKeyJedisClusterCommands
public Set<String> sdiff(String... keys)
sdiff
in interface MultiKeyJedisClusterCommands
public Long sdiffstore(String dstkey, String... keys)
sdiffstore
in interface MultiKeyJedisClusterCommands
public Set<String> sinter(String... keys)
sinter
in interface MultiKeyJedisClusterCommands
public Long sinterstore(String dstkey, String... keys)
sinterstore
in interface MultiKeyJedisClusterCommands
public Long smove(String srckey, String dstkey, String member)
smove
in interface MultiKeyJedisClusterCommands
public Long sort(String key, SortingParams sortingParameters, String dstkey)
sort
in interface MultiKeyJedisClusterCommands
public Long sort(String key, String dstkey)
sort
in interface MultiKeyJedisClusterCommands
public Set<String> sunion(String... keys)
sunion
in interface MultiKeyJedisClusterCommands
public Long sunionstore(String dstkey, String... keys)
sunionstore
in interface MultiKeyJedisClusterCommands
public Long zinterstore(String dstkey, String... sets)
zinterstore
in interface MultiKeyJedisClusterCommands
public Long zinterstore(String dstkey, ZParams params, String... sets)
zinterstore
in interface MultiKeyJedisClusterCommands
public Long zunionstore(String dstkey, String... sets)
zunionstore
in interface MultiKeyJedisClusterCommands
public Long zunionstore(String dstkey, ZParams params, String... sets)
zunionstore
in interface MultiKeyJedisClusterCommands
public String brpoplpush(String source, String destination, int timeout)
brpoplpush
in interface MultiKeyJedisClusterCommands
public Long publish(String channel, String message)
publish
in interface MultiKeyJedisClusterCommands
public void subscribe(JedisPubSub jedisPubSub, String... channels)
subscribe
in interface MultiKeyJedisClusterCommands
public void psubscribe(JedisPubSub jedisPubSub, String... patterns)
psubscribe
in interface MultiKeyJedisClusterCommands
public Long bitop(BitOP op, String destKey, String... srcKeys)
bitop
in interface MultiKeyJedisClusterCommands
public String pfmerge(String destkey, String... sourcekeys)
pfmerge
in interface MultiKeyJedisClusterCommands
public long pfcount(String... keys)
pfcount
in interface MultiKeyJedisClusterCommands
public Object eval(String script, int keyCount, String... params)
eval
in interface JedisClusterScriptingCommands
public Object eval(String script, String key)
eval
in interface JedisClusterScriptingCommands
public Object eval(String script, List<String> keys, List<String> args)
eval
in interface JedisClusterScriptingCommands
public Object evalsha(String sha1, int keyCount, String... params)
evalsha
in interface JedisClusterScriptingCommands
public Object evalsha(String sha1, List<String> keys, List<String> args)
evalsha
in interface JedisClusterScriptingCommands
public Object evalsha(String script, String key)
evalsha
in interface JedisClusterScriptingCommands
public Boolean scriptExists(String sha1, String key)
scriptExists
in interface JedisClusterScriptingCommands
public List<Boolean> scriptExists(String key, String... sha1)
scriptExists
in interface JedisClusterScriptingCommands
public String scriptLoad(String script, String key)
scriptLoad
in interface JedisClusterScriptingCommands
@Deprecated public String set(String key, String value, String nxxx)
set
in interface JedisCommands
@Deprecated public List<String> blpop(String arg)
blpop
in interface JedisCommands
@Deprecated public List<String> brpop(String arg)
brpop
in interface JedisCommands
@Deprecated public Long move(String key, int dbIndex)
move
in interface JedisCommands
@Deprecated public ScanResult<Map.Entry<String,String>> hscan(String key, int cursor)
hscan
in interface JedisCommands
@Deprecated public ScanResult<String> sscan(String key, int cursor)
sscan
in interface JedisCommands
@Deprecated public ScanResult<Tuple> zscan(String key, int cursor)
zscan
in interface JedisCommands
public Long geoadd(String key, double longitude, double latitude, String member)
geoadd
in interface JedisCommands
public Long geoadd(String key, Map<String,GeoCoordinate> memberCoordinateMap)
geoadd
in interface JedisCommands
public Double geodist(String key, String member1, String member2)
geodist
in interface JedisCommands
public Double geodist(String key, String member1, String member2, GeoUnit unit)
geodist
in interface JedisCommands
public List<String> geohash(String key, String... members)
geohash
in interface JedisCommands
public List<GeoCoordinate> geopos(String key, String... members)
geopos
in interface JedisCommands
public List<GeoRadiusResponse> georadius(String key, double longitude, double latitude, double radius, GeoUnit unit)
georadius
in interface JedisCommands
public List<GeoRadiusResponse> georadius(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
georadius
in interface JedisCommands
public List<GeoRadiusResponse> georadiusByMember(String key, String member, double radius, GeoUnit unit)
georadiusByMember
in interface JedisCommands
public List<GeoRadiusResponse> georadiusByMember(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusByMember
in interface JedisCommands
public List<Long> bitfield(String key, String... arguments)
JedisCommands
bitfield
in interface JedisCommands
Copyright © 2016. All rights reserved.