@Deprecated public class ShardedJedis extends BinaryShardedJedis implements JedisCommands, Closeable
Modifier and Type | Field and Description |
---|---|
protected ShardedJedisPool |
dataSource
Deprecated.
|
DEFAULT_KEY_TAG_PATTERN, DEFAULT_WEIGHT
Constructor and Description |
---|
ShardedJedis(List<JedisShardInfo> shards)
Deprecated.
|
ShardedJedis(List<JedisShardInfo> shards,
Hashing algo)
Deprecated.
|
ShardedJedis(List<JedisShardInfo> shards,
Hashing algo,
Pattern keyTagPattern)
Deprecated.
|
ShardedJedis(List<JedisShardInfo> shards,
Pattern keyTagPattern)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Long |
append(String key,
String value)
Deprecated.
|
Long |
bitcount(String key)
Deprecated.
|
Long |
bitcount(String key,
long start,
long end)
Deprecated.
|
List<Long> |
bitfield(String key,
String... arguments)
Deprecated.
Executes BITFIELD Redis command
|
List<Long> |
bitfieldReadonly(String key,
String... arguments)
Deprecated.
|
Long |
bitpos(String key,
boolean value)
Deprecated.
|
Long |
bitpos(String key,
boolean value,
BitPosParams params)
Deprecated.
|
KeyedListElement |
blpop(double timeout,
String key)
Deprecated.
|
List<String> |
blpop(int timeout,
String key)
Deprecated.
|
KeyedListElement |
brpop(double timeout,
String key)
Deprecated.
|
List<String> |
brpop(int timeout,
String key)
Deprecated.
|
void |
close()
Deprecated.
|
Long |
decr(String key)
Deprecated.
|
Long |
decrBy(String key,
long decrement)
Deprecated.
|
Long |
del(String key)
Deprecated.
|
byte[] |
dump(String key)
Deprecated.
|
String |
echo(String string)
Deprecated.
|
Boolean |
exists(String key)
Deprecated.
|
Long |
expire(String key,
long seconds)
Deprecated.
|
Long |
expireAt(String key,
long unixTime)
Deprecated.
|
Long |
geoadd(String key,
double longitude,
double latitude,
String member)
Deprecated.
|
Long |
geoadd(String key,
GeoAddParams params,
Map<String,GeoCoordinate> memberCoordinateMap)
Deprecated.
|
Long |
geoadd(String key,
Map<String,GeoCoordinate> memberCoordinateMap)
Deprecated.
|
Double |
geodist(String key,
String member1,
String member2)
Deprecated.
|
Double |
geodist(String key,
String member1,
String member2,
GeoUnit unit)
Deprecated.
|
List<String> |
geohash(String key,
String... members)
Deprecated.
|
List<GeoCoordinate> |
geopos(String key,
String... members)
Deprecated.
|
List<GeoRadiusResponse> |
georadius(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit)
Deprecated.
|
List<GeoRadiusResponse> |
georadius(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param)
Deprecated.
|
List<GeoRadiusResponse> |
georadiusByMember(String key,
String member,
double radius,
GeoUnit unit)
Deprecated.
|
List<GeoRadiusResponse> |
georadiusByMember(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusParam param)
Deprecated.
|
List<GeoRadiusResponse> |
georadiusByMemberReadonly(String key,
String member,
double radius,
GeoUnit unit)
Deprecated.
|
List<GeoRadiusResponse> |
georadiusByMemberReadonly(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusParam param)
Deprecated.
|
List<GeoRadiusResponse> |
georadiusReadonly(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit)
Deprecated.
|
List<GeoRadiusResponse> |
georadiusReadonly(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param)
Deprecated.
|
String |
get(String key)
Deprecated.
|
Boolean |
getbit(String key,
long offset)
Deprecated.
|
String |
getDel(String key)
Deprecated.
|
String |
getEx(String key,
GetExParams params)
Deprecated.
|
String |
getrange(String key,
long startOffset,
long endOffset)
Deprecated.
|
String |
getSet(String key,
String value)
Deprecated.
|
Long |
hdel(String key,
String... fields)
Deprecated.
|
Boolean |
hexists(String key,
String field)
Deprecated.
|
String |
hget(String key,
String field)
Deprecated.
|
Map<String,String> |
hgetAll(String key)
Deprecated.
|
Long |
hincrBy(String key,
String field,
long value)
Deprecated.
|
Double |
hincrByFloat(String key,
String field,
double value)
Deprecated.
|
Set<String> |
hkeys(String key)
Deprecated.
|
Long |
hlen(String key)
Deprecated.
|
List<String> |
hmget(String key,
String... fields)
Deprecated.
|
String |
hmset(String key,
Map<String,String> hash)
Deprecated.
|
String |
hrandfield(String key)
Deprecated.
|
List<String> |
hrandfield(String key,
long count)
Deprecated.
|
Map<String,String> |
hrandfieldWithValues(String key,
long count)
Deprecated.
|
ScanResult<Map.Entry<String,String>> |
hscan(String key,
String cursor)
Deprecated.
|
ScanResult<Map.Entry<String,String>> |
hscan(String key,
String cursor,
ScanParams params)
Deprecated.
|
Long |
hset(String key,
Map<String,String> hash)
Deprecated.
|
Long |
hset(String key,
String field,
String value)
Deprecated.
|
Long |
hsetnx(String key,
String field,
String value)
Deprecated.
|
Long |
hstrlen(String key,
String field)
Deprecated.
Used for HSTRLEN Redis command
|
List<String> |
hvals(String key)
Deprecated.
|
Long |
incr(String key)
Deprecated.
|
Long |
incrBy(String key,
long increment)
Deprecated.
|
Double |
incrByFloat(String key,
double increment)
Deprecated.
|
String |
lindex(String key,
long index)
Deprecated.
|
Long |
linsert(String key,
ListPosition where,
String pivot,
String value)
Deprecated.
|
Long |
llen(String key)
Deprecated.
|
String |
lpop(String key)
Deprecated.
|
List<String> |
lpop(String key,
int count)
Deprecated.
|
Long |
lpos(String key,
String element)
Deprecated.
|
Long |
lpos(String key,
String element,
LPosParams params)
Deprecated.
|
List<Long> |
lpos(String key,
String element,
LPosParams params,
long count)
Deprecated.
|
Long |
lpush(String key,
String... strings)
Deprecated.
|
Long |
lpushx(String key,
String... string)
Deprecated.
|
List<String> |
lrange(String key,
long start,
long stop)
Deprecated.
|
Long |
lrem(String key,
long count,
String value)
Deprecated.
|
String |
lset(String key,
long index,
String value)
Deprecated.
|
String |
ltrim(String key,
long start,
long stop)
Deprecated.
|
Long |
move(String key,
int dbIndex)
Deprecated.
|
Long |
persist(String key)
Deprecated.
|
Long |
pexpire(String key,
long milliseconds)
Deprecated.
|
Long |
pexpireAt(String key,
long millisecondsTimestamp)
Deprecated.
|
Long |
pfadd(String key,
String... elements)
Deprecated.
|
long |
pfcount(String key)
Deprecated.
|
String |
psetex(String key,
long milliseconds,
String value)
Deprecated.
|
Long |
pttl(String key)
Deprecated.
|
void |
resetState()
Deprecated.
|
String |
restore(String key,
long ttl,
byte[] serializedValue)
Deprecated.
|
String |
restore(String key,
long ttl,
byte[] serializedValue,
RestoreParams params)
Deprecated.
|
String |
restoreReplace(String key,
long ttl,
byte[] serializedValue)
Deprecated.
|
String |
rpop(String key)
Deprecated.
|
List<String> |
rpop(String key,
int count)
Deprecated.
|
Long |
rpush(String key,
String... strings)
Deprecated.
|
Long |
rpushx(String key,
String... string)
Deprecated.
|
Long |
sadd(String key,
String... members)
Deprecated.
|
Long |
scard(String key)
Deprecated.
|
Object |
sendBlockingCommand(ProtocolCommand cmd,
String... args)
Deprecated.
|
Object |
sendCommand(ProtocolCommand cmd,
String... args)
Deprecated.
|
String |
set(String key,
String value)
Deprecated.
|
String |
set(String key,
String value,
SetParams params)
Deprecated.
|
Boolean |
setbit(String key,
long offset,
boolean value)
Deprecated.
|
Boolean |
setbit(String key,
long offset,
String value)
Deprecated.
|
void |
setDataSource(ShardedJedisPool shardedJedisPool)
Deprecated.
|
String |
setex(String key,
long seconds,
String value)
Deprecated.
|
Long |
setnx(String key,
String value)
Deprecated.
|
Long |
setrange(String key,
long offset,
String value)
Deprecated.
|
Boolean |
sismember(String key,
String member)
Deprecated.
|
Set<String> |
smembers(String key)
Deprecated.
|
List<Boolean> |
smismember(String key,
String... members)
Deprecated.
|
List<String> |
sort(String key)
Deprecated.
|
List<String> |
sort(String key,
SortingParams sortingParameters)
Deprecated.
|
String |
spop(String key)
Deprecated.
|
Set<String> |
spop(String key,
long count)
Deprecated.
|
String |
srandmember(String key)
Deprecated.
|
List<String> |
srandmember(String key,
int count)
Deprecated.
|
Long |
srem(String key,
String... members)
Deprecated.
|
ScanResult<String> |
sscan(String key,
String cursor)
Deprecated.
|
ScanResult<String> |
sscan(String key,
String cursor,
ScanParams params)
Deprecated.
|
LCSMatchResult |
strAlgoLCSStrings(String strA,
String strB,
StrAlgoLCSParams params)
Deprecated.
|
Long |
strlen(String key)
Deprecated.
|
String |
substr(String key,
int start,
int end)
Deprecated.
|
Long |
touch(String key)
Deprecated.
|
Long |
ttl(String key)
Deprecated.
|
String |
type(String key)
Deprecated.
|
Long |
unlink(String key)
Deprecated.
|
long |
xack(String key,
String group,
StreamEntryID... ids)
Deprecated.
XACK key group ID [ID ...]
|
StreamEntryID |
xadd(String key,
Map<String,String> hash,
XAddParams params)
Deprecated.
XADD key [NOMKSTREAM] [MAXLEN|MINID [=|~] threshold [LIMIT count]] *|ID field value [field value ...]
|
StreamEntryID |
xadd(String key,
StreamEntryID id,
Map<String,String> hash)
Deprecated.
XADD key ID field string [field string ...]
|
StreamEntryID |
xadd(String key,
StreamEntryID id,
Map<String,String> hash,
long maxLen,
boolean approximateLength)
Deprecated.
XADD key MAXLEN ~ LEN ID field string [field string ...]
|
Map.Entry<StreamEntryID,List<StreamEntry>> |
xautoclaim(String key,
String group,
String consumerName,
long minIdleTime,
StreamEntryID start,
XAutoClaimParams params)
Deprecated.
XAUTOCLAIM key group consumer min-idle-time start [COUNT count]
|
Map.Entry<StreamEntryID,List<StreamEntryID>> |
xautoclaimJustId(String key,
String group,
String consumerName,
long minIdleTime,
StreamEntryID start,
XAutoClaimParams params)
Deprecated.
XAUTOCLAIM key group consumer min-idle-time start [COUNT count] JUSTID
|
List<StreamEntry> |
xclaim(String key,
String group,
String consumername,
long minIdleTime,
long newIdleTime,
int retries,
boolean force,
StreamEntryID... ids)
Deprecated.
XCLAIM
|
List<StreamEntry> |
xclaim(String key,
String group,
String consumername,
long minIdleTime,
XClaimParams params,
StreamEntryID... ids)
Deprecated.
XCLAIM
|
List<StreamEntryID> |
xclaimJustId(String key,
String group,
String consumername,
long minIdleTime,
XClaimParams params,
StreamEntryID... ids)
Deprecated.
XCLAIM
|
long |
xdel(String key,
StreamEntryID... ids)
Deprecated.
XDEL key ID [ID ...]
|
String |
xgroupCreate(String key,
String consumer,
StreamEntryID id,
boolean makeStream)
Deprecated.
XGROUP CREATE
|
Long |
xgroupDelConsumer(String key,
String groupname,
String consumername)
Deprecated.
XGROUP DELCONSUMER
|
long |
xgroupDestroy(String key,
String groupname)
Deprecated.
XGROUP DESTROY
|
String |
xgroupSetID(String key,
String groupname,
StreamEntryID id)
Deprecated.
XGROUP SETID
|
List<StreamConsumersInfo> |
xinfoConsumers(String key,
String group)
Deprecated.
Introspection command used in order to retrieve different information about consumers in the group
|
List<StreamGroupInfo> |
xinfoGroup(String key)
Deprecated.
Introspection command used in order to retrieve different information about groups in the stream
|
StreamInfo |
xinfoStream(String key)
Deprecated.
Introspection command used in order to retrieve different information about the stream
|
Long |
xlen(String key)
Deprecated.
XLEN key
|
StreamPendingSummary |
xpending(String key,
String groupname)
Deprecated.
XPENDING key group
|
List<StreamPendingEntry> |
xpending(String key,
String groupname,
StreamEntryID start,
StreamEntryID end,
int count,
String consumername)
Deprecated.
XPENDING key group [start end count] [consumer]
|
List<StreamPendingEntry> |
xpending(String key,
String groupname,
XPendingParams params)
Deprecated.
XPENDING key group [[IDLE min-idle-time] start end count [consumer]]
|
List<StreamEntry> |
xrange(String key,
StreamEntryID start,
StreamEntryID end)
Deprecated.
XRANGE key start end
WARNING: Sending untyped null for both start and end would raise compilation error.
|
List<StreamEntry> |
xrange(String key,
StreamEntryID start,
StreamEntryID end,
int count)
Deprecated.
XRANGE key start end COUNT count
WARNING: Sending untyped null for both start and end would raise compilation error.
|
List<StreamEntry> |
xrevrange(String key,
StreamEntryID end,
StreamEntryID start)
Deprecated.
XREVRANGE key end start
WARNING: Sending untyped null for both start and end would raise compilation error.
|
List<StreamEntry> |
xrevrange(String key,
StreamEntryID end,
StreamEntryID start,
int count)
Deprecated.
XREVRANGE key end start COUNT count
WARNING: Sending untyped null for both start and end would raise compilation error.
|
long |
xtrim(String key,
long maxLen,
boolean approximateLength)
Deprecated.
XTRIM key MAXLEN [~] count
|
long |
xtrim(String key,
XTrimParams params)
Deprecated.
XTRIM key MAXLEN|MINID [=|~] threshold [LIMIT count]
|
Long |
zadd(String key,
double score,
String member)
Deprecated.
|
Long |
zadd(String key,
double score,
String member,
ZAddParams params)
Deprecated.
|
Long |
zadd(String key,
Map<String,Double> scoreMembers)
Deprecated.
|
Long |
zadd(String key,
Map<String,Double> scoreMembers,
ZAddParams params)
Deprecated.
|
Double |
zaddIncr(String key,
double score,
String member,
ZAddParams params)
Deprecated.
|
Long |
zcard(String key)
Deprecated.
|
Long |
zcount(String key,
double min,
double max)
Deprecated.
|
Long |
zcount(String key,
String min,
String max)
Deprecated.
|
Double |
zincrby(String key,
double increment,
String member)
Deprecated.
|
Double |
zincrby(String key,
double increment,
String member,
ZIncrByParams params)
Deprecated.
|
Long |
zlexcount(String key,
String min,
String max)
Deprecated.
|
List<Double> |
zmscore(String key,
String... members)
Deprecated.
|
Tuple |
zpopmax(String key)
Deprecated.
|
Set<Tuple> |
zpopmax(String key,
int count)
Deprecated.
|
Tuple |
zpopmin(String key)
Deprecated.
|
Set<Tuple> |
zpopmin(String key,
int count)
Deprecated.
|
String |
zrandmember(String key)
Deprecated.
|
Set<String> |
zrandmember(String key,
long count)
Deprecated.
|
Set<Tuple> |
zrandmemberWithScores(String key,
long count)
Deprecated.
|
Set<String> |
zrange(String key,
long start,
long stop)
Deprecated.
|
Set<String> |
zrangeByLex(String key,
String min,
String max)
Deprecated.
|
Set<String> |
zrangeByLex(String key,
String min,
String max,
int offset,
int count)
Deprecated.
|
Set<String> |
zrangeByScore(String key,
double min,
double max)
Deprecated.
|
Set<String> |
zrangeByScore(String key,
double min,
double max,
int offset,
int count)
Deprecated.
|
Set<String> |
zrangeByScore(String key,
String min,
String max)
Deprecated.
|
Set<String> |
zrangeByScore(String key,
String min,
String max,
int offset,
int count)
Deprecated.
|
Set<Tuple> |
zrangeByScoreWithScores(String key,
double min,
double max)
Deprecated.
|
Set<Tuple> |
zrangeByScoreWithScores(String key,
double min,
double max,
int offset,
int count)
Deprecated.
|
Set<Tuple> |
zrangeByScoreWithScores(String key,
String min,
String max)
Deprecated.
|
Set<Tuple> |
zrangeByScoreWithScores(String key,
String min,
String max,
int offset,
int count)
Deprecated.
|
Set<Tuple> |
zrangeWithScores(String key,
long start,
long stop)
Deprecated.
|
Long |
zrank(String key,
String member)
Deprecated.
|
Long |
zrem(String key,
String... members)
Deprecated.
|
Long |
zremrangeByLex(String key,
String min,
String max)
Deprecated.
|
Long |
zremrangeByRank(String key,
long start,
long stop)
Deprecated.
|
Long |
zremrangeByScore(String key,
double min,
double max)
Deprecated.
|
Long |
zremrangeByScore(String key,
String min,
String max)
Deprecated.
|
Set<String> |
zrevrange(String key,
long start,
long stop)
Deprecated.
|
Set<String> |
zrevrangeByLex(String key,
String max,
String min)
Deprecated.
|
Set<String> |
zrevrangeByLex(String key,
String max,
String min,
int offset,
int count)
Deprecated.
|
Set<String> |
zrevrangeByScore(String key,
double max,
double min)
Deprecated.
|
Set<String> |
zrevrangeByScore(String key,
double max,
double min,
int offset,
int count)
Deprecated.
|
Set<String> |
zrevrangeByScore(String key,
String max,
String min)
Deprecated.
|
Set<String> |
zrevrangeByScore(String key,
String max,
String min,
int offset,
int count)
Deprecated.
|
Set<Tuple> |
zrevrangeByScoreWithScores(String key,
double max,
double min)
Deprecated.
|
Set<Tuple> |
zrevrangeByScoreWithScores(String key,
double max,
double min,
int offset,
int count)
Deprecated.
|
Set<Tuple> |
zrevrangeByScoreWithScores(String key,
String max,
String min)
Deprecated.
|
Set<Tuple> |
zrevrangeByScoreWithScores(String key,
String max,
String min,
int offset,
int count)
Deprecated.
|
Set<Tuple> |
zrevrangeWithScores(String key,
long start,
long stop)
Deprecated.
|
Long |
zrevrank(String key,
String member)
Deprecated.
|
ScanResult<Tuple> |
zscan(String key,
String cursor)
Deprecated.
|
ScanResult<Tuple> |
zscan(String key,
String cursor,
ScanParams params)
Deprecated.
|
Double |
zscore(String key,
String member)
Deprecated.
|
append, bitcount, bitcount, bitfield, bitfieldReadonly, blpop, brpop, create, decr, decrBy, del, disconnect, dump, echo, exists, expire, expireAt, geoadd, geoadd, geoadd, geodist, geodist, geohash, geopos, georadius, georadius, georadiusByMember, georadiusByMember, georadiusByMemberReadonly, georadiusByMemberReadonly, georadiusReadonly, georadiusReadonly, get, getbit, getDel, getEx, getrange, getSet, hdel, hexists, hget, hgetAll, hincrBy, hincrByFloat, hkeys, hlen, hmget, hmset, hrandfield, hrandfield, hrandfieldWithValues, hscan, hscan, hset, hset, hsetnx, hstrlen, hvals, incr, incrBy, incrByFloat, lindex, linsert, llen, lpop, lpop, lpos, lpos, lpos, lpush, lpushx, lrange, lrem, lset, ltrim, move, objectEncoding, objectFreq, objectHelp, objectIdletime, objectRefcount, persist, pexpire, pexpireAt, pfadd, pfcount, pipelined, psetex, pttl, restore, restore, restoreReplace, rpop, rpop, rpush, rpushx, sadd, scard, sendBlockingCommand, sendCommand, sendCommand, set, set, setbit, setbit, setex, setnx, setrange, sismember, smembers, smismember, sort, sort, spop, spop, srandmember, srandmember, srem, sscan, sscan, strAlgoLCSStrings, strlen, substr, touch, ttl, type, unlink, xack, xadd, xadd, xautoclaim, xautoclaimJustId, xclaim, xclaim, xclaimJustId, xdel, xgroupCreate, xgroupDelConsumer, xgroupDestroy, xgroupSetID, xinfoConsumers, xinfoConsumersBinary, xinfoGroup, xinfoGroupBinary, xinfoStream, xinfoStreamBinary, xlen, xpending, xpending, xpending, xrange, xrange, xrevrange, xrevrange, xtrim, xtrim, zadd, zadd, zadd, zadd, zaddIncr, zcard, zcount, zcount, zincrby, zincrby, zlexcount, zmscore, zpopmax, zpopmax, zpopmin, zpopmin, zrandmember, zrandmember, zrandmemberWithScores, 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
getAllShardInfo, getAllShards, getKeyTag, getShard, getShard, getShardInfo, getShardInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
expire, restore, restoreReplace, setex
expire, restore, restoreReplace, setex, xrange
protected ShardedJedisPool dataSource
public ShardedJedis(List<JedisShardInfo> shards)
public ShardedJedis(List<JedisShardInfo> shards, Hashing algo)
public ShardedJedis(List<JedisShardInfo> shards, Pattern keyTagPattern)
public ShardedJedis(List<JedisShardInfo> shards, Hashing algo, Pattern keyTagPattern)
public String set(String key, String value)
set
in interface JedisCommands
public String set(String key, String value, SetParams params)
set
in interface JedisCommands
public String get(String key)
get
in interface JedisCommands
public String getDel(String key)
getDel
in interface JedisCommands
public String getEx(String key, GetExParams params)
getEx
in interface JedisCommands
public String echo(String string)
echo
in interface JedisCommands
public Boolean exists(String key)
exists
in interface JedisCommands
public String type(String key)
type
in interface JedisCommands
public byte[] dump(String key)
dump
in interface JedisCommands
public String restore(String key, long ttl, byte[] serializedValue)
restore
in interface JedisCommands
public String restoreReplace(String key, long ttl, byte[] serializedValue)
restoreReplace
in interface JedisCommands
public String restore(String key, long ttl, byte[] serializedValue, RestoreParams params)
restore
in interface JedisCommands
public Long expire(String key, long 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, long seconds, String value)
setex
in interface JedisCommands
public String psetex(String key, long milliseconds, String value)
psetex
in interface JedisCommands
public List<String> blpop(int timeout, String key)
blpop
in interface JedisCommands
public KeyedListElement blpop(double timeout, String key)
blpop
in interface JedisCommands
public List<String> brpop(int timeout, String key)
brpop
in interface JedisCommands
public KeyedListElement brpop(double timeout, String key)
brpop
in interface JedisCommands
public Long decrBy(String key, long decrement)
decrBy
in interface JedisCommands
public Long decr(String key)
decr
in interface JedisCommands
public Long incrBy(String key, long increment)
incrBy
in interface JedisCommands
public Double incrByFloat(String key, double increment)
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 Long hset(String key, Map<String,String> hash)
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 del(String key)
del
in interface JedisCommands
public Long unlink(String key)
unlink
in interface JedisCommands
public Long hdel(String key, String... fields)
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 String hrandfield(String key)
hrandfield
in interface JedisCommands
public List<String> hrandfield(String key, long count)
hrandfield
in interface JedisCommands
public Map<String,String> hrandfieldWithValues(String key, long count)
hrandfieldWithValues
in interface JedisCommands
public Long rpush(String key, String... strings)
rpush
in interface JedisCommands
public Long lpush(String key, String... strings)
lpush
in interface JedisCommands
public Long lpushx(String key, String... string)
lpushx
in interface JedisCommands
public Long strlen(String key)
strlen
in interface JedisCommands
public Long move(String key, int dbIndex)
move
in interface JedisCommands
public Long rpushx(String key, String... string)
rpushx
in interface JedisCommands
public Long persist(String key)
persist
in interface JedisCommands
public Long llen(String key)
llen
in interface JedisCommands
public List<String> lrange(String key, long start, long stop)
lrange
in interface JedisCommands
public String ltrim(String key, long start, long stop)
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 List<String> lpop(String key, int count)
lpop
in interface JedisCommands
public Long lpos(String key, String element)
lpos
in interface JedisCommands
public Long lpos(String key, String element, LPosParams params)
lpos
in interface JedisCommands
public List<Long> lpos(String key, String element, LPosParams params, long count)
lpos
in interface JedisCommands
public String rpop(String key)
rpop
in interface JedisCommands
public List<String> rpop(String key, int count)
rpop
in interface JedisCommands
public Long sadd(String key, String... members)
sadd
in interface JedisCommands
public Set<String> smembers(String key)
smembers
in interface JedisCommands
public Long srem(String key, String... members)
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 List<Boolean> smismember(String key, String... members)
smismember
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 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 Double zaddIncr(String key, double score, String member, ZAddParams params)
zaddIncr
in interface JedisCommands
public Set<String> zrange(String key, long start, long stop)
zrange
in interface JedisCommands
public Long zrem(String key, String... members)
zrem
in interface JedisCommands
public Double zincrby(String key, double increment, String member)
zincrby
in interface JedisCommands
public Double zincrby(String key, double increment, 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 stop)
zrevrange
in interface JedisCommands
public Set<Tuple> zrangeWithScores(String key, long start, long stop)
zrangeWithScores
in interface JedisCommands
public Set<Tuple> zrevrangeWithScores(String key, long start, long stop)
zrevrangeWithScores
in interface JedisCommands
public String zrandmember(String key)
zrandmember
in interface JedisCommands
public Set<String> zrandmember(String key, long count)
zrandmember
in interface JedisCommands
public Set<Tuple> zrandmemberWithScores(String key, long count)
zrandmemberWithScores
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<Double> zmscore(String key, String... members)
zmscore
in interface JedisCommands
public Tuple zpopmax(String key)
zpopmax
in interface JedisCommands
public Set<Tuple> zpopmax(String key, int count)
zpopmax
in interface JedisCommands
public Tuple zpopmin(String key)
zpopmin
in interface JedisCommands
public Set<Tuple> zpopmin(String key, int count)
zpopmin
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> 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, 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<Tuple> zrevrangeByScoreWithScores(String key, double max, double min, int offset, int count)
zrevrangeByScoreWithScores
in interface JedisCommands
public Set<String> zrangeByScore(String key, String min, String max)
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, 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, String max, String min, int offset, int count)
zrevrangeByScoreWithScores
in interface JedisCommands
public Long zremrangeByRank(String key, long start, long stop)
zremrangeByRank
in interface JedisCommands
public Long zremrangeByScore(String key, double min, double max)
zremrangeByScore
in interface JedisCommands
public Long zremrangeByScore(String key, String min, String max)
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, ListPosition where, String pivot, String value)
linsert
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 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<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 ScanResult<String> sscan(String key, String cursor, ScanParams params)
sscan
in interface JedisCommands
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public void setDataSource(ShardedJedisPool shardedJedisPool)
public void resetState()
public Long pfadd(String key, String... elements)
pfadd
in interface JedisCommands
public long pfcount(String key)
pfcount
in interface JedisCommands
public Long touch(String key)
touch
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 Long geoadd(String key, GeoAddParams params, 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> georadiusReadonly(String key, double longitude, double latitude, double radius, GeoUnit unit)
georadiusReadonly
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> georadiusReadonly(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusReadonly
in interface JedisCommands
public List<GeoRadiusResponse> georadiusByMember(String key, String member, double radius, GeoUnit unit)
georadiusByMember
in interface JedisCommands
public List<GeoRadiusResponse> georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit)
georadiusByMemberReadonly
in interface JedisCommands
public List<GeoRadiusResponse> georadiusByMember(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusByMember
in interface JedisCommands
public List<GeoRadiusResponse> georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusByMemberReadonly
in interface JedisCommands
public List<Long> bitfield(String key, String... arguments)
JedisCommands
bitfield
in interface JedisCommands
public List<Long> bitfieldReadonly(String key, String... arguments)
bitfieldReadonly
in interface JedisCommands
public Long hstrlen(String key, String field)
JedisCommands
hstrlen
in interface JedisCommands
public StreamEntryID xadd(String key, StreamEntryID id, Map<String,String> hash)
JedisCommands
xadd
in interface JedisCommands
public StreamEntryID xadd(String key, StreamEntryID id, Map<String,String> hash, long maxLen, boolean approximateLength)
JedisCommands
xadd
in interface JedisCommands
public StreamEntryID xadd(String key, Map<String,String> hash, XAddParams params)
JedisCommands
xadd
in interface JedisCommands
public Long xlen(String key)
JedisCommands
xlen
in interface JedisCommands
public List<StreamEntry> xrange(String key, StreamEntryID start, StreamEntryID end)
JedisCommands
StreamEntryID
would resolve the error.xrange
in interface JedisCommands
start
- minimum StreamEntryID
for the retrieved range, passing null
will indicate minimum ID possible in the streamend
- maximum StreamEntryID
for the retrieved range, passing null
will indicate maximum ID possible in the streampublic List<StreamEntry> xrange(String key, StreamEntryID start, StreamEntryID end, int count)
JedisCommands
StreamEntryID
would resolve the error.xrange
in interface JedisCommands
start
- minimum StreamEntryID
for the retrieved range, passing null
will indicate minimum ID possible in the streamend
- maximum StreamEntryID
for the retrieved range, passing null
will indicate maximum ID possible in the streamcount
- maximum number of entries returnedpublic long xack(String key, String group, StreamEntryID... ids)
JedisCommands
xack
in interface JedisCommands
public String xgroupCreate(String key, String consumer, StreamEntryID id, boolean makeStream)
JedisCommands
xgroupCreate
in interface JedisCommands
public String xgroupSetID(String key, String groupname, StreamEntryID id)
JedisCommands
xgroupSetID
in interface JedisCommands
public long xgroupDestroy(String key, String groupname)
JedisCommands
xgroupDestroy
in interface JedisCommands
public Long xgroupDelConsumer(String key, String groupname, String consumername)
JedisCommands
xgroupDelConsumer
in interface JedisCommands
public long xdel(String key, StreamEntryID... ids)
JedisCommands
xdel
in interface JedisCommands
public long xtrim(String key, long maxLen, boolean approximateLength)
JedisCommands
xtrim
in interface JedisCommands
public long xtrim(String key, XTrimParams params)
JedisCommands
xtrim
in interface JedisCommands
public List<StreamEntry> xrevrange(String key, StreamEntryID end, StreamEntryID start)
JedisCommands
StreamEntryID
would resolve the error.xrevrange
in interface JedisCommands
end
- maximum StreamEntryID
for the retrieved range, passing null
will indicate maximum ID possible in the streamstart
- minimum StreamEntryID
for the retrieved range, passing null
will indicate minimum ID possible in the streampublic List<StreamEntry> xrevrange(String key, StreamEntryID end, StreamEntryID start, int count)
JedisCommands
StreamEntryID
would resolve the error.xrevrange
in interface JedisCommands
end
- maximum StreamEntryID
for the retrieved range, passing null
will indicate maximum ID possible in the streamstart
- minimum StreamEntryID
for the retrieved range, passing null
will indicate minimum ID possible in the streamcount
- The entries with IDs matching the specified range.public StreamPendingSummary xpending(String key, String groupname)
JedisCommands
xpending
in interface JedisCommands
public List<StreamPendingEntry> xpending(String key, String groupname, StreamEntryID start, StreamEntryID end, int count, String consumername)
JedisCommands
xpending
in interface JedisCommands
public List<StreamPendingEntry> xpending(String key, String groupname, XPendingParams params)
JedisCommands
xpending
in interface JedisCommands
public List<StreamEntry> xclaim(String key, String group, String consumername, long minIdleTime, long newIdleTime, int retries, boolean force, StreamEntryID... ids)
JedisCommands
xclaim
in interface JedisCommands
public List<StreamEntry> xclaim(String key, String group, String consumername, long minIdleTime, XClaimParams params, StreamEntryID... ids)
JedisCommands
xclaim
in interface JedisCommands
public List<StreamEntryID> xclaimJustId(String key, String group, String consumername, long minIdleTime, XClaimParams params, StreamEntryID... ids)
JedisCommands
xclaimJustId
in interface JedisCommands
public Map.Entry<StreamEntryID,List<StreamEntry>> xautoclaim(String key, String group, String consumerName, long minIdleTime, StreamEntryID start, XAutoClaimParams params)
JedisCommands
xautoclaim
in interface JedisCommands
key
- Stream Keygroup
- Consumer GroupconsumerName
- Consumer name to transfer the auto claimed entriesminIdleTime
- Entries pending more than minIdleTime will be transferred ownershipstart
- StreamEntryID
- Entries >= start will be transferred ownership, passing null
will indicate '-'params
- XAutoClaimParams
public Map.Entry<StreamEntryID,List<StreamEntryID>> xautoclaimJustId(String key, String group, String consumerName, long minIdleTime, StreamEntryID start, XAutoClaimParams params)
JedisCommands
xautoclaimJustId
in interface JedisCommands
key
- Stream Keygroup
- Consumer GroupconsumerName
- Consumer name to transfer the auto claimed entriesminIdleTime
- Entries pending more than minIdleTime will be transferred ownershipstart
- StreamEntryID
- Entries >= start will be transferred ownership, passing null
will indicate '-'params
- XAutoClaimParams
public StreamInfo xinfoStream(String key)
JedisCommands
xinfoStream
in interface JedisCommands
key
- Stream nameStreamInfo
that contains information about the streampublic List<StreamGroupInfo> xinfoGroup(String key)
JedisCommands
xinfoGroup
in interface JedisCommands
key
- Stream nameStreamGroupInfo
containing information about groupspublic List<StreamConsumersInfo> xinfoConsumers(String key, String group)
JedisCommands
xinfoConsumers
in interface JedisCommands
key
- Stream namegroup
- Group nameStreamConsumersInfo
containing information about consumers that belong
to the the grouppublic Object sendCommand(ProtocolCommand cmd, String... args)
public Object sendBlockingCommand(ProtocolCommand cmd, String... args)
public LCSMatchResult strAlgoLCSStrings(String strA, String strB, StrAlgoLCSParams params)
strAlgoLCSStrings
in interface JedisCommands
Copyright © 2022. All rights reserved.