public abstract class AbstractRedisClient extends Object implements IRedisClient
IRedisSortedSet.ZsetPair| Constructor and Description |
|---|
AbstractRedisClient() |
| Modifier and Type | Method and Description |
|---|---|
Long |
append(String key,
String value)
Append value onto key.
|
Long |
bitcount(String key,
long... options)
Count the number of set bits in a string.
|
Long |
bitop(String operation,
String destkey,
String... keys)
Perform a bitwise operation between multiple keys and store the result in the destination key.
|
Long |
bitpos(String key,
long bit,
long... options)
Return the position of the first bit set to 0 or 1 in a string.
|
void |
close()
Close this client.
|
Long |
decr(String key)
Decrement the number stored at key by one.
|
Long |
decrby(String key,
long decrement)
Decrement the number stored at key by the given decrement.
|
Long |
del(String... keys) |
String |
discard() |
String |
dump(String key) |
List<Object> |
exec() |
Boolean |
exists(String key) |
Boolean |
expire(String key,
int seconds) |
Boolean |
expireat(String key,
long timestamp) |
String |
get(String key)
Get the value of a key.
|
Boolean |
getbit(String key,
long offset)
Returns the bit value at offset in the string value stored at key.
|
String |
getrange(String key,
long start,
long end)
Returns the substring of the string value stored at key, determined by the inclusive offsets
start and end.
|
String |
getset(String key,
String value)
Atomically set a key and return its previous value.
|
Long |
hdel(String key,
String field,
String... fields) |
Boolean |
hexists(String key,
String field) |
String |
hget(String key,
String field) |
Map<String,String> |
hgetall(String key) |
Long |
hincrby(String key,
String field,
long increment) |
String |
hincrbyfloat(String key,
String field,
double increment) |
Set<String> |
hkeys(String key) |
Long |
hlen(String key) |
List<String> |
hmget(String key,
String field,
String... fields) |
String |
hmset(String key,
String field,
String value,
String... fieldsvalues) |
ScanResult<Map<String,String>> |
hscan(String key,
long cursor,
String... options) |
Boolean |
hset(String key,
String field,
String value) |
Boolean |
hsetnx(String key,
String field,
String value) |
Long |
hstrlen(String key,
String field) |
List<String> |
hvals(String key) |
Long |
incr(String key)
Increment the number stored at key by one.
|
Long |
incrby(String key,
long increment)
Increment the number stored at key by the given increment.
|
String |
incrbyfloat(String key,
double increment)
Increment the number stored at key by the given increment.
|
String[] |
keys(String pattern) |
String |
lindex(String key,
long index) |
Long |
linsert(String key,
String before_after,
String pivot,
String value) |
Long |
llen(String key) |
String |
lpop(String key) |
Long |
lpush(String key,
String element,
String... elements) |
Long |
lpushx(String key,
String element) |
List<String> |
lrange(String key,
long start,
long end) |
Long |
lrem(String key,
long count,
String element) |
String |
lset(String key,
long index,
String element) |
String |
ltrim(String key,
long start,
long end) |
String[] |
mget(String... keys)
Returns the values of all specified keys.
|
String |
migrate(String host,
int port,
String key,
String destination_db,
int timeout,
String... options) |
Long |
move(String key,
int db) |
String |
mset(String... keyvalues)
Sets the given keys to their respective values.
|
Boolean |
msetnx(String... keyvalues)
Sets the given keys to their respective values.
|
IRedisClient |
multi() |
Object |
object(String subcommand,
String... arguments) |
Boolean |
persist(String key) |
Boolean |
pexpire(String key,
long milliseconds) |
Boolean |
pexpireat(String key,
long timestamp) |
String |
psetex(String key,
long milliseconds,
String value)
Set and expire a key in milliseconds.
|
Long |
pttl(String key) |
String |
randomkey() |
String |
rename(String key,
String newkey) |
Boolean |
renamenx(String key,
String newkey) |
String |
restore(String key,
int ttl,
String serialized_valued) |
String |
rpop(String key) |
String |
rpoplpush(String source,
String dest) |
Long |
rpush(String key,
String element,
String... elements) |
Long |
rpushx(String key,
String element) |
Long |
sadd(String key,
String member,
String... members) |
String[] |
scan(int cursor) |
Long |
scard(String key) |
Set<String> |
sdiff(String key,
String... keys) |
Long |
sdiffstore(String destination,
String key,
String... keys) |
String |
set(String key,
String value,
String... options)
Set key to hold the string value.
|
Long |
setbit(String key,
long offset,
boolean value)
Sets or clears the bit at offset in the string value stored at key.
|
String |
setex(String key,
int seconds,
String value)
Set and expire a key in seconds.
|
Long |
setnx(String key,
String value)
Set a key only if it does not already exist.
|
Long |
setrange(String key,
long offset,
String value)
Ovewrite part of the string starting at offset with value.
|
Set<String> |
sinter(String key,
String... keys) |
Long |
sinterstore(String destination,
String key,
String... keys) |
Boolean |
sismember(String key,
String member) |
Set<String> |
smembers(String key) |
Boolean |
smove(String source,
String dest,
String member) |
String[] |
sort(String key,
String... options) |
String |
spop(String key) |
String |
srandmember(String key) |
List<String> |
srandmember(String key,
long count) |
Long |
srem(String key,
String member,
String... members) |
ScanResult<Set<String>> |
sscan(String key,
long cursor,
String... options) |
Long |
strlen(String key)
Return the length of the string at key.
|
Set<String> |
sunion(String key,
String... keys) |
Long |
sunionstore(String destination,
String key,
String... keys) |
Long |
ttl(String key) |
String |
type(String key) |
String |
unwatch() |
String |
watch(String key) |
Long |
zadd(String key,
double score,
String member,
Object... scoresmembers) |
Long |
zadd(String key,
IRedisSortedSet.ZsetPair scoremember,
IRedisSortedSet.ZsetPair... scoresmembers) |
Long |
zcard(String key) |
Long |
zcount(String key,
double min,
double max) |
String |
zincrby(String key,
double increment,
String member) |
Long |
zinterstore(String destination,
int numkeys,
String... options) |
Long |
zlexcount(String key,
String min,
String max) |
Set<IRedisSortedSet.ZsetPair> |
zrange(String key,
long start,
long stop,
String... options) |
Set<IRedisSortedSet.ZsetPair> |
zrangebylex(String key,
String min,
String max,
String... options) |
Set<IRedisSortedSet.ZsetPair> |
zrangebyscore(String key,
String min,
String max,
String... options) |
Long |
zrank(String key,
String member) |
Long |
zrem(String key,
String member,
String... members) |
Long |
zremrangebylex(String key,
String min,
String max) |
Long |
zremrangebyrank(String key,
long start,
long stop) |
Long |
zremrangebyscore(String key,
String min,
String max) |
Set<IRedisSortedSet.ZsetPair> |
zrevrange(String key,
long start,
long stop,
String... options) |
Set<IRedisSortedSet.ZsetPair> |
zrevrangebylex(String key,
String max,
String min,
String... options) |
Set<IRedisSortedSet.ZsetPair> |
zrevrangebyscore(String key,
String max,
String min,
String... options) |
Long |
zrevrank(String key,
String member) |
ScanResult<Set<IRedisSortedSet.ZsetPair>> |
zscan(String key,
long cursor,
String... options) |
Double |
zscore(String key,
String member) |
Long |
zunionstore(String destination,
int numkeys,
String... options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateClientpublic void close()
IRedisClientclose in interface IRedisClientpublic Long del(String... keys) throws NotImplementedException
del in interface IRedisKeysNotImplementedExceptionpublic String dump(String key) throws NotImplementedException
dump in interface IRedisKeysNotImplementedExceptionpublic Boolean exists(String key) throws NotImplementedException
exists in interface IRedisKeysNotImplementedExceptionpublic Boolean expire(String key, int seconds) throws NotImplementedException
expire in interface IRedisKeysNotImplementedExceptionpublic Boolean expireat(String key, long timestamp) throws NotImplementedException
expireat in interface IRedisKeysNotImplementedExceptionpublic String[] keys(String pattern) throws NotImplementedException
keys in interface IRedisKeysNotImplementedExceptionpublic String migrate(String host, int port, String key, String destination_db, int timeout, String... options) throws NotImplementedException
migrate in interface IRedisKeysNotImplementedExceptionpublic Long move(String key, int db) throws NotImplementedException
move in interface IRedisKeysNotImplementedExceptionpublic Object object(String subcommand, String... arguments) throws NotImplementedException
object in interface IRedisKeysNotImplementedExceptionpublic Boolean persist(String key) throws NotImplementedException
persist in interface IRedisKeysNotImplementedExceptionpublic Boolean pexpire(String key, long milliseconds) throws NotImplementedException
pexpire in interface IRedisKeysNotImplementedExceptionpublic Boolean pexpireat(String key, long timestamp) throws NotImplementedException
pexpireat in interface IRedisKeysNotImplementedExceptionpublic Long pttl(String key) throws NotImplementedException
pttl in interface IRedisKeysNotImplementedExceptionpublic String randomkey() throws NotImplementedException
randomkey in interface IRedisKeysNotImplementedExceptionpublic String rename(String key, String newkey) throws NotImplementedException
rename in interface IRedisKeysNotImplementedExceptionpublic Boolean renamenx(String key, String newkey) throws NotImplementedException
renamenx in interface IRedisKeysNotImplementedExceptionpublic String restore(String key, int ttl, String serialized_valued) throws NotImplementedException
restore in interface IRedisKeysNotImplementedExceptionpublic String[] sort(String key, String... options) throws NotImplementedException
sort in interface IRedisKeysNotImplementedExceptionpublic Long ttl(String key) throws NotImplementedException
ttl in interface IRedisKeysNotImplementedExceptionpublic String type(String key) throws NotImplementedException
type in interface IRedisKeysNotImplementedExceptionpublic String[] scan(int cursor) throws NotImplementedException
scan in interface IRedisKeysNotImplementedExceptionpublic Long append(String key, String value) throws WrongTypeException, NotImplementedException
IRedisStringappend in interface IRedisStringkey - The keyvalue - The valueWrongTypeException - If key is not a stringNotImplementedException - If the command is unimplemented.public Long bitcount(String key, long... options) throws WrongTypeException, NotImplementedException
IRedisStringbitcount in interface IRedisStringkey - The keyoptions - start, endWrongTypeException - If key is not a stringNotImplementedException - If the command is unimplemented.public Long bitop(String operation, String destkey, String... keys) throws WrongTypeException, NotImplementedException
IRedisStringbitop in interface IRedisStringoperation - The operation to perform. Valid values are "and", "or", "xor", and "not".destkey - The destination key to store the operation result in.keys - The keys to operate against.WrongTypeException - If key is not a stringNotImplementedException - If the command is unimplemented.public Long bitpos(String key, long bit, long... options) throws WrongTypeException, BitArgException, NotImplementedException
IRedisStringbitpos in interface IRedisStringkey - The keybit - 0|1options - start, endWrongTypeException - If key is not a stringBitArgException - If bit is not equal to 0 or 1NotImplementedException - If the command is unimplemented.public Long decr(String key) throws WrongTypeException, NotIntegerException, NotImplementedException
IRedisStringdecr in interface IRedisStringkey - The keyWrongTypeException - If key is not a stringNotIntegerException - If key does not hold an integer valueNotImplementedException - If the command is unimplemented.public Long decrby(String key, long decrement) throws WrongTypeException, NotIntegerException, NotImplementedException
IRedisStringdecrby in interface IRedisStringkey - The keydecrement - The number to decrement byWrongTypeException - If key is not a stringNotIntegerException - If key does not hold an integer valueNotImplementedException - If the command is unimplemented.public String get(String key) throws WrongTypeException, NotImplementedException
IRedisStringget in interface IRedisStringkey - The keyWrongTypeException - If key is not a stringNotImplementedException - If the command is unimplemented.public Boolean getbit(String key, long offset) throws WrongTypeException, NotImplementedException
IRedisStringgetbit in interface IRedisStringkey - The keyoffset - The offset within the stringWrongTypeException - If key is not a stringNotImplementedException - If the command is unimplemented.public String getrange(String key, long start, long end) throws WrongTypeException, NotImplementedException
IRedisStringgetrange in interface IRedisStringkey - The keystart - The start index of the rangeend - The end index of the rangeWrongTypeException - If key is not a stringNotImplementedException - If the command is unimplemented.public String getset(String key, String value) throws WrongTypeException, NotImplementedException
IRedisStringgetset in interface IRedisStringkey - The keyvalue - The new valueWrongTypeException - If key is not a stringNotImplementedException - If the command is unimplemented.public Long incr(String key) throws WrongTypeException, NotIntegerException, NotImplementedException
IRedisStringincr in interface IRedisStringkey - The keyWrongTypeException - If key is not a stringNotIntegerException - If key does not hold an integer valueNotImplementedException - If the command is unimplemented.public Long incrby(String key, long increment) throws WrongTypeException, NotIntegerException, NotImplementedException
IRedisStringincrby in interface IRedisStringkey - The keyincrement - The increment to increase the key byWrongTypeException - If key is not a stringNotIntegerException - If key does not hold an integer valueNotImplementedException - If the command is unimplemented.public String incrbyfloat(String key, double increment) throws WrongTypeException, NotFloatException, NotImplementedException
IRedisStringincrbyfloat in interface IRedisStringkey - The keyincrement - The increment to increase the key byWrongTypeException - If key is not a stringNotFloatException - If key does not hold a floating point valueNotImplementedException - If the command is unimplemented.public String[] mget(String... keys) throws NotImplementedException
IRedisStringmget in interface IRedisStringkeys - The keys to getNotImplementedException - If the command is unimplemented.public String mset(String... keyvalues) throws ArgException, NotImplementedException
IRedisStringmset in interface IRedisStringkeyvalues - The key-value pairs to set.ArgException - If the given arguments are not validNotImplementedException - If the command is unimplemented.public Boolean msetnx(String... keyvalues) throws ArgException, NotImplementedException
IRedisStringmsetnx in interface IRedisStringkeyvalues - The key-value pairs to set.ArgException - If the given arguments are not validNotImplementedException - If the command is unimplemented.public String psetex(String key, long milliseconds, String value) throws NotImplementedException
IRedisStringpsetex in interface IRedisStringkey - The keymilliseconds - The expiry time in millisecondsvalue - The valueNotImplementedException - If the command is unimplemented.public String set(String key, String value, String... options) throws NotImplementedException, SyntaxErrorException
IRedisStringset in interface IRedisStringkey - The keyvalue - The valueoptions - nx|xx, ex|px timeout.NotImplementedException - If the command is unimplemented.SyntaxErrorException - If the given options were not valid.public Long setbit(String key, long offset, boolean value) throws WrongTypeException, NotImplementedException
IRedisStringsetbit in interface IRedisStringkey - The keyoffset - The offsetvalue - Whether to set or clear the bit (set = true, clear = false)WrongTypeException - If key is not a stringNotImplementedException - If the command is unimplemented.public String setex(String key, int seconds, String value) throws NotImplementedException
IRedisStringsetex in interface IRedisStringkey - The keyseconds - The expiry time in secondsvalue - The valueNotImplementedException - If the command is unimplemented.public Long setnx(String key, String value) throws NotImplementedException
IRedisStringsetnx in interface IRedisStringkey - The keyvalue - The valueNotImplementedException - If the command is unimplemented.public Long setrange(String key, long offset, String value) throws WrongTypeException, NotImplementedException
IRedisStringsetrange in interface IRedisStringkey - The keyoffset - Where to start. If greater than the length of the string,
the string is padded out to the offset.value - The valueWrongTypeException - If key is not a stringNotImplementedException - If the command is unimplemented.public Long strlen(String key) throws WrongTypeException, NotImplementedException
IRedisStringstrlen in interface IRedisStringkey - The keyWrongTypeException - If key is not a stringNotImplementedException - If the command is unimplemented.public String lindex(String key, long index) throws WrongTypeException, NotImplementedException
lindex in interface IRedisListWrongTypeExceptionNotImplementedExceptionpublic Long linsert(String key, String before_after, String pivot, String value) throws WrongTypeException, NotImplementedException
linsert in interface IRedisListWrongTypeExceptionNotImplementedExceptionpublic Long llen(String key) throws WrongTypeException, NotImplementedException
llen in interface IRedisListWrongTypeExceptionNotImplementedExceptionpublic String lpop(String key) throws WrongTypeException, NotImplementedException
lpop in interface IRedisListWrongTypeExceptionNotImplementedExceptionpublic Long lpush(String key, String element, String... elements) throws WrongTypeException, NotImplementedException
lpush in interface IRedisListWrongTypeExceptionNotImplementedExceptionpublic Long lpushx(String key, String element) throws WrongTypeException, NotImplementedException
lpushx in interface IRedisListWrongTypeExceptionNotImplementedExceptionpublic List<String> lrange(String key, long start, long end) throws WrongTypeException, NotImplementedException
lrange in interface IRedisListWrongTypeExceptionNotImplementedExceptionpublic Long lrem(String key, long count, String element) throws WrongTypeException, NotImplementedException
lrem in interface IRedisListWrongTypeExceptionNotImplementedExceptionpublic String lset(String key, long index, String element) throws WrongTypeException, NoKeyException, IndexOutOfRangeException, NotImplementedException
lset in interface IRedisListWrongTypeExceptionNoKeyExceptionIndexOutOfRangeExceptionNotImplementedExceptionpublic String ltrim(String key, long start, long end) throws WrongTypeException, NotImplementedException
ltrim in interface IRedisListWrongTypeExceptionNotImplementedExceptionpublic String rpop(String key) throws WrongTypeException, NotImplementedException
rpop in interface IRedisListWrongTypeExceptionNotImplementedExceptionpublic String rpoplpush(String source, String dest) throws WrongTypeException, NotImplementedException
rpoplpush in interface IRedisListWrongTypeExceptionNotImplementedExceptionpublic Long rpush(String key, String element, String... elements) throws WrongTypeException, NotImplementedException
rpush in interface IRedisListWrongTypeExceptionNotImplementedExceptionpublic Long rpushx(String key, String element) throws WrongTypeException, NotImplementedException
rpushx in interface IRedisListWrongTypeExceptionNotImplementedExceptionpublic Long sadd(String key, String member, String... members) throws WrongTypeException, NotImplementedException
sadd in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic Long scard(String key) throws WrongTypeException, NotImplementedException
scard in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic Set<String> sdiff(String key, String... keys) throws WrongTypeException, NotImplementedException
sdiff in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic Long sdiffstore(String destination, String key, String... keys) throws WrongTypeException, NotImplementedException
sdiffstore in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic Set<String> sinter(String key, String... keys) throws WrongTypeException, NotImplementedException
sinter in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic Long sinterstore(String destination, String key, String... keys) throws WrongTypeException, NotImplementedException
sinterstore in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic Boolean sismember(String key, String member) throws WrongTypeException, NotImplementedException
sismember in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic Set<String> smembers(String key) throws WrongTypeException, NotImplementedException
smembers in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic Boolean smove(String source, String dest, String member) throws WrongTypeException, NotImplementedException
smove in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic String spop(String key) throws WrongTypeException, NotImplementedException
spop in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic String srandmember(String key) throws WrongTypeException, NotImplementedException
srandmember in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic List<String> srandmember(String key, long count) throws WrongTypeException, NotImplementedException
srandmember in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic Long srem(String key, String member, String... members) throws WrongTypeException, NotImplementedException
srem in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic Set<String> sunion(String key, String... keys) throws WrongTypeException, NotImplementedException
sunion in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic Long sunionstore(String destination, String key, String... keys) throws WrongTypeException, NotImplementedException
sunionstore in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic ScanResult<Set<String>> sscan(String key, long cursor, String... options) throws WrongTypeException, NotImplementedException
sscan in interface IRedisSetWrongTypeExceptionNotImplementedExceptionpublic Long hdel(String key, String field, String... fields) throws WrongTypeException, NotImplementedException
hdel in interface IRedisHashWrongTypeExceptionNotImplementedExceptionpublic Boolean hexists(String key, String field) throws WrongTypeException, NotImplementedException
hexists in interface IRedisHashWrongTypeExceptionNotImplementedExceptionpublic String hget(String key, String field) throws WrongTypeException, NotImplementedException
hget in interface IRedisHashWrongTypeExceptionNotImplementedExceptionpublic Map<String,String> hgetall(String key) throws WrongTypeException, NotImplementedException
hgetall in interface IRedisHashWrongTypeExceptionNotImplementedExceptionpublic Long hincrby(String key, String field, long increment) throws WrongTypeException, NotIntegerHashException, NotImplementedException
hincrby in interface IRedisHashWrongTypeExceptionNotIntegerHashExceptionNotImplementedExceptionpublic String hincrbyfloat(String key, String field, double increment) throws WrongTypeException, NotFloatHashException, NotImplementedException
hincrbyfloat in interface IRedisHashWrongTypeExceptionNotFloatHashExceptionNotImplementedExceptionpublic Set<String> hkeys(String key) throws WrongTypeException, NotImplementedException
hkeys in interface IRedisHashWrongTypeExceptionNotImplementedExceptionpublic Long hlen(String key) throws WrongTypeException, NotImplementedException
hlen in interface IRedisHashWrongTypeExceptionNotImplementedExceptionpublic List<String> hmget(String key, String field, String... fields) throws WrongTypeException, NotImplementedException
hmget in interface IRedisHashWrongTypeExceptionNotImplementedExceptionpublic String hmset(String key, String field, String value, String... fieldsvalues) throws WrongTypeException, ArgException, NotImplementedException
hmset in interface IRedisHashWrongTypeExceptionArgExceptionNotImplementedExceptionpublic Boolean hset(String key, String field, String value) throws WrongTypeException, NotImplementedException
hset in interface IRedisHashWrongTypeExceptionNotImplementedExceptionpublic Boolean hsetnx(String key, String field, String value) throws WrongTypeException, NotImplementedException
hsetnx in interface IRedisHashWrongTypeExceptionNotImplementedExceptionpublic Long hstrlen(String key, String field) throws WrongTypeException, NotImplementedException
hstrlen in interface IRedisHashWrongTypeExceptionNotImplementedExceptionpublic List<String> hvals(String key) throws WrongTypeException, NotImplementedException
hvals in interface IRedisHashWrongTypeExceptionNotImplementedExceptionpublic ScanResult<Map<String,String>> hscan(String key, long cursor, String... options) throws WrongTypeException, NotImplementedException
hscan in interface IRedisHashWrongTypeExceptionNotImplementedExceptionpublic String discard() throws DiscardWithoutMultiException, NotImplementedException
discard in interface IRedisTransactionDiscardWithoutMultiExceptionNotImplementedExceptionpublic List<Object> exec() throws ExecWithoutMultiException, NotImplementedException
exec in interface IRedisTransactionExecWithoutMultiExceptionNotImplementedExceptionpublic IRedisClient multi() throws NotImplementedException
multi in interface IRedisTransactionNotImplementedExceptionpublic String unwatch() throws NotImplementedException
unwatch in interface IRedisTransactionNotImplementedExceptionpublic String watch(String key) throws NotImplementedException
watch in interface IRedisTransactionNotImplementedExceptionpublic Long zadd(String key, IRedisSortedSet.ZsetPair scoremember, IRedisSortedSet.ZsetPair... scoresmembers) throws WrongTypeException, NotImplementedException
zadd in interface IRedisSortedSetWrongTypeExceptionNotImplementedExceptionpublic Long zadd(String key, double score, String member, Object... scoresmembers) throws WrongTypeException, NotImplementedException, SyntaxErrorException, NotFloatException
zadd in interface IRedisSortedSetWrongTypeExceptionNotImplementedExceptionSyntaxErrorExceptionNotFloatExceptionpublic Long zcard(String key) throws WrongTypeException, NotImplementedException
zcard in interface IRedisSortedSetWrongTypeExceptionNotImplementedExceptionpublic Long zcount(String key, double min, double max) throws WrongTypeException, NotImplementedException
zcount in interface IRedisSortedSetWrongTypeExceptionNotImplementedExceptionpublic String zincrby(String key, double increment, String member) throws WrongTypeException, NotImplementedException
zincrby in interface IRedisSortedSetWrongTypeExceptionNotImplementedExceptionpublic Long zinterstore(String destination, int numkeys, String... options) throws WrongTypeException, SyntaxErrorException, NotImplementedException
zinterstore in interface IRedisSortedSetWrongTypeExceptionSyntaxErrorExceptionNotImplementedExceptionpublic Long zlexcount(String key, String min, String max) throws WrongTypeException, NotValidStringRangeItemException, NotImplementedException
zlexcount in interface IRedisSortedSetWrongTypeExceptionNotValidStringRangeItemExceptionNotImplementedExceptionpublic Set<IRedisSortedSet.ZsetPair> zrange(String key, long start, long stop, String... options) throws WrongTypeException, NotImplementedException
zrange in interface IRedisSortedSetWrongTypeExceptionNotImplementedExceptionpublic Set<IRedisSortedSet.ZsetPair> zrangebylex(String key, String min, String max, String... options) throws WrongTypeException, NotValidStringRangeItemException, NotImplementedException
zrangebylex in interface IRedisSortedSetWrongTypeExceptionNotValidStringRangeItemExceptionNotImplementedExceptionpublic Set<IRedisSortedSet.ZsetPair> zrevrangebylex(String key, String max, String min, String... options) throws WrongTypeException, NotValidStringRangeItemException, NotImplementedException
zrevrangebylex in interface IRedisSortedSetWrongTypeExceptionNotValidStringRangeItemExceptionNotImplementedExceptionpublic Set<IRedisSortedSet.ZsetPair> zrangebyscore(String key, String min, String max, String... options) throws WrongTypeException, NotFloatMinMaxException, NotIntegerException, SyntaxErrorException, NotImplementedException
zrangebyscore in interface IRedisSortedSetWrongTypeExceptionNotFloatMinMaxExceptionNotIntegerExceptionSyntaxErrorExceptionNotImplementedExceptionpublic Long zrank(String key, String member) throws WrongTypeException, NotImplementedException
zrank in interface IRedisSortedSetWrongTypeExceptionNotImplementedExceptionpublic Long zrem(String key, String member, String... members) throws WrongTypeException, NotImplementedException
zrem in interface IRedisSortedSetWrongTypeExceptionNotImplementedExceptionpublic Long zremrangebylex(String key, String min, String max) throws WrongTypeException, NotValidStringRangeItemException, NotImplementedException
zremrangebylex in interface IRedisSortedSetWrongTypeExceptionNotValidStringRangeItemExceptionNotImplementedExceptionpublic Long zremrangebyrank(String key, long start, long stop) throws WrongTypeException, NotImplementedException
zremrangebyrank in interface IRedisSortedSetWrongTypeExceptionNotImplementedExceptionpublic Long zremrangebyscore(String key, String min, String max) throws WrongTypeException, NotFloatMinMaxException, NotImplementedException
zremrangebyscore in interface IRedisSortedSetWrongTypeExceptionNotFloatMinMaxExceptionNotImplementedExceptionpublic Set<IRedisSortedSet.ZsetPair> zrevrange(String key, long start, long stop, String... options) throws WrongTypeException, NotImplementedException
zrevrange in interface IRedisSortedSetWrongTypeExceptionNotImplementedExceptionpublic Set<IRedisSortedSet.ZsetPair> zrevrangebyscore(String key, String max, String min, String... options) throws WrongTypeException, NotFloatMinMaxException, NotIntegerException, SyntaxErrorException, NotImplementedException
zrevrangebyscore in interface IRedisSortedSetWrongTypeExceptionNotFloatMinMaxExceptionNotIntegerExceptionSyntaxErrorExceptionNotImplementedExceptionpublic Long zrevrank(String key, String member) throws WrongTypeException, NotImplementedException
zrevrank in interface IRedisSortedSetWrongTypeExceptionNotImplementedExceptionpublic Double zscore(String key, String member) throws WrongTypeException, NotImplementedException
zscore in interface IRedisSortedSetWrongTypeExceptionNotImplementedExceptionpublic Long zunionstore(String destination, int numkeys, String... options) throws WrongTypeException, SyntaxErrorException, NotImplementedException
zunionstore in interface IRedisSortedSetWrongTypeExceptionSyntaxErrorExceptionNotImplementedExceptionpublic ScanResult<Set<IRedisSortedSet.ZsetPair>> zscan(String key, long cursor, String... options) throws WrongTypeException, NotImplementedException
zscan in interface IRedisSortedSetWrongTypeExceptionNotImplementedExceptionCopyright © 2015. All rights reserved.