public class UnifiedJedis extends Object implements JedisCommands, JedisBinaryCommands, SampleKeyedCommands, SampleBinaryKeyedCommands, RedisModuleCommands, AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
protected CommandExecutor |
executor |
protected ConnectionProvider |
provider |
| Constructor and Description |
|---|
UnifiedJedis() |
UnifiedJedis(ClusterConnectionProvider provider,
int maxAttempts,
Duration maxTotalRetriesDuration) |
UnifiedJedis(Connection connection) |
UnifiedJedis(ConnectionProvider provider) |
UnifiedJedis(ConnectionProvider provider,
int maxAttempts,
Duration maxTotalRetriesDuration) |
UnifiedJedis(HostAndPort hostAndPort) |
UnifiedJedis(HostAndPort hostAndPort,
JedisClientConfig clientConfig) |
UnifiedJedis(JedisSocketFactory socketFactory) |
UnifiedJedis(Set<HostAndPort> jedisClusterNodes,
JedisClientConfig clientConfig,
org.apache.commons.pool2.impl.GenericObjectPoolConfig<Connection> poolConfig,
int maxAttempts,
Duration maxTotalRetriesDuration) |
UnifiedJedis(Set<HostAndPort> jedisClusterNodes,
JedisClientConfig clientConfig,
int maxAttempts) |
UnifiedJedis(Set<HostAndPort> jedisClusterNodes,
JedisClientConfig clientConfig,
int maxAttempts,
Duration maxTotalRetriesDuration) |
UnifiedJedis(ShardedConnectionProvider provider) |
UnifiedJedis(ShardedConnectionProvider provider,
Pattern tagPattern) |
UnifiedJedis(String url) |
UnifiedJedis(URI uri) |
UnifiedJedis(URI uri,
JedisClientConfig config) |
| Modifier and Type | Method and Description |
|---|---|
long |
append(byte[] key,
byte[] value) |
long |
append(String key,
String value) |
long |
bitcount(byte[] key) |
long |
bitcount(byte[] key,
long start,
long end) |
long |
bitcount(byte[] key,
long start,
long end,
BitCountOption option) |
long |
bitcount(String key) |
long |
bitcount(String key,
long start,
long end) |
long |
bitcount(String key,
long start,
long end,
BitCountOption option) |
List<Long> |
bitfield(byte[] key,
byte[]... arguments) |
List<Long> |
bitfield(String key,
String... arguments) |
List<Long> |
bitfieldReadonly(byte[] key,
byte[]... arguments) |
List<Long> |
bitfieldReadonly(String key,
String... arguments) |
long |
bitop(BitOP op,
byte[] destKey,
byte[]... srcKeys) |
long |
bitop(BitOP op,
String destKey,
String... srcKeys) |
long |
bitpos(byte[] key,
boolean value) |
long |
bitpos(byte[] key,
boolean value,
BitPosParams params) |
long |
bitpos(String key,
boolean value) |
long |
bitpos(String key,
boolean value,
BitPosParams params) |
byte[] |
blmove(byte[] srcKey,
byte[] dstKey,
ListDirection from,
ListDirection to,
double timeout) |
String |
blmove(String srcKey,
String dstKey,
ListDirection from,
ListDirection to,
double timeout) |
List<byte[]> |
blpop(double timeout,
byte[]... keys) |
KeyedListElement |
blpop(double timeout,
String... keys) |
KeyedListElement |
blpop(double timeout,
String key) |
List<byte[]> |
blpop(int timeout,
byte[]... keys) |
List<String> |
blpop(int timeout,
String... keys) |
List<String> |
blpop(int timeout,
String key) |
List<byte[]> |
brpop(double timeout,
byte[]... keys) |
KeyedListElement |
brpop(double timeout,
String... keys) |
KeyedListElement |
brpop(double timeout,
String key) |
List<byte[]> |
brpop(int timeout,
byte[]... keys) |
List<String> |
brpop(int timeout,
String... keys) |
List<String> |
brpop(int timeout,
String key) |
byte[] |
brpoplpush(byte[] source,
byte[] destination,
int timeout) |
String |
brpoplpush(String source,
String destination,
int timeout) |
List<byte[]> |
bzpopmax(double timeout,
byte[]... keys) |
KeyedZSetElement |
bzpopmax(double timeout,
String... keys) |
List<byte[]> |
bzpopmin(double timeout,
byte[]... keys) |
KeyedZSetElement |
bzpopmin(double timeout,
String... keys) |
void |
close() |
boolean |
copy(byte[] srcKey,
byte[] dstKey,
boolean replace) |
boolean |
copy(String srcKey,
String dstKey,
boolean replace) |
long |
dbSize() |
long |
decr(byte[] key) |
long |
decr(String key) |
long |
decrBy(byte[] key,
long decrement) |
long |
decrBy(String key,
long decrement) |
long |
del(byte[]... keys) |
long |
del(byte[] key) |
long |
del(String... keys) |
long |
del(String key) |
byte[] |
dump(byte[] key) |
byte[] |
dump(String key) |
Object |
eval(byte[] script) |
Object |
eval(byte[] script,
byte[] sampleKey) |
Object |
eval(byte[] script,
int keyCount,
byte[]... params) |
Object |
eval(byte[] script,
List<byte[]> keys,
List<byte[]> args) |
Object |
eval(String script) |
Object |
eval(String script,
int keyCount,
String... params) |
Object |
eval(String script,
List<String> keys,
List<String> args) |
Object |
eval(String script,
String sampleKey) |
Object |
evalsha(byte[] sha1) |
Object |
evalsha(byte[] sha1,
byte[] sampleKey) |
Object |
evalsha(byte[] sha1,
int keyCount,
byte[]... params) |
Object |
evalsha(byte[] sha1,
List<byte[]> keys,
List<byte[]> args) |
Object |
evalsha(String sha1) |
Object |
evalsha(String sha1,
int keyCount,
String... params) |
Object |
evalsha(String sha1,
List<String> keys,
List<String> args) |
Object |
evalsha(String sha1,
String sampleKey) |
Object |
executeCommand(CommandArguments args) |
<T> T |
executeCommand(CommandObject<T> commandObject) |
long |
exists(byte[]... keys) |
boolean |
exists(byte[] key) |
long |
exists(String... keys) |
boolean |
exists(String key) |
long |
expire(byte[] key,
long seconds) |
long |
expire(String key,
long seconds) |
long |
expireAt(byte[] key,
long unixTime) |
long |
expireAt(String key,
long unixTime) |
AggregationResult |
ftAggregate(String indexName,
AggregationBuilder aggr) |
String |
ftAliasAdd(String aliasName,
String indexName) |
String |
ftAliasDel(String aliasName) |
String |
ftAliasUpdate(String aliasName,
String indexName) |
String |
ftAlter(String indexName,
Schema schema) |
Map<String,String> |
ftConfigGet(String option) |
Map<String,String> |
ftConfigGet(String indexName,
String option) |
String |
ftConfigSet(String option,
String value) |
String |
ftConfigSet(String indexName,
String option,
String value) |
String |
ftCreate(String indexName,
IndexOptions indexOptions,
Schema schema) |
String |
ftCursorDel(String indexName,
long cursorId) |
AggregationResult |
ftCursorRead(String indexName,
long cursorId,
int count) |
String |
ftDropIndex(String indexName) |
String |
ftDropIndexDD(String indexName) |
String |
ftExplain(String indexName,
Query query) |
List<String> |
ftExplainCLI(String indexName,
Query query) |
Map<String,Object> |
ftInfo(String indexName) |
SearchResult |
ftSearch(byte[] indexName,
Query query) |
SearchResult |
ftSearch(String indexName,
Query query) |
Map<String,List<String>> |
ftSynDump(String indexName) |
String |
ftSynUpdate(String indexName,
String synonymGroupId,
String... terms) |
long |
geoadd(byte[] key,
double longitude,
double latitude,
byte[] member) |
long |
geoadd(byte[] key,
GeoAddParams params,
Map<byte[],GeoCoordinate> memberCoordinateMap) |
long |
geoadd(byte[] key,
Map<byte[],GeoCoordinate> memberCoordinateMap) |
long |
geoadd(String key,
double longitude,
double latitude,
String member) |
long |
geoadd(String key,
GeoAddParams params,
Map<String,GeoCoordinate> memberCoordinateMap) |
long |
geoadd(String key,
Map<String,GeoCoordinate> memberCoordinateMap) |
Double |
geodist(byte[] key,
byte[] member1,
byte[] member2) |
Double |
geodist(byte[] key,
byte[] member1,
byte[] member2,
GeoUnit unit) |
Double |
geodist(String key,
String member1,
String member2) |
Double |
geodist(String key,
String member1,
String member2,
GeoUnit unit) |
List<byte[]> |
geohash(byte[] key,
byte[]... members) |
List<String> |
geohash(String key,
String... members) |
List<GeoCoordinate> |
geopos(byte[] key,
byte[]... members) |
List<GeoCoordinate> |
geopos(String key,
String... members) |
List<GeoRadiusResponse> |
georadius(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadius(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
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(byte[] key,
byte[] member,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadiusByMember(byte[] key,
byte[] member,
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) |
List<GeoRadiusResponse> |
georadiusByMemberReadonly(byte[] key,
byte[] member,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadiusByMemberReadonly(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
List<GeoRadiusResponse> |
georadiusByMemberReadonly(String key,
String member,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadiusByMemberReadonly(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
long |
georadiusByMemberStore(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam) |
long |
georadiusByMemberStore(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam) |
List<GeoRadiusResponse> |
georadiusReadonly(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadiusReadonly(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
List<GeoRadiusResponse> |
georadiusReadonly(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
georadiusReadonly(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
long |
georadiusStore(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam) |
long |
georadiusStore(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam) |
List<GeoRadiusResponse> |
geosearch(byte[] key,
byte[] member,
double width,
double height,
GeoUnit unit) |
List<GeoRadiusResponse> |
geosearch(byte[] key,
byte[] member,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
geosearch(byte[] key,
GeoCoordinate coord,
double width,
double height,
GeoUnit unit) |
List<GeoRadiusResponse> |
geosearch(byte[] key,
GeoCoordinate coord,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
geosearch(byte[] key,
GeoSearchParam params) |
List<GeoRadiusResponse> |
geosearch(String key,
GeoCoordinate coord,
double width,
double height,
GeoUnit unit) |
List<GeoRadiusResponse> |
geosearch(String key,
GeoCoordinate coord,
double radius,
GeoUnit unit) |
List<GeoRadiusResponse> |
geosearch(String key,
GeoSearchParam params) |
List<GeoRadiusResponse> |
geosearch(String key,
String member,
double width,
double height,
GeoUnit unit) |
List<GeoRadiusResponse> |
geosearch(String key,
String member,
double radius,
GeoUnit unit) |
long |
geosearchStore(byte[] dest,
byte[] src,
byte[] member,
double width,
double height,
GeoUnit unit) |
long |
geosearchStore(byte[] dest,
byte[] src,
byte[] member,
double radius,
GeoUnit unit) |
long |
geosearchStore(byte[] dest,
byte[] src,
GeoCoordinate coord,
double width,
double height,
GeoUnit unit) |
long |
geosearchStore(byte[] dest,
byte[] src,
GeoCoordinate coord,
double radius,
GeoUnit unit) |
long |
geosearchStore(byte[] dest,
byte[] src,
GeoSearchParam params) |
long |
geosearchStore(String dest,
String src,
GeoCoordinate coord,
double width,
double height,
GeoUnit unit) |
long |
geosearchStore(String dest,
String src,
GeoCoordinate coord,
double radius,
GeoUnit unit) |
long |
geosearchStore(String dest,
String src,
GeoSearchParam params) |
long |
geosearchStore(String dest,
String src,
String member,
double width,
double height,
GeoUnit unit) |
long |
geosearchStore(String dest,
String src,
String member,
double radius,
GeoUnit unit) |
long |
geosearchStoreStoreDist(byte[] dest,
byte[] src,
GeoSearchParam params) |
long |
geosearchStoreStoreDist(String dest,
String src,
GeoSearchParam params) |
byte[] |
get(byte[] key) |
String |
get(String key) |
boolean |
getbit(byte[] key,
long offset) |
boolean |
getbit(String key,
long offset) |
byte[] |
getDel(byte[] key) |
String |
getDel(String key) |
byte[] |
getEx(byte[] key,
GetExParams params) |
String |
getEx(String key,
GetExParams params) |
byte[] |
getrange(byte[] key,
long startOffset,
long endOffset) |
String |
getrange(String key,
long startOffset,
long endOffset) |
byte[] |
getSet(byte[] key,
byte[] value) |
String |
getSet(String key,
String value) |
long |
hdel(byte[] key,
byte[]... field) |
long |
hdel(String key,
String... field) |
boolean |
hexists(byte[] key,
byte[] field) |
boolean |
hexists(String key,
String field) |
byte[] |
hget(byte[] key,
byte[] field) |
String |
hget(String key,
String field) |
Map<byte[],byte[]> |
hgetAll(byte[] key) |
Map<String,String> |
hgetAll(String key) |
long |
hincrBy(byte[] key,
byte[] field,
long value) |
long |
hincrBy(String key,
String field,
long value) |
double |
hincrByFloat(byte[] key,
byte[] field,
double value) |
double |
hincrByFloat(String key,
String field,
double value) |
Set<byte[]> |
hkeys(byte[] key) |
Set<String> |
hkeys(String key) |
long |
hlen(byte[] key) |
long |
hlen(String key) |
List<byte[]> |
hmget(byte[] key,
byte[]... fields) |
List<String> |
hmget(String key,
String... fields) |
String |
hmset(byte[] key,
Map<byte[],byte[]> hash) |
String |
hmset(String key,
Map<String,String> hash) |
byte[] |
hrandfield(byte[] key) |
List<byte[]> |
hrandfield(byte[] key,
long count) |
String |
hrandfield(String key) |
List<String> |
hrandfield(String key,
long count) |
Map<byte[],byte[]> |
hrandfieldWithValues(byte[] key,
long count) |
Map<String,String> |
hrandfieldWithValues(String key,
long count) |
ScanResult<Map.Entry<byte[],byte[]>> |
hscan(byte[] key,
byte[] cursor,
ScanParams params) |
ScanResult<Map.Entry<String,String>> |
hscan(String key,
String cursor,
ScanParams params) |
long |
hset(byte[] key,
byte[] field,
byte[] value) |
long |
hset(byte[] key,
Map<byte[],byte[]> hash) |
long |
hset(String key,
Map<String,String> hash) |
long |
hset(String key,
String field,
String value) |
long |
hsetnx(byte[] key,
byte[] field,
byte[] value) |
long |
hsetnx(String key,
String field,
String value) |
long |
hstrlen(byte[] key,
byte[] field) |
long |
hstrlen(String key,
String field) |
List<byte[]> |
hvals(byte[] key) |
List<String> |
hvals(String key) |
long |
incr(byte[] key) |
long |
incr(String key) |
long |
incrBy(byte[] key,
long increment) |
long |
incrBy(String key,
long increment) |
double |
incrByFloat(byte[] key,
double increment) |
double |
incrByFloat(String key,
double increment) |
List<Long> |
jsonArrAppend(String key,
Path2 path,
Object... objects) |
Long |
jsonArrAppend(String key,
Path path,
Object... pojos) |
List<Long> |
jsonArrAppendWithEscape(String key,
Path2 path,
Object... objects) |
List<Long> |
jsonArrIndex(String key,
Path2 path,
Object scalar) |
long |
jsonArrIndex(String key,
Path path,
Object scalar) |
List<Long> |
jsonArrIndexWithEscape(String key,
Path2 path,
Object scalar) |
List<Long> |
jsonArrInsert(String key,
Path2 path,
int index,
Object... objects) |
long |
jsonArrInsert(String key,
Path path,
int index,
Object... pojos) |
List<Long> |
jsonArrInsertWithEscape(String key,
Path2 path,
int index,
Object... objects) |
Long |
jsonArrLen(String key) |
Long |
jsonArrLen(String key,
Path path) |
List<Long> |
jsonArrLen(String key,
Path2 path) |
Object |
jsonArrPop(String key) |
<T> T |
jsonArrPop(String key,
Class<T> clazz) |
<T> T |
jsonArrPop(String key,
Class<T> clazz,
Path path) |
<T> T |
jsonArrPop(String key,
Class<T> clazz,
Path path,
int index) |
Object |
jsonArrPop(String key,
Path path) |
List<Object> |
jsonArrPop(String key,
Path2 path) |
List<Object> |
jsonArrPop(String key,
Path2 path,
int index) |
Object |
jsonArrPop(String key,
Path path,
int index) |
List<Long> |
jsonArrTrim(String key,
Path2 path,
int start,
int stop) |
Long |
jsonArrTrim(String key,
Path path,
int start,
int stop) |
long |
jsonClear(String key) |
long |
jsonClear(String key,
Path path) |
long |
jsonClear(String key,
Path2 path) |
long |
jsonDel(String key) |
long |
jsonDel(String key,
Path path) |
long |
jsonDel(String key,
Path2 path) |
Object |
jsonGet(String key) |
<T> T |
jsonGet(String key,
Class<T> clazz) |
<T> T |
jsonGet(String key,
Class<T> clazz,
Path... paths) |
Object |
jsonGet(String key,
Path... paths) |
Object |
jsonGet(String key,
Path2... paths) |
List<org.json.JSONArray> |
jsonMGet(Path2 path,
String... keys) |
<T> List<T> |
jsonMGet(Path path,
Class<T> clazz,
String... keys) |
String |
jsonSet(String key,
Path2 path,
Object object) |
String |
jsonSet(String key,
Path2 path,
Object pojo,
JsonSetParams params) |
String |
jsonSet(String key,
Path path,
Object pojo) |
String |
jsonSet(String key,
Path path,
Object pojo,
JsonSetParams params) |
String |
jsonSetWithEscape(String key,
Path2 path,
Object object) |
String |
jsonSetWithEscape(String key,
Path2 path,
Object pojo,
JsonSetParams params) |
long |
jsonStrAppend(String key,
Object string) |
List<Long> |
jsonStrAppend(String key,
Path2 path,
Object string) |
long |
jsonStrAppend(String key,
Path path,
Object string) |
Long |
jsonStrLen(String key) |
Long |
jsonStrLen(String key,
Path path) |
List<Long> |
jsonStrLen(String key,
Path2 path) |
String |
jsonToggle(String key,
Path path) |
List<Boolean> |
jsonToggle(String key,
Path2 path) |
Class<?> |
jsonType(String key) |
Class<?> |
jsonType(String key,
Path path) |
List<Class<?>> |
jsonType(String key,
Path2 path) |
Set<byte[]> |
keys(byte[] pattern) |
Set<String> |
keys(String pattern) |
byte[] |
lindex(byte[] key,
long index) |
String |
lindex(String key,
long index) |
long |
linsert(byte[] key,
ListPosition where,
byte[] pivot,
byte[] value) |
long |
linsert(String key,
ListPosition where,
String pivot,
String value) |
long |
llen(byte[] key) |
long |
llen(String key) |
byte[] |
lmove(byte[] srcKey,
byte[] dstKey,
ListDirection from,
ListDirection to) |
String |
lmove(String srcKey,
String dstKey,
ListDirection from,
ListDirection to) |
byte[] |
lpop(byte[] key) |
List<byte[]> |
lpop(byte[] key,
int count) |
String |
lpop(String key) |
List<String> |
lpop(String key,
int count) |
Long |
lpos(byte[] key,
byte[] element) |
Long |
lpos(byte[] key,
byte[] element,
LPosParams params) |
List<Long> |
lpos(byte[] key,
byte[] element,
LPosParams params,
long count) |
Long |
lpos(String key,
String element) |
Long |
lpos(String key,
String element,
LPosParams params) |
List<Long> |
lpos(String key,
String element,
LPosParams params,
long count) |
long |
lpush(byte[] key,
byte[]... args) |
long |
lpush(String key,
String... string) |
long |
lpushx(byte[] key,
byte[]... arg) |
long |
lpushx(String key,
String... string) |
List<byte[]> |
lrange(byte[] key,
long start,
long stop) |
List<String> |
lrange(String key,
long start,
long stop) |
long |
lrem(byte[] key,
long count,
byte[] value) |
long |
lrem(String key,
long count,
String value) |
String |
lset(byte[] key,
long index,
byte[] value) |
String |
lset(String key,
long index,
String value) |
String |
ltrim(byte[] key,
long start,
long stop) |
String |
ltrim(String key,
long start,
long stop) |
Long |
memoryUsage(byte[] key) |
Long |
memoryUsage(byte[] key,
int samples) |
Long |
memoryUsage(String key) |
Long |
memoryUsage(String key,
int samples) |
List<byte[]> |
mget(byte[]... keys) |
List<String> |
mget(String... keys) |
String |
migrate(String host,
int port,
byte[] key,
int timeout) |
String |
migrate(String host,
int port,
int timeout,
MigrateParams params,
byte[]... keys) |
String |
migrate(String host,
int port,
int timeout,
MigrateParams params,
String... keys) |
String |
migrate(String host,
int port,
String key,
int timeout) |
String |
mset(byte[]... keysvalues) |
String |
mset(String... keysvalues) |
long |
msetnx(byte[]... keysvalues) |
long |
msetnx(String... keysvalues) |
byte[] |
objectEncoding(byte[] key) |
String |
objectEncoding(String key) |
Long |
objectFreq(byte[] key) |
Long |
objectFreq(String key) |
Long |
objectIdletime(byte[] key) |
Long |
objectIdletime(String key) |
Long |
objectRefcount(byte[] key) |
Long |
objectRefcount(String key) |
long |
persist(byte[] key) |
long |
persist(String key) |
long |
pexpire(byte[] key,
long milliseconds) |
long |
pexpire(String key,
long milliseconds) |
long |
pexpireAt(byte[] key,
long millisecondsTimestamp) |
long |
pexpireAt(String key,
long millisecondsTimestamp) |
long |
pfadd(byte[] key,
byte[]... elements) |
long |
pfadd(String key,
String... elements) |
long |
pfcount(byte[]... keys) |
long |
pfcount(byte[] key) |
long |
pfcount(String... keys) |
long |
pfcount(String key) |
String |
pfmerge(byte[] destkey,
byte[]... sourcekeys) |
String |
pfmerge(String destkey,
String... sourcekeys) |
String |
psetex(byte[] key,
long milliseconds,
byte[] value) |
String |
psetex(String key,
long milliseconds,
String value) |
void |
psubscribe(BinaryJedisPubSub jedisPubSub,
byte[]... patterns) |
void |
psubscribe(JedisPubSub jedisPubSub,
String... patterns) |
long |
pttl(byte[] key) |
long |
pttl(String key) |
long |
publish(byte[] channel,
byte[] message) |
long |
publish(String channel,
String message) |
byte[] |
randomBinaryKey() |
String |
randomKey() |
String |
rename(byte[] oldkey,
byte[] newkey) |
String |
rename(String oldkey,
String newkey) |
long |
renamenx(byte[] oldkey,
byte[] newkey) |
long |
renamenx(String oldkey,
String newkey) |
String |
restore(byte[] key,
long ttl,
byte[] serializedValue) |
String |
restore(byte[] key,
long ttl,
byte[] serializedValue,
RestoreParams params) |
String |
restore(String key,
long ttl,
byte[] serializedValue) |
String |
restore(String key,
long ttl,
byte[] serializedValue,
RestoreParams params) |
byte[] |
rpop(byte[] key) |
List<byte[]> |
rpop(byte[] key,
int count) |
String |
rpop(String key) |
List<String> |
rpop(String key,
int count) |
byte[] |
rpoplpush(byte[] srckey,
byte[] dstkey) |
String |
rpoplpush(String srckey,
String dstkey) |
long |
rpush(byte[] key,
byte[]... args) |
long |
rpush(String key,
String... string) |
long |
rpushx(byte[] key,
byte[]... arg) |
long |
rpushx(String key,
String... string) |
long |
sadd(byte[] key,
byte[]... member) |
long |
sadd(String key,
String... member) |
ScanResult<byte[]> |
scan(byte[] cursor) |
ScanResult<byte[]> |
scan(byte[] cursor,
ScanParams params) |
ScanResult<byte[]> |
scan(byte[] cursor,
ScanParams params,
byte[] type) |
ScanResult<String> |
scan(String cursor) |
ScanResult<String> |
scan(String cursor,
ScanParams params) |
ScanResult<String> |
scan(String cursor,
ScanParams params,
String type) |
long |
scard(byte[] key) |
long |
scard(String key) |
List<Boolean> |
scriptExists(byte[] sampleKey,
byte[]... sha1s) |
Boolean |
scriptExists(byte[] sha1,
byte[] sampleKey) |
List<Boolean> |
scriptExists(String sampleKey,
String... sha1s) |
Boolean |
scriptExists(String sha1,
String sampleKey) |
String |
scriptFlush(byte[] sampleKey) |
String |
scriptFlush(byte[] sampleKey,
FlushMode flushMode) |
String |
scriptFlush(String sampleKey) |
String |
scriptFlush(String sampleKey,
FlushMode flushMode) |
String |
scriptKill(byte[] sampleKey) |
String |
scriptKill(String sampleKey) |
byte[] |
scriptLoad(byte[] script,
byte[] sampleKey) |
String |
scriptLoad(String script,
String sampleKey) |
Set<byte[]> |
sdiff(byte[]... keys) |
Set<String> |
sdiff(String... keys) |
long |
sdiffstore(byte[] dstkey,
byte[]... keys) |
long |
sdiffstore(String dstkey,
String... keys) |
Object |
sendBlockingCommand(byte[] sampleKey,
ProtocolCommand cmd,
byte[]... args) |
Object |
sendBlockingCommand(ProtocolCommand cmd,
byte[]... args) |
Object |
sendBlockingCommand(ProtocolCommand cmd,
String... args) |
Object |
sendBlockingCommand(String sampleKey,
ProtocolCommand cmd,
String... args) |
Object |
sendCommand(byte[] sampleKey,
ProtocolCommand cmd,
byte[]... args) |
Object |
sendCommand(ProtocolCommand cmd) |
Object |
sendCommand(ProtocolCommand cmd,
byte[]... args) |
Object |
sendCommand(ProtocolCommand cmd,
String... args) |
Object |
sendCommand(String sampleKey,
ProtocolCommand cmd,
String... args) |
String |
set(byte[] key,
byte[] value) |
String |
set(byte[] key,
byte[] value,
SetParams params) |
String |
set(String key,
String value) |
String |
set(String key,
String value,
SetParams params) |
boolean |
setbit(byte[] key,
long offset,
boolean value) |
boolean |
setbit(String key,
long offset,
boolean value) |
String |
setex(byte[] key,
long seconds,
byte[] value) |
String |
setex(String key,
long seconds,
String value) |
long |
setnx(byte[] key,
byte[] value) |
long |
setnx(String key,
String value) |
long |
setrange(byte[] key,
long offset,
byte[] value) |
long |
setrange(String key,
long offset,
String value) |
Set<byte[]> |
sinter(byte[]... keys) |
Set<String> |
sinter(String... keys) |
long |
sintercard(byte[]... keys)
This command works exactly like
SINTER but instead of returning
the result set, it returns just the cardinality of the result. |
long |
sintercard(int limit,
byte[]... keys)
This command works exactly like
SINTER but instead of returning
the result set, it returns just the cardinality of the result. |
long |
sintercard(int limit,
String... keys)
This command works exactly like
SINTER but instead of returning
the result set, it returns just the cardinality of the result. |
long |
sintercard(String... keys)
This command works exactly like
SINTER but instead of returning
the result set, it returns just the cardinality of the result. |
long |
sinterstore(byte[] dstkey,
byte[]... keys) |
long |
sinterstore(String dstkey,
String... keys) |
boolean |
sismember(byte[] key,
byte[] member) |
boolean |
sismember(String key,
String member) |
Set<byte[]> |
smembers(byte[] key) |
Set<String> |
smembers(String key) |
List<Boolean> |
smismember(byte[] key,
byte[]... members) |
List<Boolean> |
smismember(String key,
String... members) |
long |
smove(byte[] srckey,
byte[] dstkey,
byte[] member) |
long |
smove(String srckey,
String dstkey,
String member) |
List<byte[]> |
sort(byte[] key) |
long |
sort(byte[] key,
byte[] dstkey) |
List<byte[]> |
sort(byte[] key,
SortingParams sortingParams) |
long |
sort(byte[] key,
SortingParams sortingParams,
byte[] dstkey) |
List<String> |
sort(String key) |
List<String> |
sort(String key,
SortingParams sortingParams) |
long |
sort(String key,
SortingParams sortingParams,
String dstkey) |
long |
sort(String key,
String dstkey) |
List<byte[]> |
sortReadonly(byte[] key,
SortingParams sortingParams) |
List<String> |
sortReadonly(String key,
SortingParams sortingParams)
Read-only variant of the
SORT command. |
byte[] |
spop(byte[] key) |
Set<byte[]> |
spop(byte[] key,
long count) |
String |
spop(String key) |
Set<String> |
spop(String key,
long count) |
byte[] |
srandmember(byte[] key) |
List<byte[]> |
srandmember(byte[] key,
int count) |
String |
srandmember(String key) |
List<String> |
srandmember(String key,
int count) |
long |
srem(byte[] key,
byte[]... member) |
long |
srem(String key,
String... member) |
ScanResult<byte[]> |
sscan(byte[] key,
byte[] cursor,
ScanParams params) |
ScanResult<String> |
sscan(String key,
String cursor,
ScanParams params) |
LCSMatchResult |
strAlgoLCSKeys(byte[] keyA,
byte[] keyB,
StrAlgoLCSParams params) |
LCSMatchResult |
strAlgoLCSKeys(String keyA,
String keyB,
StrAlgoLCSParams params) |
LCSMatchResult |
strAlgoLCSStrings(byte[] strA,
byte[] strB,
StrAlgoLCSParams params) |
LCSMatchResult |
strAlgoLCSStrings(String strA,
String strB,
StrAlgoLCSParams params) |
long |
strlen(byte[] key) |
long |
strlen(String key) |
void |
subscribe(BinaryJedisPubSub jedisPubSub,
byte[]... channels) |
void |
subscribe(JedisPubSub jedisPubSub,
String... channels) |
byte[] |
substr(byte[] key,
int start,
int end) |
String |
substr(String key,
int start,
int end) |
Set<byte[]> |
sunion(byte[]... keys) |
Set<String> |
sunion(String... keys) |
long |
sunionstore(byte[] dstkey,
byte[]... keys) |
long |
sunionstore(String dstkey,
String... keys) |
long |
touch(byte[]... keys) |
long |
touch(byte[] key) |
long |
touch(String... keys) |
long |
touch(String key) |
long |
ttl(byte[] key) |
long |
ttl(String key) |
String |
type(byte[] key) |
String |
type(String key) |
long |
unlink(byte[]... keys) |
long |
unlink(byte[] key) |
long |
unlink(String... keys) |
long |
unlink(String key) |
long |
waitReplicas(byte[] sampleKey,
int replicas,
long timeout) |
long |
waitReplicas(String sampleKey,
int replicas,
long timeout) |
long |
xack(byte[] key,
byte[] group,
byte[]... ids) |
long |
xack(String key,
String group,
StreamEntryID... ids)
XACK key group ID [ID ...]
|
byte[] |
xadd(byte[] key,
XAddParams params,
Map<byte[],byte[]> hash) |
StreamEntryID |
xadd(String key,
StreamEntryID id,
Map<String,String> hash)
XADD key ID field string [field string ...]
|
StreamEntryID |
xadd(String key,
XAddParams params,
Map<String,String> hash) |
List<Object> |
xautoclaim(byte[] key,
byte[] groupName,
byte[] consumerName,
long minIdleTime,
byte[] start,
XAutoClaimParams params) |
Map.Entry<StreamEntryID,List<StreamEntry>> |
xautoclaim(String key,
String group,
String consumerName,
long minIdleTime,
StreamEntryID start,
XAutoClaimParams params)
XAUTOCLAIM key group consumer min-idle-time start [COUNT count]
|
List<Object> |
xautoclaimJustId(byte[] key,
byte[] groupName,
byte[] consumerName,
long minIdleTime,
byte[] start,
XAutoClaimParams params) |
Map.Entry<StreamEntryID,List<StreamEntryID>> |
xautoclaimJustId(String key,
String group,
String consumerName,
long minIdleTime,
StreamEntryID start,
XAutoClaimParams params)
XAUTOCLAIM key group consumer min-idle-time start [COUNT count] JUSTID
|
List<byte[]> |
xclaim(byte[] key,
byte[] group,
byte[] consumername,
long minIdleTime,
XClaimParams params,
byte[]... ids) |
List<StreamEntry> |
xclaim(String key,
String group,
String consumername,
long minIdleTime,
XClaimParams params,
StreamEntryID... ids)
XCLAIM
|
List<byte[]> |
xclaimJustId(byte[] key,
byte[] group,
byte[] consumername,
long minIdleTime,
XClaimParams params,
byte[]... ids) |
List<StreamEntryID> |
xclaimJustId(String key,
String group,
String consumername,
long minIdleTime,
XClaimParams params,
StreamEntryID... ids)
XCLAIM
|
long |
xdel(byte[] key,
byte[]... ids) |
long |
xdel(String key,
StreamEntryID... ids)
XDEL key ID [ID ...]
|
String |
xgroupCreate(byte[] key,
byte[] groupname,
byte[] id,
boolean makeStream) |
String |
xgroupCreate(String key,
String groupname,
StreamEntryID id,
boolean makeStream)
XGROUP CREATE
|
long |
xgroupDelConsumer(byte[] key,
byte[] groupname,
byte[] consumerName) |
long |
xgroupDelConsumer(String key,
String groupname,
String consumername)
XGROUP DELCONSUMER
|
long |
xgroupDestroy(byte[] key,
byte[] groupname) |
long |
xgroupDestroy(String key,
String groupname)
XGROUP DESTROY
|
String |
xgroupSetID(byte[] key,
byte[] groupname,
byte[] id) |
String |
xgroupSetID(String key,
String groupname,
StreamEntryID id)
XGROUP SETID
|
List<Object> |
xinfoConsumers(byte[] key,
byte[] group) |
List<StreamConsumersInfo> |
xinfoConsumers(String key,
String group)
Introspection command used in order to retrieve different information about consumers in the group
|
List<Object> |
xinfoGroup(byte[] key)
Deprecated.
|
List<StreamGroupInfo> |
xinfoGroup(String key)
Deprecated.
|
List<Object> |
xinfoGroups(byte[] key) |
List<StreamGroupInfo> |
xinfoGroups(String key)
Introspection command used in order to retrieve different information about groups in the stream
|
Object |
xinfoStream(byte[] key) |
StreamInfo |
xinfoStream(String key)
Introspection command used in order to retrieve different information about the stream
|
Object |
xinfoStreamFull(byte[] key)
Introspection command used in order to retrieve all information about the stream
|
Object |
xinfoStreamFull(byte[] key,
int count)
Introspection command used in order to retrieve all information about the stream
|
StreamFullInfo |
xinfoStreamFull(String key)
Introspection command used in order to retrieve all information about the stream
|
StreamFullInfo |
xinfoStreamFull(String key,
int count)
Introspection command used in order to retrieve all information about the stream
|
long |
xlen(byte[] key) |
long |
xlen(String key)
XLEN key
|
Object |
xpending(byte[] key,
byte[] groupname) |
List<Object> |
xpending(byte[] key,
byte[] groupname,
byte[] start,
byte[] end,
int count,
byte[] consumername) |
List<Object> |
xpending(byte[] key,
byte[] groupname,
XPendingParams params) |
StreamPendingSummary |
xpending(String key,
String groupname)
XPENDING key group
|
List<StreamPendingEntry> |
xpending(String key,
String groupname,
StreamEntryID start,
StreamEntryID end,
int count,
String consumername)
XPENDING key group [start end count] [consumer]
|
List<StreamPendingEntry> |
xpending(String key,
String groupname,
XPendingParams params)
XPENDING key group [[IDLE min-idle-time] start end count [consumer]]
|
List<byte[]> |
xrange(byte[] key,
byte[] start,
byte[] end) |
List<byte[]> |
xrange(byte[] key,
byte[] start,
byte[] end,
int count) |
List<StreamEntry> |
xrange(String key,
StreamEntryID start,
StreamEntryID end)
XRANGE key start end
|
List<StreamEntry> |
xrange(String key,
StreamEntryID start,
StreamEntryID end,
int count)
XRANGE key start end COUNT count
|
List<StreamEntry> |
xrange(String key,
String start,
String end) |
List<StreamEntry> |
xrange(String key,
String start,
String end,
int count) |
List<byte[]> |
xread(XReadParams xReadParams,
Map.Entry<byte[],byte[]>... streams) |
List<Map.Entry<String,List<StreamEntry>>> |
xread(XReadParams xReadParams,
Map<String,StreamEntryID> streams)
XREAD [COUNT count] [BLOCK milliseconds] STREAMS key [key ...] ID [ID ...]
|
List<byte[]> |
xreadGroup(byte[] groupname,
byte[] consumer,
XReadGroupParams xReadGroupParams,
Map.Entry<byte[],byte[]>... streams) |
List<Map.Entry<String,List<StreamEntry>>> |
xreadGroup(String groupname,
String consumer,
XReadGroupParams xReadGroupParams,
Map<String,StreamEntryID> streams)
XREAD [COUNT count] [BLOCK milliseconds] STREAMS key [key ...] ID [ID ...]
|
List<byte[]> |
xrevrange(byte[] key,
byte[] end,
byte[] start) |
List<byte[]> |
xrevrange(byte[] key,
byte[] end,
byte[] start,
int count) |
List<StreamEntry> |
xrevrange(String key,
StreamEntryID end,
StreamEntryID start)
XREVRANGE key end start
|
List<StreamEntry> |
xrevrange(String key,
StreamEntryID end,
StreamEntryID start,
int count)
XREVRANGE key end start COUNT count
|
List<StreamEntry> |
xrevrange(String key,
String end,
String start) |
List<StreamEntry> |
xrevrange(String key,
String end,
String start,
int count) |
long |
xtrim(byte[] key,
long maxLen,
boolean approximateLength) |
long |
xtrim(byte[] key,
XTrimParams params) |
long |
xtrim(String key,
long maxLen,
boolean approximate)
XTRIM key MAXLEN [~] count
|
long |
xtrim(String key,
XTrimParams params)
XTRIM key MAXLEN|MINID [=|~] threshold [LIMIT count]
|
long |
zadd(byte[] key,
double score,
byte[] member) |
long |
zadd(byte[] key,
double score,
byte[] member,
ZAddParams params) |
long |
zadd(byte[] key,
Map<byte[],Double> scoreMembers) |
long |
zadd(byte[] key,
Map<byte[],Double> scoreMembers,
ZAddParams params) |
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) |
Double |
zaddIncr(byte[] key,
double score,
byte[] member,
ZAddParams params) |
Double |
zaddIncr(String key,
double score,
String member,
ZAddParams params) |
long |
zcard(byte[] key) |
long |
zcard(String key) |
long |
zcount(byte[] key,
byte[] min,
byte[] max) |
long |
zcount(byte[] key,
double min,
double max) |
long |
zcount(String key,
double min,
double max) |
long |
zcount(String key,
String min,
String max) |
Set<byte[]> |
zdiff(byte[]... keys) |
Set<String> |
zdiff(String... keys) |
long |
zdiffStore(byte[] dstkey,
byte[]... keys) |
long |
zdiffStore(String dstkey,
String... keys) |
Set<Tuple> |
zdiffWithScores(byte[]... keys) |
Set<Tuple> |
zdiffWithScores(String... keys) |
double |
zincrby(byte[] key,
double increment,
byte[] member) |
Double |
zincrby(byte[] key,
double increment,
byte[] member,
ZIncrByParams params) |
double |
zincrby(String key,
double increment,
String member) |
Double |
zincrby(String key,
double increment,
String member,
ZIncrByParams params) |
Set<byte[]> |
zinter(ZParams params,
byte[]... keys) |
Set<String> |
zinter(ZParams params,
String... keys) |
long |
zinterstore(byte[] dstkey,
byte[]... sets) |
long |
zinterstore(byte[] dstkey,
ZParams params,
byte[]... sets) |
long |
zinterstore(String dstkey,
String... sets) |
long |
zinterstore(String dstkey,
ZParams params,
String... sets) |
Set<Tuple> |
zinterWithScores(ZParams params,
byte[]... keys) |
Set<Tuple> |
zinterWithScores(ZParams params,
String... keys) |
long |
zlexcount(byte[] key,
byte[] min,
byte[] max) |
long |
zlexcount(String key,
String min,
String max) |
List<Double> |
zmscore(byte[] key,
byte[]... members) |
List<Double> |
zmscore(String key,
String... members) |
Tuple |
zpopmax(byte[] key) |
List<Tuple> |
zpopmax(byte[] key,
int count) |
Tuple |
zpopmax(String key) |
List<Tuple> |
zpopmax(String key,
int count) |
Tuple |
zpopmin(byte[] key) |
List<Tuple> |
zpopmin(byte[] key,
int count) |
Tuple |
zpopmin(String key) |
List<Tuple> |
zpopmin(String key,
int count) |
byte[] |
zrandmember(byte[] key) |
List<byte[]> |
zrandmember(byte[] key,
long count) |
String |
zrandmember(String key) |
List<String> |
zrandmember(String key,
long count) |
List<Tuple> |
zrandmemberWithScores(byte[] key,
long count) |
List<Tuple> |
zrandmemberWithScores(String key,
long count) |
List<byte[]> |
zrange(byte[] key,
long start,
long stop) |
List<byte[]> |
zrange(byte[] key,
ZRangeParams zRangeParams) |
List<String> |
zrange(String key,
long start,
long stop) |
List<String> |
zrange(String key,
ZRangeParams zRangeParams) |
List<byte[]> |
zrangeByLex(byte[] key,
byte[] min,
byte[] max) |
List<byte[]> |
zrangeByLex(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
List<String> |
zrangeByLex(String key,
String min,
String max) |
List<String> |
zrangeByLex(String key,
String min,
String max,
int offset,
int count) |
List<byte[]> |
zrangeByScore(byte[] key,
byte[] min,
byte[] max) |
List<byte[]> |
zrangeByScore(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
List<byte[]> |
zrangeByScore(byte[] key,
double min,
double max) |
List<byte[]> |
zrangeByScore(byte[] key,
double min,
double max,
int offset,
int count) |
List<String> |
zrangeByScore(String key,
double min,
double max) |
List<String> |
zrangeByScore(String key,
double min,
double max,
int offset,
int count) |
List<String> |
zrangeByScore(String key,
String min,
String max) |
List<String> |
zrangeByScore(String key,
String min,
String max,
int offset,
int count) |
List<Tuple> |
zrangeByScoreWithScores(byte[] key,
byte[] min,
byte[] max) |
List<Tuple> |
zrangeByScoreWithScores(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
List<Tuple> |
zrangeByScoreWithScores(byte[] key,
double min,
double max) |
List<Tuple> |
zrangeByScoreWithScores(byte[] key,
double min,
double max,
int offset,
int count) |
List<Tuple> |
zrangeByScoreWithScores(String key,
double min,
double max) |
List<Tuple> |
zrangeByScoreWithScores(String key,
double min,
double max,
int offset,
int count) |
List<Tuple> |
zrangeByScoreWithScores(String key,
String min,
String max) |
List<Tuple> |
zrangeByScoreWithScores(String key,
String min,
String max,
int offset,
int count) |
long |
zrangestore(byte[] dest,
byte[] src,
ZRangeParams zRangeParams) |
long |
zrangestore(String dest,
String src,
ZRangeParams zRangeParams) |
List<Tuple> |
zrangeWithScores(byte[] key,
long start,
long stop) |
List<Tuple> |
zrangeWithScores(byte[] key,
ZRangeParams zRangeParams) |
List<Tuple> |
zrangeWithScores(String key,
long start,
long stop) |
List<Tuple> |
zrangeWithScores(String key,
ZRangeParams zRangeParams) |
Long |
zrank(byte[] key,
byte[] member) |
Long |
zrank(String key,
String member) |
long |
zrem(byte[] key,
byte[]... members) |
long |
zrem(String key,
String... members) |
long |
zremrangeByLex(byte[] key,
byte[] min,
byte[] max) |
long |
zremrangeByLex(String key,
String min,
String max) |
long |
zremrangeByRank(byte[] key,
long start,
long stop) |
long |
zremrangeByRank(String key,
long start,
long stop) |
long |
zremrangeByScore(byte[] key,
byte[] min,
byte[] max) |
long |
zremrangeByScore(byte[] key,
double min,
double max) |
long |
zremrangeByScore(String key,
double min,
double max) |
long |
zremrangeByScore(String key,
String min,
String max) |
List<byte[]> |
zrevrange(byte[] key,
long start,
long stop) |
List<String> |
zrevrange(String key,
long start,
long stop) |
List<byte[]> |
zrevrangeByLex(byte[] key,
byte[] max,
byte[] min) |
List<byte[]> |
zrevrangeByLex(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
List<String> |
zrevrangeByLex(String key,
String max,
String min) |
List<String> |
zrevrangeByLex(String key,
String max,
String min,
int offset,
int count) |
List<byte[]> |
zrevrangeByScore(byte[] key,
byte[] max,
byte[] min) |
List<byte[]> |
zrevrangeByScore(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
List<byte[]> |
zrevrangeByScore(byte[] key,
double max,
double min) |
List<byte[]> |
zrevrangeByScore(byte[] key,
double max,
double min,
int offset,
int count) |
List<String> |
zrevrangeByScore(String key,
double max,
double min) |
List<String> |
zrevrangeByScore(String key,
double max,
double min,
int offset,
int count) |
List<String> |
zrevrangeByScore(String key,
String max,
String min) |
List<String> |
zrevrangeByScore(String key,
String max,
String min,
int offset,
int count) |
List<Tuple> |
zrevrangeByScoreWithScores(byte[] key,
byte[] max,
byte[] min) |
List<Tuple> |
zrevrangeByScoreWithScores(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
List<Tuple> |
zrevrangeByScoreWithScores(byte[] key,
double max,
double min) |
List<Tuple> |
zrevrangeByScoreWithScores(byte[] key,
double max,
double min,
int offset,
int count) |
List<Tuple> |
zrevrangeByScoreWithScores(String key,
double max,
double min) |
List<Tuple> |
zrevrangeByScoreWithScores(String key,
double max,
double min,
int offset,
int count) |
List<Tuple> |
zrevrangeByScoreWithScores(String key,
String max,
String min) |
List<Tuple> |
zrevrangeByScoreWithScores(String key,
String max,
String min,
int offset,
int count) |
List<Tuple> |
zrevrangeWithScores(byte[] key,
long start,
long stop) |
List<Tuple> |
zrevrangeWithScores(String key,
long start,
long stop) |
Long |
zrevrank(byte[] key,
byte[] member) |
Long |
zrevrank(String key,
String member) |
ScanResult<Tuple> |
zscan(byte[] key,
byte[] cursor,
ScanParams params) |
ScanResult<Tuple> |
zscan(String key,
String cursor,
ScanParams params) |
Double |
zscore(byte[] key,
byte[] member) |
Double |
zscore(String key,
String member) |
Set<byte[]> |
zunion(ZParams params,
byte[]... keys) |
Set<String> |
zunion(ZParams params,
String... keys) |
long |
zunionstore(byte[] dstkey,
byte[]... sets) |
long |
zunionstore(byte[] dstkey,
ZParams params,
byte[]... sets) |
long |
zunionstore(String dstkey,
String... sets) |
long |
zunionstore(String dstkey,
ZParams params,
String... sets) |
Set<Tuple> |
zunionWithScores(ZParams params,
byte[]... keys) |
Set<Tuple> |
zunionWithScores(ZParams params,
String... keys) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithscansscanzscanxaddhscansscanzscanxaddftAlterjsonMGet, jsonMGet, jsonSet, jsonSet, jsonSetLegacy, jsonSetLegacy, jsonSetWithEscape, jsonSetWithEscapeprotected final ConnectionProvider provider
protected final CommandExecutor executor
public UnifiedJedis()
public UnifiedJedis(HostAndPort hostAndPort)
public UnifiedJedis(String url)
public UnifiedJedis(URI uri)
public UnifiedJedis(URI uri, JedisClientConfig config)
public UnifiedJedis(HostAndPort hostAndPort, JedisClientConfig clientConfig)
public UnifiedJedis(ConnectionProvider provider)
public UnifiedJedis(JedisSocketFactory socketFactory)
public UnifiedJedis(Connection connection)
public UnifiedJedis(Set<HostAndPort> jedisClusterNodes, JedisClientConfig clientConfig, int maxAttempts)
public UnifiedJedis(Set<HostAndPort> jedisClusterNodes, JedisClientConfig clientConfig, int maxAttempts, Duration maxTotalRetriesDuration)
public UnifiedJedis(Set<HostAndPort> jedisClusterNodes, JedisClientConfig clientConfig, org.apache.commons.pool2.impl.GenericObjectPoolConfig<Connection> poolConfig, int maxAttempts, Duration maxTotalRetriesDuration)
public UnifiedJedis(ClusterConnectionProvider provider, int maxAttempts, Duration maxTotalRetriesDuration)
public UnifiedJedis(ShardedConnectionProvider provider)
public UnifiedJedis(ShardedConnectionProvider provider, Pattern tagPattern)
public UnifiedJedis(ConnectionProvider provider, int maxAttempts, Duration maxTotalRetriesDuration)
public void close()
close in interface AutoCloseablepublic final <T> T executeCommand(CommandObject<T> commandObject)
public boolean exists(String key)
exists in interface KeyCommandspublic long exists(String... keys)
exists in interface KeyCommandspublic long persist(String key)
persist in interface KeyCommandspublic String type(String key)
type in interface KeyCommandspublic boolean exists(byte[] key)
exists in interface KeyBinaryCommandspublic long exists(byte[]... keys)
exists in interface KeyBinaryCommandspublic long persist(byte[] key)
persist in interface KeyBinaryCommandspublic String type(byte[] key)
type in interface KeyBinaryCommandspublic byte[] dump(String key)
dump in interface KeyCommandspublic String restore(String key, long ttl, byte[] serializedValue)
restore in interface KeyCommandspublic String restore(String key, long ttl, byte[] serializedValue, RestoreParams params)
restore in interface KeyCommandspublic byte[] dump(byte[] key)
dump in interface KeyBinaryCommandspublic String restore(byte[] key, long ttl, byte[] serializedValue)
restore in interface KeyBinaryCommandspublic String restore(byte[] key, long ttl, byte[] serializedValue, RestoreParams params)
restore in interface KeyBinaryCommandspublic long expire(String key, long seconds)
expire in interface KeyCommandspublic long pexpire(String key, long milliseconds)
pexpire in interface KeyCommandspublic long expireAt(String key, long unixTime)
expireAt in interface KeyCommandspublic long pexpireAt(String key, long millisecondsTimestamp)
pexpireAt in interface KeyCommandspublic long expire(byte[] key,
long seconds)
expire in interface KeyBinaryCommandspublic long pexpire(byte[] key,
long milliseconds)
pexpire in interface KeyBinaryCommandspublic long expireAt(byte[] key,
long unixTime)
expireAt in interface KeyBinaryCommandspublic long pexpireAt(byte[] key,
long millisecondsTimestamp)
pexpireAt in interface KeyBinaryCommandspublic long ttl(String key)
ttl in interface KeyCommandspublic long pttl(String key)
pttl in interface KeyCommandspublic long touch(String key)
touch in interface KeyCommandspublic long touch(String... keys)
touch in interface KeyCommandspublic long ttl(byte[] key)
ttl in interface KeyBinaryCommandspublic long pttl(byte[] key)
pttl in interface KeyBinaryCommandspublic long touch(byte[] key)
touch in interface KeyBinaryCommandspublic long touch(byte[]... keys)
touch in interface KeyBinaryCommandspublic List<String> sort(String key)
sort in interface KeyCommandspublic List<String> sort(String key, SortingParams sortingParams)
sort in interface KeyCommandspublic long sort(String key, String dstkey)
sort in interface KeyCommandspublic long sort(String key, SortingParams sortingParams, String dstkey)
sort in interface KeyCommandspublic List<String> sortReadonly(String key, SortingParams sortingParams)
KeyCommandsSORT command.
It is exactly like the original SORT but refuses the STORE option and can safely be used in read-only replicas.sortReadonly in interface KeyCommandskey - the key to sortsortingParams - SortingParamspublic List<byte[]> sort(byte[] key)
sort in interface KeyBinaryCommandspublic List<byte[]> sort(byte[] key, SortingParams sortingParams)
sort in interface KeyBinaryCommandspublic long sort(byte[] key,
byte[] dstkey)
sort in interface KeyBinaryCommandspublic List<byte[]> sortReadonly(byte[] key, SortingParams sortingParams)
sortReadonly in interface KeyBinaryCommandspublic long sort(byte[] key,
SortingParams sortingParams,
byte[] dstkey)
sort in interface KeyBinaryCommandspublic long del(String key)
del in interface KeyCommandspublic long del(String... keys)
del in interface KeyCommandspublic long unlink(String key)
unlink in interface KeyCommandspublic long unlink(String... keys)
unlink in interface KeyCommandspublic long del(byte[] key)
del in interface KeyBinaryCommandspublic long del(byte[]... keys)
del in interface KeyBinaryCommandspublic long unlink(byte[] key)
unlink in interface KeyBinaryCommandspublic long unlink(byte[]... keys)
unlink in interface KeyBinaryCommandspublic Long memoryUsage(String key)
memoryUsage in interface KeyCommandspublic Long memoryUsage(String key, int samples)
memoryUsage in interface KeyCommandspublic Long memoryUsage(byte[] key)
memoryUsage in interface KeyBinaryCommandspublic Long memoryUsage(byte[] key, int samples)
memoryUsage in interface KeyBinaryCommandspublic boolean copy(String srcKey, String dstKey, boolean replace)
copy in interface KeyCommandspublic String rename(String oldkey, String newkey)
rename in interface KeyCommandspublic long renamenx(String oldkey, String newkey)
renamenx in interface KeyCommandspublic boolean copy(byte[] srcKey,
byte[] dstKey,
boolean replace)
copy in interface KeyBinaryCommandspublic String rename(byte[] oldkey, byte[] newkey)
rename in interface KeyBinaryCommandspublic long renamenx(byte[] oldkey,
byte[] newkey)
renamenx in interface KeyBinaryCommandspublic long dbSize()
public Set<String> keys(String pattern)
keys in interface KeyCommandspublic ScanResult<String> scan(String cursor)
scan in interface KeyCommandspublic ScanResult<String> scan(String cursor, ScanParams params)
scan in interface KeyCommandspublic ScanResult<String> scan(String cursor, ScanParams params, String type)
scan in interface KeyCommandspublic Set<byte[]> keys(byte[] pattern)
keys in interface KeyBinaryCommandspublic ScanResult<byte[]> scan(byte[] cursor)
scan in interface KeyBinaryCommandspublic ScanResult<byte[]> scan(byte[] cursor, ScanParams params)
scan in interface KeyBinaryCommandspublic ScanResult<byte[]> scan(byte[] cursor, ScanParams params, byte[] type)
scan in interface KeyBinaryCommandspublic String randomKey()
randomKey in interface KeyCommandspublic byte[] randomBinaryKey()
randomBinaryKey in interface KeyBinaryCommandspublic String set(String key, String value)
set in interface StringCommandspublic String set(String key, String value, SetParams params)
set in interface StringCommandspublic String get(String key)
get in interface StringCommandspublic String getDel(String key)
getDel in interface StringCommandspublic String getEx(String key, GetExParams params)
getEx in interface StringCommandspublic String set(byte[] key, byte[] value)
set in interface StringBinaryCommandspublic String set(byte[] key, byte[] value, SetParams params)
set in interface StringBinaryCommandspublic byte[] get(byte[] key)
get in interface StringBinaryCommandspublic byte[] getDel(byte[] key)
getDel in interface StringBinaryCommandspublic byte[] getEx(byte[] key,
GetExParams params)
getEx in interface StringBinaryCommandspublic boolean setbit(String key, long offset, boolean value)
setbit in interface StringCommandspublic boolean getbit(String key, long offset)
getbit in interface StringCommandspublic long setrange(String key, long offset, String value)
setrange in interface StringCommandspublic String getrange(String key, long startOffset, long endOffset)
getrange in interface StringCommandspublic boolean setbit(byte[] key,
long offset,
boolean value)
setbit in interface StringBinaryCommandspublic boolean getbit(byte[] key,
long offset)
getbit in interface StringBinaryCommandspublic long setrange(byte[] key,
long offset,
byte[] value)
setrange in interface StringBinaryCommandspublic byte[] getrange(byte[] key,
long startOffset,
long endOffset)
getrange in interface StringBinaryCommandspublic String getSet(String key, String value)
getSet in interface StringCommandspublic long setnx(String key, String value)
setnx in interface StringCommandspublic String setex(String key, long seconds, String value)
setex in interface StringCommandspublic String psetex(String key, long milliseconds, String value)
psetex in interface StringCommandspublic byte[] getSet(byte[] key,
byte[] value)
getSet in interface StringBinaryCommandspublic long setnx(byte[] key,
byte[] value)
setnx in interface StringBinaryCommandspublic String setex(byte[] key, long seconds, byte[] value)
setex in interface StringBinaryCommandspublic String psetex(byte[] key, long milliseconds, byte[] value)
psetex in interface StringBinaryCommandspublic long incr(String key)
incr in interface StringCommandspublic long incrBy(String key, long increment)
incrBy in interface StringCommandspublic double incrByFloat(String key, double increment)
incrByFloat in interface StringCommandspublic long decr(String key)
decr in interface StringCommandspublic long decrBy(String key, long decrement)
decrBy in interface StringCommandspublic long incr(byte[] key)
incr in interface StringBinaryCommandspublic long incrBy(byte[] key,
long increment)
incrBy in interface StringBinaryCommandspublic double incrByFloat(byte[] key,
double increment)
incrByFloat in interface StringBinaryCommandspublic long decr(byte[] key)
decr in interface StringBinaryCommandspublic long decrBy(byte[] key,
long decrement)
decrBy in interface StringBinaryCommandspublic List<String> mget(String... keys)
mget in interface StringCommandspublic String mset(String... keysvalues)
mset in interface StringCommandspublic long msetnx(String... keysvalues)
msetnx in interface StringCommandspublic List<byte[]> mget(byte[]... keys)
mget in interface StringBinaryCommandspublic String mset(byte[]... keysvalues)
mset in interface StringBinaryCommandspublic long msetnx(byte[]... keysvalues)
msetnx in interface StringBinaryCommandspublic long append(String key, String value)
append in interface StringCommandspublic String substr(String key, int start, int end)
substr in interface StringCommandspublic long strlen(String key)
strlen in interface StringCommandspublic long append(byte[] key,
byte[] value)
append in interface StringBinaryCommandspublic byte[] substr(byte[] key,
int start,
int end)
substr in interface StringBinaryCommandspublic long strlen(byte[] key)
strlen in interface StringBinaryCommandspublic long bitcount(String key)
bitcount in interface StringCommandspublic long bitcount(String key, long start, long end)
bitcount in interface StringCommandspublic long bitcount(String key, long start, long end, BitCountOption option)
bitcount in interface StringCommandspublic long bitpos(String key, boolean value)
bitpos in interface StringCommandspublic long bitpos(String key, boolean value, BitPosParams params)
bitpos in interface StringCommandspublic long bitcount(byte[] key)
bitcount in interface StringBinaryCommandspublic long bitcount(byte[] key,
long start,
long end)
bitcount in interface StringBinaryCommandspublic long bitcount(byte[] key,
long start,
long end,
BitCountOption option)
bitcount in interface StringBinaryCommandspublic long bitpos(byte[] key,
boolean value)
bitpos in interface StringBinaryCommandspublic long bitpos(byte[] key,
boolean value,
BitPosParams params)
bitpos in interface StringBinaryCommandspublic List<Long> bitfield(String key, String... arguments)
bitfield in interface StringCommandspublic List<Long> bitfieldReadonly(String key, String... arguments)
bitfieldReadonly in interface StringCommandspublic List<Long> bitfield(byte[] key, byte[]... arguments)
bitfield in interface StringBinaryCommandspublic List<Long> bitfieldReadonly(byte[] key, byte[]... arguments)
bitfieldReadonly in interface StringBinaryCommandspublic long bitop(BitOP op, String destKey, String... srcKeys)
bitop in interface StringCommandspublic long bitop(BitOP op, byte[] destKey, byte[]... srcKeys)
bitop in interface StringBinaryCommandspublic LCSMatchResult strAlgoLCSKeys(String keyA, String keyB, StrAlgoLCSParams params)
strAlgoLCSKeys in interface StringCommandspublic LCSMatchResult strAlgoLCSKeys(byte[] keyA, byte[] keyB, StrAlgoLCSParams params)
strAlgoLCSKeys in interface StringBinaryCommandspublic long rpush(String key, String... string)
rpush in interface ListCommandspublic long lpush(String key, String... string)
lpush in interface ListCommandspublic long llen(String key)
llen in interface ListCommandspublic List<String> lrange(String key, long start, long stop)
lrange in interface ListCommandspublic String ltrim(String key, long start, long stop)
ltrim in interface ListCommandspublic String lindex(String key, long index)
lindex in interface ListCommandspublic long rpush(byte[] key,
byte[]... args)
rpush in interface ListBinaryCommandspublic long lpush(byte[] key,
byte[]... args)
lpush in interface ListBinaryCommandspublic long llen(byte[] key)
llen in interface ListBinaryCommandspublic List<byte[]> lrange(byte[] key, long start, long stop)
lrange in interface ListBinaryCommandspublic String ltrim(byte[] key, long start, long stop)
ltrim in interface ListBinaryCommandspublic byte[] lindex(byte[] key,
long index)
lindex in interface ListBinaryCommandspublic String lset(String key, long index, String value)
lset in interface ListCommandspublic long lrem(String key, long count, String value)
lrem in interface ListCommandspublic String lpop(String key)
lpop in interface ListCommandspublic List<String> lpop(String key, int count)
lpop in interface ListCommandspublic String lset(byte[] key, long index, byte[] value)
lset in interface ListBinaryCommandspublic long lrem(byte[] key,
long count,
byte[] value)
lrem in interface ListBinaryCommandspublic byte[] lpop(byte[] key)
lpop in interface ListBinaryCommandspublic List<byte[]> lpop(byte[] key, int count)
lpop in interface ListBinaryCommandspublic Long lpos(String key, String element)
lpos in interface ListCommandspublic Long lpos(String key, String element, LPosParams params)
lpos in interface ListCommandspublic List<Long> lpos(String key, String element, LPosParams params, long count)
lpos in interface ListCommandspublic Long lpos(byte[] key, byte[] element)
lpos in interface ListBinaryCommandspublic Long lpos(byte[] key, byte[] element, LPosParams params)
lpos in interface ListBinaryCommandspublic List<Long> lpos(byte[] key, byte[] element, LPosParams params, long count)
lpos in interface ListBinaryCommandspublic String rpop(String key)
rpop in interface ListCommandspublic List<String> rpop(String key, int count)
rpop in interface ListCommandspublic byte[] rpop(byte[] key)
rpop in interface ListBinaryCommandspublic List<byte[]> rpop(byte[] key, int count)
rpop in interface ListBinaryCommandspublic long linsert(String key, ListPosition where, String pivot, String value)
linsert in interface ListCommandspublic long lpushx(String key, String... string)
lpushx in interface ListCommandspublic long rpushx(String key, String... string)
rpushx in interface ListCommandspublic long linsert(byte[] key,
ListPosition where,
byte[] pivot,
byte[] value)
linsert in interface ListBinaryCommandspublic long lpushx(byte[] key,
byte[]... arg)
lpushx in interface ListBinaryCommandspublic long rpushx(byte[] key,
byte[]... arg)
rpushx in interface ListBinaryCommandspublic List<String> blpop(int timeout, String key)
blpop in interface ListCommandspublic KeyedListElement blpop(double timeout, String key)
blpop in interface ListCommandspublic List<String> brpop(int timeout, String key)
brpop in interface ListCommandspublic KeyedListElement brpop(double timeout, String key)
brpop in interface ListCommandspublic List<String> blpop(int timeout, String... keys)
blpop in interface ListCommandspublic KeyedListElement blpop(double timeout, String... keys)
blpop in interface ListCommandspublic List<String> brpop(int timeout, String... keys)
brpop in interface ListCommandspublic KeyedListElement brpop(double timeout, String... keys)
brpop in interface ListCommandspublic List<byte[]> blpop(int timeout, byte[]... keys)
blpop in interface ListBinaryCommandspublic List<byte[]> blpop(double timeout, byte[]... keys)
blpop in interface ListBinaryCommandspublic List<byte[]> brpop(int timeout, byte[]... keys)
brpop in interface ListBinaryCommandspublic List<byte[]> brpop(double timeout, byte[]... keys)
brpop in interface ListBinaryCommandspublic String rpoplpush(String srckey, String dstkey)
rpoplpush in interface ListCommandspublic String brpoplpush(String source, String destination, int timeout)
brpoplpush in interface ListCommandspublic byte[] rpoplpush(byte[] srckey,
byte[] dstkey)
rpoplpush in interface ListBinaryCommandspublic byte[] brpoplpush(byte[] source,
byte[] destination,
int timeout)
brpoplpush in interface ListBinaryCommandspublic String lmove(String srcKey, String dstKey, ListDirection from, ListDirection to)
lmove in interface ListCommandspublic String blmove(String srcKey, String dstKey, ListDirection from, ListDirection to, double timeout)
blmove in interface ListCommandspublic byte[] lmove(byte[] srcKey,
byte[] dstKey,
ListDirection from,
ListDirection to)
lmove in interface ListBinaryCommandspublic byte[] blmove(byte[] srcKey,
byte[] dstKey,
ListDirection from,
ListDirection to,
double timeout)
blmove in interface ListBinaryCommandspublic long hset(String key, String field, String value)
hset in interface HashCommandspublic long hset(String key, Map<String,String> hash)
hset in interface HashCommandspublic String hget(String key, String field)
hget in interface HashCommandspublic long hsetnx(String key, String field, String value)
hsetnx in interface HashCommandspublic String hmset(String key, Map<String,String> hash)
hmset in interface HashCommandspublic List<String> hmget(String key, String... fields)
hmget in interface HashCommandspublic long hset(byte[] key,
byte[] field,
byte[] value)
hset in interface HashBinaryCommandspublic long hset(byte[] key,
Map<byte[],byte[]> hash)
hset in interface HashBinaryCommandspublic byte[] hget(byte[] key,
byte[] field)
hget in interface HashBinaryCommandspublic long hsetnx(byte[] key,
byte[] field,
byte[] value)
hsetnx in interface HashBinaryCommandspublic String hmset(byte[] key, Map<byte[],byte[]> hash)
hmset in interface HashBinaryCommandspublic List<byte[]> hmget(byte[] key, byte[]... fields)
hmget in interface HashBinaryCommandspublic long hincrBy(String key, String field, long value)
hincrBy in interface HashCommandspublic double hincrByFloat(String key, String field, double value)
hincrByFloat in interface HashCommandspublic boolean hexists(String key, String field)
hexists in interface HashCommandspublic long hdel(String key, String... field)
hdel in interface HashCommandspublic long hlen(String key)
hlen in interface HashCommandspublic long hincrBy(byte[] key,
byte[] field,
long value)
hincrBy in interface HashBinaryCommandspublic double hincrByFloat(byte[] key,
byte[] field,
double value)
hincrByFloat in interface HashBinaryCommandspublic boolean hexists(byte[] key,
byte[] field)
hexists in interface HashBinaryCommandspublic long hdel(byte[] key,
byte[]... field)
hdel in interface HashBinaryCommandspublic long hlen(byte[] key)
hlen in interface HashBinaryCommandspublic Set<String> hkeys(String key)
hkeys in interface HashCommandspublic List<String> hvals(String key)
hvals in interface HashCommandspublic Map<String,String> hgetAll(String key)
hgetAll in interface HashCommandspublic Set<byte[]> hkeys(byte[] key)
hkeys in interface HashBinaryCommandspublic List<byte[]> hvals(byte[] key)
hvals in interface HashBinaryCommandspublic Map<byte[],byte[]> hgetAll(byte[] key)
hgetAll in interface HashBinaryCommandspublic String hrandfield(String key)
hrandfield in interface HashCommandspublic List<String> hrandfield(String key, long count)
hrandfield in interface HashCommandspublic Map<String,String> hrandfieldWithValues(String key, long count)
hrandfieldWithValues in interface HashCommandspublic ScanResult<Map.Entry<String,String>> hscan(String key, String cursor, ScanParams params)
hscan in interface HashCommandspublic long hstrlen(String key, String field)
hstrlen in interface HashCommandspublic byte[] hrandfield(byte[] key)
hrandfield in interface HashBinaryCommandspublic List<byte[]> hrandfield(byte[] key, long count)
hrandfield in interface HashBinaryCommandspublic Map<byte[],byte[]> hrandfieldWithValues(byte[] key, long count)
hrandfieldWithValues in interface HashBinaryCommandspublic ScanResult<Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor, ScanParams params)
hscan in interface HashBinaryCommandspublic long hstrlen(byte[] key,
byte[] field)
hstrlen in interface HashBinaryCommandspublic long sadd(String key, String... member)
sadd in interface SetCommandspublic Set<String> smembers(String key)
smembers in interface SetCommandspublic long srem(String key, String... member)
srem in interface SetCommandspublic String spop(String key)
spop in interface SetCommandspublic Set<String> spop(String key, long count)
spop in interface SetCommandspublic long scard(String key)
scard in interface SetCommandspublic boolean sismember(String key, String member)
sismember in interface SetCommandspublic List<Boolean> smismember(String key, String... members)
smismember in interface SetCommandspublic long sadd(byte[] key,
byte[]... member)
sadd in interface SetBinaryCommandspublic Set<byte[]> smembers(byte[] key)
smembers in interface SetBinaryCommandspublic long srem(byte[] key,
byte[]... member)
srem in interface SetBinaryCommandspublic byte[] spop(byte[] key)
spop in interface SetBinaryCommandspublic Set<byte[]> spop(byte[] key, long count)
spop in interface SetBinaryCommandspublic long scard(byte[] key)
scard in interface SetBinaryCommandspublic boolean sismember(byte[] key,
byte[] member)
sismember in interface SetBinaryCommandspublic List<Boolean> smismember(byte[] key, byte[]... members)
smismember in interface SetBinaryCommandspublic String srandmember(String key)
srandmember in interface SetCommandspublic List<String> srandmember(String key, int count)
srandmember in interface SetCommandspublic ScanResult<String> sscan(String key, String cursor, ScanParams params)
sscan in interface SetCommandspublic byte[] srandmember(byte[] key)
srandmember in interface SetBinaryCommandspublic List<byte[]> srandmember(byte[] key, int count)
srandmember in interface SetBinaryCommandspublic ScanResult<byte[]> sscan(byte[] key, byte[] cursor, ScanParams params)
sscan in interface SetBinaryCommandspublic Set<String> sdiff(String... keys)
sdiff in interface SetCommandspublic long sdiffstore(String dstkey, String... keys)
sdiffstore in interface SetCommandspublic Set<String> sinter(String... keys)
sinter in interface SetCommandspublic long sinterstore(String dstkey, String... keys)
sinterstore in interface SetCommandspublic long sintercard(String... keys)
SetCommandsSINTER but instead of returning
the result set, it returns just the cardinality of the result. LIMIT defaults to 0 and means unlimited
Time complexity O(N*M) worst case where N is the cardinality of the smallest
sintercard in interface SetCommandspublic long sintercard(int limit,
String... keys)
SetCommandsSINTER but instead of returning
the result set, it returns just the cardinality of the result.
Time complexity O(N*M) worst case where N is the cardinality of the smallest
sintercard in interface SetCommandslimit - If the intersection cardinality reaches limit partway through the computation,
the algorithm will exit and yield limit as the cardinality.public Set<String> sunion(String... keys)
sunion in interface SetCommandspublic long sunionstore(String dstkey, String... keys)
sunionstore in interface SetCommandspublic long smove(String srckey, String dstkey, String member)
smove in interface SetCommandspublic Set<byte[]> sdiff(byte[]... keys)
sdiff in interface SetBinaryCommandspublic long sdiffstore(byte[] dstkey,
byte[]... keys)
sdiffstore in interface SetBinaryCommandspublic Set<byte[]> sinter(byte[]... keys)
sinter in interface SetBinaryCommandspublic long sinterstore(byte[] dstkey,
byte[]... keys)
sinterstore in interface SetBinaryCommandspublic long sintercard(byte[]... keys)
SetBinaryCommandsSINTER but instead of returning
the result set, it returns just the cardinality of the result. LIMIT defaults to 0 and means unlimited
Time complexity O(N*M) worst case where N is the cardinality of the smallest
sintercard in interface SetBinaryCommandspublic long sintercard(int limit,
byte[]... keys)
SetBinaryCommandsSINTER but instead of returning
the result set, it returns just the cardinality of the result.
Time complexity O(N*M) worst case where N is the cardinality of the smallest
sintercard in interface SetBinaryCommandslimit - If the intersection cardinality reaches limit partway through the computation,
the algorithm will exit and yield limit as the cardinality.public Set<byte[]> sunion(byte[]... keys)
sunion in interface SetBinaryCommandspublic long sunionstore(byte[] dstkey,
byte[]... keys)
sunionstore in interface SetBinaryCommandspublic long smove(byte[] srckey,
byte[] dstkey,
byte[] member)
smove in interface SetBinaryCommandspublic long zadd(String key, double score, String member)
zadd in interface SortedSetCommandspublic long zadd(String key, double score, String member, ZAddParams params)
zadd in interface SortedSetCommandspublic long zadd(String key, Map<String,Double> scoreMembers)
zadd in interface SortedSetCommandspublic long zadd(String key, Map<String,Double> scoreMembers, ZAddParams params)
zadd in interface SortedSetCommandspublic Double zaddIncr(String key, double score, String member, ZAddParams params)
zaddIncr in interface SortedSetCommandspublic long zadd(byte[] key,
double score,
byte[] member)
zadd in interface SortedSetBinaryCommandspublic long zadd(byte[] key,
double score,
byte[] member,
ZAddParams params)
zadd in interface SortedSetBinaryCommandspublic long zadd(byte[] key,
Map<byte[],Double> scoreMembers)
zadd in interface SortedSetBinaryCommandspublic long zadd(byte[] key,
Map<byte[],Double> scoreMembers,
ZAddParams params)
zadd in interface SortedSetBinaryCommandspublic Double zaddIncr(byte[] key, double score, byte[] member, ZAddParams params)
zaddIncr in interface SortedSetBinaryCommandspublic long zrem(String key, String... members)
zrem in interface SortedSetCommandspublic double zincrby(String key, double increment, String member)
zincrby in interface SortedSetCommandspublic Double zincrby(String key, double increment, String member, ZIncrByParams params)
zincrby in interface SortedSetCommandspublic Long zrank(String key, String member)
zrank in interface SortedSetCommandspublic Long zrevrank(String key, String member)
zrevrank in interface SortedSetCommandspublic long zrem(byte[] key,
byte[]... members)
zrem in interface SortedSetBinaryCommandspublic double zincrby(byte[] key,
double increment,
byte[] member)
zincrby in interface SortedSetBinaryCommandspublic Double zincrby(byte[] key, double increment, byte[] member, ZIncrByParams params)
zincrby in interface SortedSetBinaryCommandspublic Long zrank(byte[] key, byte[] member)
zrank in interface SortedSetBinaryCommandspublic Long zrevrank(byte[] key, byte[] member)
zrevrank in interface SortedSetBinaryCommandspublic String zrandmember(String key)
zrandmember in interface SortedSetCommandspublic List<String> zrandmember(String key, long count)
zrandmember in interface SortedSetCommandspublic List<Tuple> zrandmemberWithScores(String key, long count)
zrandmemberWithScores in interface SortedSetCommandspublic long zcard(String key)
zcard in interface SortedSetCommandspublic Double zscore(String key, String member)
zscore in interface SortedSetCommandspublic List<Double> zmscore(String key, String... members)
zmscore in interface SortedSetCommandspublic byte[] zrandmember(byte[] key)
zrandmember in interface SortedSetBinaryCommandspublic List<byte[]> zrandmember(byte[] key, long count)
zrandmember in interface SortedSetBinaryCommandspublic List<Tuple> zrandmemberWithScores(byte[] key, long count)
zrandmemberWithScores in interface SortedSetBinaryCommandspublic long zcard(byte[] key)
zcard in interface SortedSetBinaryCommandspublic Double zscore(byte[] key, byte[] member)
zscore in interface SortedSetBinaryCommandspublic List<Double> zmscore(byte[] key, byte[]... members)
zmscore in interface SortedSetBinaryCommandspublic Tuple zpopmax(String key)
zpopmax in interface SortedSetCommandspublic List<Tuple> zpopmax(String key, int count)
zpopmax in interface SortedSetCommandspublic Tuple zpopmin(String key)
zpopmin in interface SortedSetCommandspublic List<Tuple> zpopmin(String key, int count)
zpopmin in interface SortedSetCommandspublic long zcount(String key, double min, double max)
zcount in interface SortedSetCommandspublic long zcount(String key, String min, String max)
zcount in interface SortedSetCommandspublic Tuple zpopmax(byte[] key)
zpopmax in interface SortedSetBinaryCommandspublic List<Tuple> zpopmax(byte[] key, int count)
zpopmax in interface SortedSetBinaryCommandspublic Tuple zpopmin(byte[] key)
zpopmin in interface SortedSetBinaryCommandspublic List<Tuple> zpopmin(byte[] key, int count)
zpopmin in interface SortedSetBinaryCommandspublic long zcount(byte[] key,
double min,
double max)
zcount in interface SortedSetBinaryCommandspublic long zcount(byte[] key,
byte[] min,
byte[] max)
zcount in interface SortedSetBinaryCommandspublic List<String> zrange(String key, long start, long stop)
zrange in interface SortedSetCommandspublic List<String> zrevrange(String key, long start, long stop)
zrevrange in interface SortedSetCommandspublic List<Tuple> zrangeWithScores(String key, long start, long stop)
zrangeWithScores in interface SortedSetCommandspublic List<Tuple> zrevrangeWithScores(String key, long start, long stop)
zrevrangeWithScores in interface SortedSetCommandspublic List<String> zrange(String key, ZRangeParams zRangeParams)
zrange in interface SortedSetCommandspublic List<Tuple> zrangeWithScores(String key, ZRangeParams zRangeParams)
zrangeWithScores in interface SortedSetCommandspublic long zrangestore(String dest, String src, ZRangeParams zRangeParams)
zrangestore in interface SortedSetCommandspublic List<String> zrangeByScore(String key, double min, double max)
zrangeByScore in interface SortedSetCommandspublic List<String> zrangeByScore(String key, String min, String max)
zrangeByScore in interface SortedSetCommandspublic List<String> zrevrangeByScore(String key, double max, double min)
zrevrangeByScore in interface SortedSetCommandspublic List<String> zrangeByScore(String key, double min, double max, int offset, int count)
zrangeByScore in interface SortedSetCommandspublic List<String> zrevrangeByScore(String key, String max, String min)
zrevrangeByScore in interface SortedSetCommandspublic List<String> zrangeByScore(String key, String min, String max, int offset, int count)
zrangeByScore in interface SortedSetCommandspublic List<String> zrevrangeByScore(String key, double max, double min, int offset, int count)
zrevrangeByScore in interface SortedSetCommandspublic List<Tuple> zrangeByScoreWithScores(String key, double min, double max)
zrangeByScoreWithScores in interface SortedSetCommandspublic List<Tuple> zrevrangeByScoreWithScores(String key, double max, double min)
zrevrangeByScoreWithScores in interface SortedSetCommandspublic List<Tuple> zrangeByScoreWithScores(String key, double min, double max, int offset, int count)
zrangeByScoreWithScores in interface SortedSetCommandspublic List<String> zrevrangeByScore(String key, String max, String min, int offset, int count)
zrevrangeByScore in interface SortedSetCommandspublic List<Tuple> zrangeByScoreWithScores(String key, String min, String max)
zrangeByScoreWithScores in interface SortedSetCommandspublic List<Tuple> zrevrangeByScoreWithScores(String key, String max, String min)
zrevrangeByScoreWithScores in interface SortedSetCommandspublic List<Tuple> zrangeByScoreWithScores(String key, String min, String max, int offset, int count)
zrangeByScoreWithScores in interface SortedSetCommandspublic List<Tuple> zrevrangeByScoreWithScores(String key, double max, double min, int offset, int count)
zrevrangeByScoreWithScores in interface SortedSetCommandspublic List<Tuple> zrevrangeByScoreWithScores(String key, String max, String min, int offset, int count)
zrevrangeByScoreWithScores in interface SortedSetCommandspublic List<byte[]> zrange(byte[] key, long start, long stop)
zrange in interface SortedSetBinaryCommandspublic List<byte[]> zrevrange(byte[] key, long start, long stop)
zrevrange in interface SortedSetBinaryCommandspublic List<Tuple> zrangeWithScores(byte[] key, long start, long stop)
zrangeWithScores in interface SortedSetBinaryCommandspublic List<Tuple> zrevrangeWithScores(byte[] key, long start, long stop)
zrevrangeWithScores in interface SortedSetBinaryCommandspublic List<byte[]> zrange(byte[] key, ZRangeParams zRangeParams)
zrange in interface SortedSetBinaryCommandspublic List<Tuple> zrangeWithScores(byte[] key, ZRangeParams zRangeParams)
zrangeWithScores in interface SortedSetBinaryCommandspublic long zrangestore(byte[] dest,
byte[] src,
ZRangeParams zRangeParams)
zrangestore in interface SortedSetBinaryCommandspublic List<byte[]> zrangeByScore(byte[] key, double min, double max)
zrangeByScore in interface SortedSetBinaryCommandspublic List<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max)
zrangeByScore in interface SortedSetBinaryCommandspublic List<byte[]> zrevrangeByScore(byte[] key, double max, double min)
zrevrangeByScore in interface SortedSetBinaryCommandspublic List<byte[]> zrangeByScore(byte[] key, double min, double max, int offset, int count)
zrangeByScore in interface SortedSetBinaryCommandspublic List<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min)
zrevrangeByScore in interface SortedSetBinaryCommandspublic List<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count)
zrangeByScore in interface SortedSetBinaryCommandspublic List<byte[]> zrevrangeByScore(byte[] key, double max, double min, int offset, int count)
zrevrangeByScore in interface SortedSetBinaryCommandspublic List<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max)
zrangeByScoreWithScores in interface SortedSetBinaryCommandspublic List<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min)
zrevrangeByScoreWithScores in interface SortedSetBinaryCommandspublic List<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)
zrangeByScoreWithScores in interface SortedSetBinaryCommandspublic List<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count)
zrevrangeByScore in interface SortedSetBinaryCommandspublic List<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)
zrangeByScoreWithScores in interface SortedSetBinaryCommandspublic List<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)
zrevrangeByScoreWithScores in interface SortedSetBinaryCommandspublic List<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)
zrangeByScoreWithScores in interface SortedSetBinaryCommandspublic List<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)
zrevrangeByScoreWithScores in interface SortedSetBinaryCommandspublic List<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)
zrevrangeByScoreWithScores in interface SortedSetBinaryCommandspublic long zremrangeByRank(String key, long start, long stop)
zremrangeByRank in interface SortedSetCommandspublic long zremrangeByScore(String key, double min, double max)
zremrangeByScore in interface SortedSetCommandspublic long zremrangeByScore(String key, String min, String max)
zremrangeByScore in interface SortedSetCommandspublic long zremrangeByRank(byte[] key,
long start,
long stop)
zremrangeByRank in interface SortedSetBinaryCommandspublic long zremrangeByScore(byte[] key,
double min,
double max)
zremrangeByScore in interface SortedSetBinaryCommandspublic long zremrangeByScore(byte[] key,
byte[] min,
byte[] max)
zremrangeByScore in interface SortedSetBinaryCommandspublic long zlexcount(String key, String min, String max)
zlexcount in interface SortedSetCommandspublic List<String> zrangeByLex(String key, String min, String max)
zrangeByLex in interface SortedSetCommandspublic List<String> zrangeByLex(String key, String min, String max, int offset, int count)
zrangeByLex in interface SortedSetCommandspublic List<String> zrevrangeByLex(String key, String max, String min)
zrevrangeByLex in interface SortedSetCommandspublic List<String> zrevrangeByLex(String key, String max, String min, int offset, int count)
zrevrangeByLex in interface SortedSetCommandspublic long zremrangeByLex(String key, String min, String max)
zremrangeByLex in interface SortedSetCommandspublic long zlexcount(byte[] key,
byte[] min,
byte[] max)
zlexcount in interface SortedSetBinaryCommandspublic List<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max)
zrangeByLex in interface SortedSetBinaryCommandspublic List<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count)
zrangeByLex in interface SortedSetBinaryCommandspublic List<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min)
zrevrangeByLex in interface SortedSetBinaryCommandspublic List<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count)
zrevrangeByLex in interface SortedSetBinaryCommandspublic long zremrangeByLex(byte[] key,
byte[] min,
byte[] max)
zremrangeByLex in interface SortedSetBinaryCommandspublic ScanResult<Tuple> zscan(String key, String cursor, ScanParams params)
zscan in interface SortedSetCommandspublic ScanResult<Tuple> zscan(byte[] key, byte[] cursor, ScanParams params)
zscan in interface SortedSetBinaryCommandspublic KeyedZSetElement bzpopmax(double timeout, String... keys)
bzpopmax in interface SortedSetCommandspublic KeyedZSetElement bzpopmin(double timeout, String... keys)
bzpopmin in interface SortedSetCommandspublic List<byte[]> bzpopmax(double timeout, byte[]... keys)
bzpopmax in interface SortedSetBinaryCommandspublic List<byte[]> bzpopmin(double timeout, byte[]... keys)
bzpopmin in interface SortedSetBinaryCommandspublic Set<String> zdiff(String... keys)
zdiff in interface SortedSetCommandspublic Set<Tuple> zdiffWithScores(String... keys)
zdiffWithScores in interface SortedSetCommandspublic long zdiffStore(String dstkey, String... keys)
zdiffStore in interface SortedSetCommandspublic Set<byte[]> zdiff(byte[]... keys)
zdiff in interface SortedSetBinaryCommandspublic Set<Tuple> zdiffWithScores(byte[]... keys)
zdiffWithScores in interface SortedSetBinaryCommandspublic long zdiffStore(byte[] dstkey,
byte[]... keys)
zdiffStore in interface SortedSetBinaryCommandspublic long zinterstore(String dstkey, String... sets)
zinterstore in interface SortedSetCommandspublic long zinterstore(String dstkey, ZParams params, String... sets)
zinterstore in interface SortedSetCommandspublic Set<String> zinter(ZParams params, String... keys)
zinter in interface SortedSetCommandspublic Set<Tuple> zinterWithScores(ZParams params, String... keys)
zinterWithScores in interface SortedSetCommandspublic long zinterstore(byte[] dstkey,
byte[]... sets)
zinterstore in interface SortedSetBinaryCommandspublic long zinterstore(byte[] dstkey,
ZParams params,
byte[]... sets)
zinterstore in interface SortedSetBinaryCommandspublic Set<byte[]> zinter(ZParams params, byte[]... keys)
zinter in interface SortedSetBinaryCommandspublic Set<Tuple> zinterWithScores(ZParams params, byte[]... keys)
zinterWithScores in interface SortedSetBinaryCommandspublic Set<String> zunion(ZParams params, String... keys)
zunion in interface SortedSetCommandspublic Set<Tuple> zunionWithScores(ZParams params, String... keys)
zunionWithScores in interface SortedSetCommandspublic long zunionstore(String dstkey, String... sets)
zunionstore in interface SortedSetCommandspublic long zunionstore(String dstkey, ZParams params, String... sets)
zunionstore in interface SortedSetCommandspublic Set<byte[]> zunion(ZParams params, byte[]... keys)
zunion in interface SortedSetBinaryCommandspublic Set<Tuple> zunionWithScores(ZParams params, byte[]... keys)
zunionWithScores in interface SortedSetBinaryCommandspublic long zunionstore(byte[] dstkey,
byte[]... sets)
zunionstore in interface SortedSetBinaryCommandspublic long zunionstore(byte[] dstkey,
ZParams params,
byte[]... sets)
zunionstore in interface SortedSetBinaryCommandspublic long geoadd(String key, double longitude, double latitude, String member)
geoadd in interface GeoCommandspublic long geoadd(String key, Map<String,GeoCoordinate> memberCoordinateMap)
geoadd in interface GeoCommandspublic long geoadd(String key, GeoAddParams params, Map<String,GeoCoordinate> memberCoordinateMap)
geoadd in interface GeoCommandspublic Double geodist(String key, String member1, String member2)
geodist in interface GeoCommandspublic Double geodist(String key, String member1, String member2, GeoUnit unit)
geodist in interface GeoCommandspublic List<String> geohash(String key, String... members)
geohash in interface GeoCommandspublic List<GeoCoordinate> geopos(String key, String... members)
geopos in interface GeoCommandspublic long geoadd(byte[] key,
double longitude,
double latitude,
byte[] member)
geoadd in interface GeoBinaryCommandspublic long geoadd(byte[] key,
Map<byte[],GeoCoordinate> memberCoordinateMap)
geoadd in interface GeoBinaryCommandspublic long geoadd(byte[] key,
GeoAddParams params,
Map<byte[],GeoCoordinate> memberCoordinateMap)
geoadd in interface GeoBinaryCommandspublic Double geodist(byte[] key, byte[] member1, byte[] member2)
geodist in interface GeoBinaryCommandspublic Double geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit)
geodist in interface GeoBinaryCommandspublic List<byte[]> geohash(byte[] key, byte[]... members)
geohash in interface GeoBinaryCommandspublic List<GeoCoordinate> geopos(byte[] key, byte[]... members)
geopos in interface GeoBinaryCommandspublic List<GeoRadiusResponse> georadius(String key, double longitude, double latitude, double radius, GeoUnit unit)
georadius in interface GeoCommandspublic List<GeoRadiusResponse> georadiusReadonly(String key, double longitude, double latitude, double radius, GeoUnit unit)
georadiusReadonly in interface GeoCommandspublic List<GeoRadiusResponse> georadius(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
georadius in interface GeoCommandspublic List<GeoRadiusResponse> georadiusReadonly(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusReadonly in interface GeoCommandspublic List<GeoRadiusResponse> georadiusByMember(String key, String member, double radius, GeoUnit unit)
georadiusByMember in interface GeoCommandspublic List<GeoRadiusResponse> georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit)
georadiusByMemberReadonly in interface GeoCommandspublic List<GeoRadiusResponse> georadiusByMember(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusByMember in interface GeoCommandspublic List<GeoRadiusResponse> georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusByMemberReadonly in interface GeoCommandspublic long georadiusStore(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
georadiusStore in interface GeoCommandspublic long georadiusByMemberStore(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
georadiusByMemberStore in interface GeoCommandspublic List<GeoRadiusResponse> geosearch(String key, String member, double radius, GeoUnit unit)
geosearch in interface GeoCommandspublic List<GeoRadiusResponse> geosearch(String key, GeoCoordinate coord, double radius, GeoUnit unit)
geosearch in interface GeoCommandspublic List<GeoRadiusResponse> geosearch(String key, String member, double width, double height, GeoUnit unit)
geosearch in interface GeoCommandspublic List<GeoRadiusResponse> geosearch(String key, GeoCoordinate coord, double width, double height, GeoUnit unit)
geosearch in interface GeoCommandspublic List<GeoRadiusResponse> geosearch(String key, GeoSearchParam params)
geosearch in interface GeoCommandspublic long geosearchStore(String dest, String src, String member, double radius, GeoUnit unit)
geosearchStore in interface GeoCommandspublic long geosearchStore(String dest, String src, GeoCoordinate coord, double radius, GeoUnit unit)
geosearchStore in interface GeoCommandspublic long geosearchStore(String dest, String src, String member, double width, double height, GeoUnit unit)
geosearchStore in interface GeoCommandspublic long geosearchStore(String dest, String src, GeoCoordinate coord, double width, double height, GeoUnit unit)
geosearchStore in interface GeoCommandspublic long geosearchStore(String dest, String src, GeoSearchParam params)
geosearchStore in interface GeoCommandspublic long geosearchStoreStoreDist(String dest, String src, GeoSearchParam params)
geosearchStoreStoreDist in interface GeoCommandspublic List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
georadius in interface GeoBinaryCommandspublic List<GeoRadiusResponse> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
georadiusReadonly in interface GeoBinaryCommandspublic List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
georadius in interface GeoBinaryCommandspublic List<GeoRadiusResponse> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusReadonly in interface GeoBinaryCommandspublic List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit)
georadiusByMember in interface GeoBinaryCommandspublic List<GeoRadiusResponse> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit)
georadiusByMemberReadonly in interface GeoBinaryCommandspublic List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusByMember in interface GeoBinaryCommandspublic List<GeoRadiusResponse> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusByMemberReadonly in interface GeoBinaryCommandspublic long georadiusStore(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam)
georadiusStore in interface GeoBinaryCommandspublic long georadiusByMemberStore(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam)
georadiusByMemberStore in interface GeoBinaryCommandspublic List<GeoRadiusResponse> geosearch(byte[] key, byte[] member, double radius, GeoUnit unit)
geosearch in interface GeoBinaryCommandspublic List<GeoRadiusResponse> geosearch(byte[] key, GeoCoordinate coord, double radius, GeoUnit unit)
geosearch in interface GeoBinaryCommandspublic List<GeoRadiusResponse> geosearch(byte[] key, byte[] member, double width, double height, GeoUnit unit)
geosearch in interface GeoBinaryCommandspublic List<GeoRadiusResponse> geosearch(byte[] key, GeoCoordinate coord, double width, double height, GeoUnit unit)
geosearch in interface GeoBinaryCommandspublic List<GeoRadiusResponse> geosearch(byte[] key, GeoSearchParam params)
geosearch in interface GeoBinaryCommandspublic long geosearchStore(byte[] dest,
byte[] src,
byte[] member,
double radius,
GeoUnit unit)
geosearchStore in interface GeoBinaryCommandspublic long geosearchStore(byte[] dest,
byte[] src,
GeoCoordinate coord,
double radius,
GeoUnit unit)
geosearchStore in interface GeoBinaryCommandspublic long geosearchStore(byte[] dest,
byte[] src,
byte[] member,
double width,
double height,
GeoUnit unit)
geosearchStore in interface GeoBinaryCommandspublic long geosearchStore(byte[] dest,
byte[] src,
GeoCoordinate coord,
double width,
double height,
GeoUnit unit)
geosearchStore in interface GeoBinaryCommandspublic long geosearchStore(byte[] dest,
byte[] src,
GeoSearchParam params)
geosearchStore in interface GeoBinaryCommandspublic long geosearchStoreStoreDist(byte[] dest,
byte[] src,
GeoSearchParam params)
geosearchStoreStoreDist in interface GeoBinaryCommandspublic long pfadd(String key, String... elements)
pfadd in interface HyperLogLogCommandspublic String pfmerge(String destkey, String... sourcekeys)
pfmerge in interface HyperLogLogCommandspublic long pfcount(String key)
pfcount in interface HyperLogLogCommandspublic long pfcount(String... keys)
pfcount in interface HyperLogLogCommandspublic long pfadd(byte[] key,
byte[]... elements)
pfadd in interface HyperLogLogBinaryCommandspublic String pfmerge(byte[] destkey, byte[]... sourcekeys)
pfmerge in interface HyperLogLogBinaryCommandspublic long pfcount(byte[] key)
pfcount in interface HyperLogLogBinaryCommandspublic long pfcount(byte[]... keys)
pfcount in interface HyperLogLogBinaryCommandspublic StreamEntryID xadd(String key, StreamEntryID id, Map<String,String> hash)
StreamCommandsxadd in interface StreamCommandspublic StreamEntryID xadd(String key, XAddParams params, Map<String,String> hash)
xadd in interface StreamCommandspublic long xlen(String key)
StreamCommandsxlen in interface StreamCommandspublic List<StreamEntry> xrange(String key, StreamEntryID start, StreamEntryID end)
StreamCommandsxrange in interface StreamCommandsstart - 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)
StreamCommandsxrange in interface StreamCommandsstart - 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 List<StreamEntry> xrevrange(String key, StreamEntryID end, StreamEntryID start)
StreamCommandsxrevrange in interface StreamCommandsend - 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)
StreamCommandsxrevrange in interface StreamCommandsend - 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 List<StreamEntry> xrange(String key, String start, String end)
xrange in interface StreamCommandspublic List<StreamEntry> xrange(String key, String start, String end, int count)
xrange in interface StreamCommandspublic List<StreamEntry> xrevrange(String key, String end, String start)
xrevrange in interface StreamCommandspublic List<StreamEntry> xrevrange(String key, String end, String start, int count)
xrevrange in interface StreamCommandspublic long xack(String key, String group, StreamEntryID... ids)
StreamCommandsxack in interface StreamCommandspublic String xgroupCreate(String key, String groupname, StreamEntryID id, boolean makeStream)
StreamCommandsxgroupCreate in interface StreamCommandspublic String xgroupSetID(String key, String groupname, StreamEntryID id)
StreamCommandsxgroupSetID in interface StreamCommandspublic long xgroupDestroy(String key, String groupname)
StreamCommandsxgroupDestroy in interface StreamCommandspublic long xgroupDelConsumer(String key, String groupname, String consumername)
StreamCommandsxgroupDelConsumer in interface StreamCommandspublic StreamPendingSummary xpending(String key, String groupname)
StreamCommandsxpending in interface StreamCommandspublic List<StreamPendingEntry> xpending(String key, String groupname, StreamEntryID start, StreamEntryID end, int count, String consumername)
StreamCommandsxpending in interface StreamCommandspublic List<StreamPendingEntry> xpending(String key, String groupname, XPendingParams params)
StreamCommandsxpending in interface StreamCommandspublic long xdel(String key, StreamEntryID... ids)
StreamCommandsxdel in interface StreamCommandspublic long xtrim(String key, long maxLen, boolean approximate)
StreamCommandsxtrim in interface StreamCommandspublic long xtrim(String key, XTrimParams params)
StreamCommandsxtrim in interface StreamCommandspublic List<StreamEntry> xclaim(String key, String group, String consumername, long minIdleTime, XClaimParams params, StreamEntryID... ids)
StreamCommandsxclaim in interface StreamCommandspublic List<StreamEntryID> xclaimJustId(String key, String group, String consumername, long minIdleTime, XClaimParams params, StreamEntryID... ids)
StreamCommandsxclaimJustId in interface StreamCommandspublic Map.Entry<StreamEntryID,List<StreamEntry>> xautoclaim(String key, String group, String consumerName, long minIdleTime, StreamEntryID start, XAutoClaimParams params)
StreamCommandsxautoclaim in interface StreamCommandskey - 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 - XAutoClaimParamspublic Map.Entry<StreamEntryID,List<StreamEntryID>> xautoclaimJustId(String key, String group, String consumerName, long minIdleTime, StreamEntryID start, XAutoClaimParams params)
StreamCommandsxautoclaimJustId in interface StreamCommandskey - 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 - XAutoClaimParamspublic StreamInfo xinfoStream(String key)
StreamCommandsxinfoStream in interface StreamCommandskey - Stream nameStreamInfo that contains information about the streampublic StreamFullInfo xinfoStreamFull(String key)
StreamCommandsxinfoStreamFull in interface StreamCommandskey - Stream nameStreamFullInfo that contains information about the streampublic StreamFullInfo xinfoStreamFull(String key, int count)
StreamCommandsxinfoStreamFull in interface StreamCommandskey - Stream namecount - stream info countStreamFullInfo that contains information about the stream@Deprecated public List<StreamGroupInfo> xinfoGroup(String key)
xinfoGroup in interface StreamCommandspublic List<StreamGroupInfo> xinfoGroups(String key)
StreamCommandsxinfoGroups in interface StreamCommandskey - Stream nameStreamGroupInfo containing information about groupspublic List<StreamConsumersInfo> xinfoConsumers(String key, String group)
StreamCommandsxinfoConsumers in interface StreamCommandskey - Stream namegroup - Group nameStreamConsumersInfo containing information about consumers that belong
to the the grouppublic List<Map.Entry<String,List<StreamEntry>>> xread(XReadParams xReadParams, Map<String,StreamEntryID> streams)
StreamCommandsxread in interface StreamCommandspublic List<Map.Entry<String,List<StreamEntry>>> xreadGroup(String groupname, String consumer, XReadGroupParams xReadGroupParams, Map<String,StreamEntryID> streams)
StreamCommandsxreadGroup in interface StreamCommandspublic byte[] xadd(byte[] key,
XAddParams params,
Map<byte[],byte[]> hash)
xadd in interface StreamBinaryCommandspublic long xlen(byte[] key)
xlen in interface StreamBinaryCommandspublic List<byte[]> xrange(byte[] key, byte[] start, byte[] end)
xrange in interface StreamBinaryCommandspublic List<byte[]> xrange(byte[] key, byte[] start, byte[] end, int count)
xrange in interface StreamBinaryCommandspublic List<byte[]> xrevrange(byte[] key, byte[] end, byte[] start)
xrevrange in interface StreamBinaryCommandspublic List<byte[]> xrevrange(byte[] key, byte[] end, byte[] start, int count)
xrevrange in interface StreamBinaryCommandspublic long xack(byte[] key,
byte[] group,
byte[]... ids)
xack in interface StreamBinaryCommandspublic String xgroupCreate(byte[] key, byte[] groupname, byte[] id, boolean makeStream)
xgroupCreate in interface StreamBinaryCommandspublic String xgroupSetID(byte[] key, byte[] groupname, byte[] id)
xgroupSetID in interface StreamBinaryCommandspublic long xgroupDestroy(byte[] key,
byte[] groupname)
xgroupDestroy in interface StreamBinaryCommandspublic long xgroupDelConsumer(byte[] key,
byte[] groupname,
byte[] consumerName)
xgroupDelConsumer in interface StreamBinaryCommandspublic long xdel(byte[] key,
byte[]... ids)
xdel in interface StreamBinaryCommandspublic long xtrim(byte[] key,
long maxLen,
boolean approximateLength)
xtrim in interface StreamBinaryCommandspublic long xtrim(byte[] key,
XTrimParams params)
xtrim in interface StreamBinaryCommandspublic Object xpending(byte[] key, byte[] groupname)
xpending in interface StreamBinaryCommandspublic List<Object> xpending(byte[] key, byte[] groupname, byte[] start, byte[] end, int count, byte[] consumername)
xpending in interface StreamBinaryCommandspublic List<Object> xpending(byte[] key, byte[] groupname, XPendingParams params)
xpending in interface StreamBinaryCommandspublic List<byte[]> xclaim(byte[] key, byte[] group, byte[] consumername, long minIdleTime, XClaimParams params, byte[]... ids)
xclaim in interface StreamBinaryCommandspublic List<byte[]> xclaimJustId(byte[] key, byte[] group, byte[] consumername, long minIdleTime, XClaimParams params, byte[]... ids)
xclaimJustId in interface StreamBinaryCommandspublic List<Object> xautoclaim(byte[] key, byte[] groupName, byte[] consumerName, long minIdleTime, byte[] start, XAutoClaimParams params)
xautoclaim in interface StreamBinaryCommandspublic List<Object> xautoclaimJustId(byte[] key, byte[] groupName, byte[] consumerName, long minIdleTime, byte[] start, XAutoClaimParams params)
xautoclaimJustId in interface StreamBinaryCommandspublic Object xinfoStream(byte[] key)
xinfoStream in interface StreamBinaryCommandspublic Object xinfoStreamFull(byte[] key)
StreamBinaryCommandsxinfoStreamFull in interface StreamBinaryCommandskey - Stream namepublic Object xinfoStreamFull(byte[] key, int count)
StreamBinaryCommandsxinfoStreamFull in interface StreamBinaryCommandskey - Stream namecount - stream info count@Deprecated public List<Object> xinfoGroup(byte[] key)
xinfoGroup in interface StreamBinaryCommandspublic List<Object> xinfoGroups(byte[] key)
xinfoGroups in interface StreamBinaryCommandspublic List<Object> xinfoConsumers(byte[] key, byte[] group)
xinfoConsumers in interface StreamBinaryCommandspublic List<byte[]> xread(XReadParams xReadParams, Map.Entry<byte[],byte[]>... streams)
xread in interface StreamBinaryCommandspublic List<byte[]> xreadGroup(byte[] groupname, byte[] consumer, XReadGroupParams xReadGroupParams, Map.Entry<byte[],byte[]>... streams)
xreadGroup in interface StreamBinaryCommandspublic Object eval(String script)
eval in interface ScriptingKeyCommandspublic Object eval(String script, int keyCount, String... params)
eval in interface ScriptingKeyCommandspublic Object eval(String script, List<String> keys, List<String> args)
eval in interface ScriptingKeyCommandspublic Object evalsha(String sha1)
evalsha in interface ScriptingKeyCommandspublic Object evalsha(String sha1, int keyCount, String... params)
evalsha in interface ScriptingKeyCommandspublic Object evalsha(String sha1, List<String> keys, List<String> args)
evalsha in interface ScriptingKeyCommandspublic Object eval(byte[] script)
eval in interface ScriptingKeyBinaryCommandspublic Object eval(byte[] script, int keyCount, byte[]... params)
eval in interface ScriptingKeyBinaryCommandspublic Object eval(byte[] script, List<byte[]> keys, List<byte[]> args)
eval in interface ScriptingKeyBinaryCommandspublic Object evalsha(byte[] sha1)
evalsha in interface ScriptingKeyBinaryCommandspublic Object evalsha(byte[] sha1, int keyCount, byte[]... params)
evalsha in interface ScriptingKeyBinaryCommandspublic Object evalsha(byte[] sha1, List<byte[]> keys, List<byte[]> args)
evalsha in interface ScriptingKeyBinaryCommandspublic Long objectRefcount(String key)
objectRefcount in interface KeyCommandspublic String objectEncoding(String key)
objectEncoding in interface KeyCommandspublic Long objectIdletime(String key)
objectIdletime in interface KeyCommandspublic Long objectFreq(String key)
objectFreq in interface KeyCommandspublic Long objectRefcount(byte[] key)
objectRefcount in interface KeyBinaryCommandspublic byte[] objectEncoding(byte[] key)
objectEncoding in interface KeyBinaryCommandspublic Long objectIdletime(byte[] key)
objectIdletime in interface KeyBinaryCommandspublic Long objectFreq(byte[] key)
objectFreq in interface KeyBinaryCommandspublic String migrate(String host, int port, String key, int timeout)
migrate in interface KeyCommandspublic String migrate(String host, int port, int timeout, MigrateParams params, String... keys)
migrate in interface KeyCommandspublic String migrate(String host, int port, byte[] key, int timeout)
migrate in interface KeyBinaryCommandspublic String migrate(String host, int port, int timeout, MigrateParams params, byte[]... keys)
migrate in interface KeyBinaryCommandspublic long waitReplicas(String sampleKey, int replicas, long timeout)
waitReplicas in interface SampleKeyedCommandspublic long waitReplicas(byte[] sampleKey,
int replicas,
long timeout)
waitReplicas in interface SampleBinaryKeyedCommandspublic Object eval(String script, String sampleKey)
eval in interface SampleKeyedCommandspublic Object evalsha(String sha1, String sampleKey)
evalsha in interface SampleKeyedCommandspublic Object eval(byte[] script, byte[] sampleKey)
eval in interface SampleBinaryKeyedCommandspublic Object evalsha(byte[] sha1, byte[] sampleKey)
evalsha in interface SampleBinaryKeyedCommandspublic Boolean scriptExists(String sha1, String sampleKey)
scriptExists in interface SampleKeyedCommandspublic List<Boolean> scriptExists(String sampleKey, String... sha1s)
scriptExists in interface SampleKeyedCommandspublic Boolean scriptExists(byte[] sha1, byte[] sampleKey)
scriptExists in interface SampleBinaryKeyedCommandspublic List<Boolean> scriptExists(byte[] sampleKey, byte[]... sha1s)
scriptExists in interface SampleBinaryKeyedCommandspublic String scriptLoad(String script, String sampleKey)
scriptLoad in interface SampleKeyedCommandspublic String scriptFlush(String sampleKey)
scriptFlush in interface SampleKeyedCommandspublic String scriptFlush(String sampleKey, FlushMode flushMode)
scriptFlush in interface SampleKeyedCommandspublic String scriptKill(String sampleKey)
scriptKill in interface SampleKeyedCommandspublic byte[] scriptLoad(byte[] script,
byte[] sampleKey)
scriptLoad in interface SampleBinaryKeyedCommandspublic String scriptFlush(byte[] sampleKey)
scriptFlush in interface SampleBinaryKeyedCommandspublic String scriptFlush(byte[] sampleKey, FlushMode flushMode)
scriptFlush in interface SampleBinaryKeyedCommandspublic String scriptKill(byte[] sampleKey)
scriptKill in interface SampleBinaryKeyedCommandspublic long publish(byte[] channel,
byte[] message)
public void subscribe(JedisPubSub jedisPubSub, String... channels)
public void psubscribe(JedisPubSub jedisPubSub, String... patterns)
public void subscribe(BinaryJedisPubSub jedisPubSub, byte[]... channels)
public void psubscribe(BinaryJedisPubSub jedisPubSub, byte[]... patterns)
public LCSMatchResult strAlgoLCSStrings(String strA, String strB, StrAlgoLCSParams params)
public LCSMatchResult strAlgoLCSStrings(byte[] strA, byte[] strB, StrAlgoLCSParams params)
public String ftCreate(String indexName, IndexOptions indexOptions, Schema schema)
ftCreate in interface RediSearchCommandspublic String ftAlter(String indexName, Schema schema)
ftAlter in interface RediSearchCommandspublic SearchResult ftSearch(String indexName, Query query)
ftSearch in interface RediSearchCommandspublic SearchResult ftSearch(byte[] indexName, Query query)
ftSearch in interface RediSearchCommandspublic String ftExplain(String indexName, Query query)
ftExplain in interface RediSearchCommandspublic List<String> ftExplainCLI(String indexName, Query query)
ftExplainCLI in interface RediSearchCommandspublic AggregationResult ftAggregate(String indexName, AggregationBuilder aggr)
ftAggregate in interface RediSearchCommandspublic AggregationResult ftCursorRead(String indexName, long cursorId, int count)
ftCursorRead in interface RediSearchCommandspublic String ftCursorDel(String indexName, long cursorId)
ftCursorDel in interface RediSearchCommandspublic String ftDropIndex(String indexName)
ftDropIndex in interface RediSearchCommandspublic String ftDropIndexDD(String indexName)
ftDropIndexDD in interface RediSearchCommandspublic String ftSynUpdate(String indexName, String synonymGroupId, String... terms)
ftSynUpdate in interface RediSearchCommandspublic Map<String,List<String>> ftSynDump(String indexName)
ftSynDump in interface RediSearchCommandspublic Map<String,Object> ftInfo(String indexName)
ftInfo in interface RediSearchCommandspublic String ftAliasAdd(String aliasName, String indexName)
ftAliasAdd in interface RediSearchCommandspublic String ftAliasUpdate(String aliasName, String indexName)
ftAliasUpdate in interface RediSearchCommandspublic String ftAliasDel(String aliasName)
ftAliasDel in interface RediSearchCommandspublic Map<String,String> ftConfigGet(String option)
ftConfigGet in interface RediSearchCommandspublic Map<String,String> ftConfigGet(String indexName, String option)
ftConfigGet in interface RediSearchCommandspublic String ftConfigSet(String option, String value)
ftConfigSet in interface RediSearchCommandspublic String ftConfigSet(String indexName, String option, String value)
ftConfigSet in interface RediSearchCommandspublic String jsonSet(String key, Path2 path, Object object)
jsonSet in interface RedisJsonCommandspublic String jsonSetWithEscape(String key, Path2 path, Object object)
jsonSetWithEscape in interface RedisJsonCommandspublic String jsonSet(String key, Path path, Object pojo)
jsonSet in interface RedisJsonCommandspublic String jsonSet(String key, Path2 path, Object pojo, JsonSetParams params)
jsonSet in interface RedisJsonCommandspublic String jsonSetWithEscape(String key, Path2 path, Object pojo, JsonSetParams params)
jsonSetWithEscape in interface RedisJsonCommandspublic String jsonSet(String key, Path path, Object pojo, JsonSetParams params)
jsonSet in interface RedisJsonCommandspublic Object jsonGet(String key)
jsonGet in interface RedisJsonCommandspublic <T> T jsonGet(String key, Class<T> clazz)
jsonGet in interface RedisJsonCommandspublic Object jsonGet(String key, Path2... paths)
jsonGet in interface RedisJsonCommandspublic Object jsonGet(String key, Path... paths)
jsonGet in interface RedisJsonCommandspublic <T> T jsonGet(String key, Class<T> clazz, Path... paths)
jsonGet in interface RedisJsonCommandspublic List<org.json.JSONArray> jsonMGet(Path2 path, String... keys)
jsonMGet in interface RedisJsonCommandspublic <T> List<T> jsonMGet(Path path, Class<T> clazz, String... keys)
jsonMGet in interface RedisJsonCommandspublic long jsonDel(String key)
jsonDel in interface RedisJsonCommandspublic long jsonDel(String key, Path2 path)
jsonDel in interface RedisJsonCommandspublic long jsonDel(String key, Path path)
jsonDel in interface RedisJsonCommandspublic long jsonClear(String key)
jsonClear in interface RedisJsonCommandspublic long jsonClear(String key, Path2 path)
jsonClear in interface RedisJsonCommandspublic long jsonClear(String key, Path path)
jsonClear in interface RedisJsonCommandspublic List<Boolean> jsonToggle(String key, Path2 path)
jsonToggle in interface RedisJsonCommandspublic String jsonToggle(String key, Path path)
jsonToggle in interface RedisJsonCommandspublic Class<?> jsonType(String key)
jsonType in interface RedisJsonCommandspublic List<Class<?>> jsonType(String key, Path2 path)
jsonType in interface RedisJsonCommandspublic Class<?> jsonType(String key, Path path)
jsonType in interface RedisJsonCommandspublic long jsonStrAppend(String key, Object string)
jsonStrAppend in interface RedisJsonCommandspublic List<Long> jsonStrAppend(String key, Path2 path, Object string)
jsonStrAppend in interface RedisJsonCommandspublic long jsonStrAppend(String key, Path path, Object string)
jsonStrAppend in interface RedisJsonCommandspublic Long jsonStrLen(String key)
jsonStrLen in interface RedisJsonCommandspublic List<Long> jsonStrLen(String key, Path2 path)
jsonStrLen in interface RedisJsonCommandspublic Long jsonStrLen(String key, Path path)
jsonStrLen in interface RedisJsonCommandspublic List<Long> jsonArrAppend(String key, Path2 path, Object... objects)
jsonArrAppend in interface RedisJsonCommandspublic List<Long> jsonArrAppendWithEscape(String key, Path2 path, Object... objects)
jsonArrAppendWithEscape in interface RedisJsonCommandspublic Long jsonArrAppend(String key, Path path, Object... pojos)
jsonArrAppend in interface RedisJsonCommandspublic List<Long> jsonArrIndex(String key, Path2 path, Object scalar)
jsonArrIndex in interface RedisJsonCommandspublic List<Long> jsonArrIndexWithEscape(String key, Path2 path, Object scalar)
jsonArrIndexWithEscape in interface RedisJsonCommandspublic long jsonArrIndex(String key, Path path, Object scalar)
jsonArrIndex in interface RedisJsonCommandspublic List<Long> jsonArrInsert(String key, Path2 path, int index, Object... objects)
jsonArrInsert in interface RedisJsonCommandspublic List<Long> jsonArrInsertWithEscape(String key, Path2 path, int index, Object... objects)
jsonArrInsertWithEscape in interface RedisJsonCommandspublic long jsonArrInsert(String key, Path path, int index, Object... pojos)
jsonArrInsert in interface RedisJsonCommandspublic Object jsonArrPop(String key)
jsonArrPop in interface RedisJsonCommandspublic <T> T jsonArrPop(String key, Class<T> clazz)
jsonArrPop in interface RedisJsonCommandspublic List<Object> jsonArrPop(String key, Path2 path)
jsonArrPop in interface RedisJsonCommandspublic Object jsonArrPop(String key, Path path)
jsonArrPop in interface RedisJsonCommandspublic <T> T jsonArrPop(String key, Class<T> clazz, Path path)
jsonArrPop in interface RedisJsonCommandspublic List<Object> jsonArrPop(String key, Path2 path, int index)
jsonArrPop in interface RedisJsonCommandspublic Object jsonArrPop(String key, Path path, int index)
jsonArrPop in interface RedisJsonCommandspublic <T> T jsonArrPop(String key, Class<T> clazz, Path path, int index)
jsonArrPop in interface RedisJsonCommandspublic Long jsonArrLen(String key)
jsonArrLen in interface RedisJsonCommandspublic List<Long> jsonArrLen(String key, Path2 path)
jsonArrLen in interface RedisJsonCommandspublic Long jsonArrLen(String key, Path path)
jsonArrLen in interface RedisJsonCommandspublic List<Long> jsonArrTrim(String key, Path2 path, int start, int stop)
jsonArrTrim in interface RedisJsonCommandspublic Long jsonArrTrim(String key, Path path, int start, int stop)
jsonArrTrim in interface RedisJsonCommandspublic Object sendCommand(ProtocolCommand cmd)
public Object sendCommand(ProtocolCommand cmd, byte[]... args)
public Object sendBlockingCommand(ProtocolCommand cmd, byte[]... args)
public Object sendCommand(ProtocolCommand cmd, String... args)
public Object sendBlockingCommand(ProtocolCommand cmd, String... args)
public Object sendCommand(byte[] sampleKey, ProtocolCommand cmd, byte[]... args)
public Object sendBlockingCommand(byte[] sampleKey, ProtocolCommand cmd, byte[]... args)
public Object sendCommand(String sampleKey, ProtocolCommand cmd, String... args)
public Object sendBlockingCommand(String sampleKey, ProtocolCommand cmd, String... args)
public Object executeCommand(CommandArguments args)
Copyright © 2022. All rights reserved.