public interface Commands
Modifier and Type | Method and Description |
---|---|
void |
append(String key,
String value) |
void |
bgrewriteaof() |
void |
bgsave() |
void |
bitcount(String key) |
void |
bitcount(String key,
long start,
long end) |
void |
bitfield(String key,
String... arguments)
Used for BITFIELD Redis command
|
void |
bitop(BitOP op,
String destKey,
String... srcKeys) |
void |
blpop(String[] args) |
void |
brpop(String[] args) |
void |
brpoplpush(String source,
String destination,
int timeout) |
void |
configGet(String pattern) |
void |
configResetStat() |
void |
configSet(String parameter,
String value) |
void |
decr(String key) |
void |
decrBy(String key,
long decrement) |
void |
del(String... keys) |
void |
discard() |
void |
echo(String string) |
void |
exec() |
void |
exists(String... keys) |
void |
exists(String key) |
void |
expire(String key,
int seconds) |
void |
expireAt(String key,
long unixTime) |
void |
get(String key) |
void |
getbit(String key,
long offset) |
void |
getrange(String key,
long startOffset,
long endOffset) |
void |
getSet(String key,
String value) |
void |
hdel(String key,
String... fields) |
void |
hexists(String key,
String field) |
void |
hget(String key,
String field) |
void |
hgetAll(String key) |
void |
hincrBy(String key,
String field,
long value) |
void |
hincrByFloat(String key,
String field,
double value) |
void |
hkeys(String key) |
void |
hlen(String key) |
void |
hmget(String key,
String... fields) |
void |
hmset(String key,
Map<String,String> hash) |
void |
hscan(String key,
int cursor,
ScanParams params)
Deprecated.
|
void |
hscan(String key,
String cursor,
ScanParams params) |
void |
hset(String key,
String field,
String value) |
void |
hsetnx(String key,
String field,
String value) |
void |
hvals(String key) |
void |
incr(String key) |
void |
incrBy(String key,
long increment) |
void |
incrByFloat(String key,
double increment) |
void |
keys(String pattern) |
void |
lastsave() |
void |
lindex(String key,
long index) |
void |
linsert(String key,
BinaryClient.LIST_POSITION where,
String pivot,
String value) |
void |
llen(String key) |
void |
lpop(String key) |
void |
lpush(String key,
String... strings) |
void |
lpushx(String key,
String... string) |
void |
lrange(String key,
long start,
long stop) |
void |
lrem(String key,
long count,
String value) |
void |
lset(String key,
long index,
String value) |
void |
ltrim(String key,
long start,
long stop) |
void |
mget(String... keys) |
void |
move(String key,
int dbIndex) |
void |
mset(String... keysvalues) |
void |
msetnx(String... keysvalues) |
void |
multi() |
void |
objectEncoding(String key) |
void |
objectIdletime(String key) |
void |
objectRefcount(String key) |
void |
persist(String key) |
void |
pttl(String key) |
void |
rename(String oldkey,
String newkey) |
void |
renamenx(String oldkey,
String newkey) |
void |
rpop(String key) |
void |
rpoplpush(String srckey,
String dstkey) |
void |
rpush(String key,
String... strings) |
void |
rpushx(String key,
String... string) |
void |
sadd(String key,
String... members) |
void |
save() |
void |
scan(int cursor,
ScanParams params)
Deprecated.
|
void |
scan(String cursor,
ScanParams params) |
void |
scard(String key) |
void |
sdiff(String... keys) |
void |
sdiffstore(String dstkey,
String... keys) |
void |
set(String key,
String value) |
void |
set(String key,
String value,
String nxxx,
String expx,
long time) |
void |
setbit(String key,
long offset,
boolean value) |
void |
setbit(String key,
long offset,
String value) |
void |
setex(String key,
int seconds,
String value) |
void |
setnx(String key,
String value) |
void |
setrange(String key,
long offset,
String value) |
void |
sinter(String... keys) |
void |
sinterstore(String dstkey,
String... keys) |
void |
sismember(String key,
String member) |
void |
smembers(String key) |
void |
smove(String srckey,
String dstkey,
String member) |
void |
sort(String key) |
void |
sort(String key,
SortingParams sortingParameters) |
void |
sort(String key,
SortingParams sortingParameters,
String dstkey) |
void |
sort(String key,
String dstkey) |
void |
spop(String key) |
void |
spop(String key,
long count) |
void |
srandmember(String key) |
void |
srem(String key,
String... member) |
void |
sscan(String key,
int cursor,
ScanParams params)
Deprecated.
|
void |
sscan(String key,
String cursor,
ScanParams params) |
void |
strlen(String key) |
void |
substr(String key,
int start,
int end) |
void |
sunion(String... keys) |
void |
sunionstore(String dstkey,
String... keys) |
void |
ttl(String key) |
void |
type(String key) |
void |
waitReplicas(int replicas,
long timeout) |
void |
watch(String... keys) |
void |
zadd(String key,
double score,
String member) |
void |
zadd(String key,
double score,
String member,
ZAddParams params) |
void |
zadd(String key,
Map<String,Double> scoreMembers) |
void |
zadd(String key,
Map<String,Double> scoreMembers,
ZAddParams params) |
void |
zcard(String key) |
void |
zcount(String key,
double min,
double max) |
void |
zcount(String key,
String min,
String max) |
void |
zincrby(String key,
double increment,
String member) |
void |
zincrby(String key,
double increment,
String member,
ZIncrByParams params) |
void |
zinterstore(String dstkey,
String... sets) |
void |
zinterstore(String dstkey,
ZParams params,
String... sets) |
void |
zrange(String key,
long start,
long stop) |
void |
zrangeByScore(String key,
double min,
double max) |
void |
zrangeByScore(String key,
double min,
double max,
int offset,
int count) |
void |
zrangeByScore(String key,
String min,
String max) |
void |
zrangeByScore(String key,
String min,
String max,
int offset,
int count) |
void |
zrangeByScoreWithScores(String key,
double min,
double max) |
void |
zrangeByScoreWithScores(String key,
double min,
double max,
int offset,
int count) |
void |
zrangeByScoreWithScores(String key,
String min,
String max) |
void |
zrangeByScoreWithScores(String key,
String min,
String max,
int offset,
int count) |
void |
zrangeWithScores(String key,
long start,
long stop) |
void |
zrank(String key,
String member) |
void |
zrem(String key,
String... members) |
void |
zremrangeByRank(String key,
long start,
long stop) |
void |
zremrangeByScore(String key,
double min,
double max) |
void |
zremrangeByScore(String key,
String min,
String max) |
void |
zrevrange(String key,
long start,
long stop) |
void |
zrevrangeByScore(String key,
double max,
double min) |
void |
zrevrangeByScore(String key,
double max,
double min,
int offset,
int count) |
void |
zrevrangeByScore(String key,
String max,
String min) |
void |
zrevrangeByScore(String key,
String max,
String min,
int offset,
int count) |
void |
zrevrangeByScoreWithScores(String key,
double max,
double min) |
void |
zrevrangeByScoreWithScores(String key,
double max,
double min,
int offset,
int count) |
void |
zrevrangeByScoreWithScores(String key,
String max,
String min) |
void |
zrevrangeByScoreWithScores(String key,
String max,
String min,
int offset,
int count) |
void |
zrevrangeWithScores(String key,
long start,
long stop) |
void |
zrevrank(String key,
String member) |
void |
zscan(String key,
int cursor,
ScanParams params)
Deprecated.
|
void |
zscan(String key,
String cursor,
ScanParams params) |
void |
zscore(String key,
String member) |
void |
zunionstore(String dstkey,
String... sets) |
void |
zunionstore(String dstkey,
ZParams params,
String... sets) |
void get(String key)
void exists(String key)
void exists(String... keys)
void del(String... keys)
void type(String key)
void keys(String pattern)
void expire(String key, int seconds)
void expireAt(String key, long unixTime)
void ttl(String key)
void pttl(String key)
void setbit(String key, long offset, boolean value)
void getbit(String key, long offset)
void getrange(String key, long startOffset, long endOffset)
void move(String key, int dbIndex)
void mget(String... keys)
void mset(String... keysvalues)
void msetnx(String... keysvalues)
void decrBy(String key, long decrement)
void decr(String key)
void incrBy(String key, long increment)
void incrByFloat(String key, double increment)
void incr(String key)
void substr(String key, int start, int end)
void hlen(String key)
void hkeys(String key)
void hvals(String key)
void hgetAll(String key)
void llen(String key)
void lrange(String key, long start, long stop)
void ltrim(String key, long start, long stop)
void lindex(String key, long index)
void lpop(String key)
void rpop(String key)
void smembers(String key)
void spop(String key)
void spop(String key, long count)
void scard(String key)
void sinter(String... keys)
void sunion(String... keys)
void sdiff(String... keys)
void srandmember(String key)
void zadd(String key, double score, String member, ZAddParams params)
void zadd(String key, Map<String,Double> scoreMembers, ZAddParams params)
void zrange(String key, long start, long stop)
void zincrby(String key, double increment, String member, ZIncrByParams params)
void zrevrange(String key, long start, long stop)
void zrangeWithScores(String key, long start, long stop)
void zrevrangeWithScores(String key, long start, long stop)
void zcard(String key)
void watch(String... keys)
void sort(String key)
void sort(String key, SortingParams sortingParameters)
void blpop(String[] args)
void sort(String key, SortingParams sortingParameters, String dstkey)
void brpop(String[] args)
void zcount(String key, double min, double max)
void zrangeByScore(String key, double min, double max)
void zrangeByScore(String key, double min, double max, int offset, int count)
void zrangeByScoreWithScores(String key, double min, double max)
void zrangeByScoreWithScores(String key, double min, double max, int offset, int count)
void zrangeByScoreWithScores(String key, String min, String max, int offset, int count)
void zrevrangeByScore(String key, double max, double min)
void zrevrangeByScore(String key, double max, double min, int offset, int count)
void zrevrangeByScoreWithScores(String key, double max, double min)
void zrevrangeByScoreWithScores(String key, double max, double min, int offset, int count)
void zrevrangeByScoreWithScores(String key, String max, String min, int offset, int count)
void zremrangeByRank(String key, long start, long stop)
void zremrangeByScore(String key, double min, double max)
void strlen(String key)
void persist(String key)
void echo(String string)
void linsert(String key, BinaryClient.LIST_POSITION where, String pivot, String value)
void bgrewriteaof()
void bgsave()
void lastsave()
void save()
void configGet(String pattern)
void configResetStat()
void multi()
void exec()
void discard()
void objectRefcount(String key)
void objectIdletime(String key)
void objectEncoding(String key)
void bitcount(String key)
void bitcount(String key, long start, long end)
@Deprecated void scan(int cursor, ScanParams params)
@Deprecated void hscan(String key, int cursor, ScanParams params)
@Deprecated void sscan(String key, int cursor, ScanParams params)
@Deprecated void zscan(String key, int cursor, ScanParams params)
void scan(String cursor, ScanParams params)
void hscan(String key, String cursor, ScanParams params)
void sscan(String key, String cursor, ScanParams params)
void zscan(String key, String cursor, ScanParams params)
void waitReplicas(int replicas, long timeout)
Copyright © 2019. All rights reserved.