redis.clients.jedis
Class BinaryTransaction
java.lang.Object
redis.clients.jedis.BinaryTransaction
- Direct Known Subclasses:
- Transaction
public class BinaryTransaction
- extends Object
Method Summary |
String |
append(byte[] key,
byte[] value)
|
String |
dbSize()
|
String |
decr(byte[] key)
|
String |
decrBy(byte[] key,
int integer)
|
String |
del(byte[]... keys)
|
String |
discard()
|
List<Object> |
exec()
|
String |
exists(byte[] key)
|
String |
expire(byte[] key,
int seconds)
|
String |
expireAt(byte[] key,
long unixTime)
|
String |
flushAll()
|
String |
flushDB()
|
String |
get(byte[] key)
|
String |
getSet(byte[] key,
byte[] value)
|
String |
hdel(byte[] key,
byte[] field)
|
String |
hexists(byte[] key,
byte[] field)
|
String |
hget(byte[] key,
byte[] field)
|
String |
hgetAll(byte[] key)
|
String |
hincrBy(byte[] key,
byte[] field,
int value)
|
String |
hkeys(byte[] key)
|
String |
hlen(byte[] key)
|
String |
hmget(byte[] key,
byte[]... fields)
|
String |
hmset(byte[] key,
Map<byte[],byte[]> hash)
|
String |
hset(byte[] key,
byte[] field,
byte[] value)
|
String |
hsetnx(byte[] key,
byte[] field,
byte[] value)
|
String |
hvals(byte[] key)
|
String |
incr(byte[] key)
|
String |
incrBy(byte[] key,
int integer)
|
String |
keys(byte[] pattern)
|
String |
lindex(byte[] key,
int index)
|
String |
llen(byte[] key)
|
String |
lpop(byte[] key)
|
String |
lpush(byte[] key,
byte[] string)
|
String |
lrange(byte[] key,
int start,
int end)
|
String |
lrem(byte[] key,
int count,
byte[] value)
|
String |
lset(byte[] key,
int index,
byte[] value)
|
String |
ltrim(byte[] key,
int start,
int end)
|
String |
mget(byte[]... keys)
|
String |
move(byte[] key,
int dbIndex)
|
String |
mset(byte[]... keysvalues)
|
String |
msetnx(byte[]... keysvalues)
|
String |
ping()
|
byte[] |
randomBinaryKey()
|
String |
rename(byte[] oldkey,
byte[] newkey)
|
String |
renamenx(byte[] oldkey,
byte[] newkey)
|
String |
rpop(byte[] key)
|
String |
rpoplpush(byte[] srckey,
byte[] dstkey)
|
String |
rpush(byte[] key,
byte[] string)
|
String |
sadd(byte[] key,
byte[] member)
|
String |
scard(byte[] key)
|
String |
sdiff(byte[]... keys)
|
String |
sdiffstore(byte[] dstkey,
byte[]... keys)
|
String |
select(int index)
|
String |
set(byte[] key,
byte[] value)
|
String |
setex(byte[] key,
int seconds,
byte[] value)
|
String |
setnx(byte[] key,
byte[] value)
|
String |
sinter(byte[]... keys)
|
String |
sinterstore(byte[] dstkey,
byte[]... keys)
|
String |
sismember(byte[] key,
byte[] member)
|
String |
smembers(byte[] key)
|
String |
smove(byte[] srckey,
byte[] dstkey,
byte[] member)
|
String |
sort(byte[] key)
|
String |
sort(byte[] key,
SortingParams sortingParameters)
|
String |
spop(byte[] key)
|
String |
srandmember(byte[] key)
|
String |
srem(byte[] key,
byte[] member)
|
String |
substr(byte[] key,
int start,
int end)
|
String |
sunion(byte[]... keys)
|
String |
sunionstore(byte[] dstkey,
byte[]... keys)
|
String |
ttl(byte[] key)
|
String |
type(byte[] key)
|
String |
zadd(byte[] key,
double score,
byte[] member)
|
String |
zcard(byte[] key)
|
String |
zincrby(byte[] key,
double score,
byte[] member)
|
String |
zrange(byte[] key,
int start,
int end)
|
String |
zrangeWithScores(byte[] key,
int start,
int end)
|
String |
zrank(byte[] key,
byte[] member)
|
String |
zrem(byte[] key,
byte[] member)
|
String |
zrevrange(byte[] key,
int start,
int end)
|
String |
zrevrangeWithScores(byte[] key,
int start,
int end)
|
String |
zrevrank(byte[] key,
byte[] member)
|
String |
zscore(byte[] key,
byte[] member)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
protected Client client
inTransaction
protected boolean inTransaction
BinaryTransaction
public BinaryTransaction()
BinaryTransaction
public BinaryTransaction(Client client)
ping
public String ping()
set
public String set(byte[] key,
byte[] value)
get
public String get(byte[] key)
exists
public String exists(byte[] key)
del
public String del(byte[]... keys)
type
public String type(byte[] key)
flushDB
public String flushDB()
keys
public String keys(byte[] pattern)
randomBinaryKey
public byte[] randomBinaryKey()
rename
public String rename(byte[] oldkey,
byte[] newkey)
renamenx
public String renamenx(byte[] oldkey,
byte[] newkey)
dbSize
public String dbSize()
expire
public String expire(byte[] key,
int seconds)
expireAt
public String expireAt(byte[] key,
long unixTime)
ttl
public String ttl(byte[] key)
select
public String select(int index)
move
public String move(byte[] key,
int dbIndex)
flushAll
public String flushAll()
getSet
public String getSet(byte[] key,
byte[] value)
mget
public String mget(byte[]... keys)
setnx
public String setnx(byte[] key,
byte[] value)
setex
public String setex(byte[] key,
int seconds,
byte[] value)
mset
public String mset(byte[]... keysvalues)
msetnx
public String msetnx(byte[]... keysvalues)
decrBy
public String decrBy(byte[] key,
int integer)
decr
public String decr(byte[] key)
incrBy
public String incrBy(byte[] key,
int integer)
incr
public String incr(byte[] key)
append
public String append(byte[] key,
byte[] value)
substr
public String substr(byte[] key,
int start,
int end)
hset
public String hset(byte[] key,
byte[] field,
byte[] value)
hget
public String hget(byte[] key,
byte[] field)
hsetnx
public String hsetnx(byte[] key,
byte[] field,
byte[] value)
hmset
public String hmset(byte[] key,
Map<byte[],byte[]> hash)
hmget
public String hmget(byte[] key,
byte[]... fields)
hincrBy
public String hincrBy(byte[] key,
byte[] field,
int value)
hexists
public String hexists(byte[] key,
byte[] field)
hdel
public String hdel(byte[] key,
byte[] field)
hlen
public String hlen(byte[] key)
hkeys
public String hkeys(byte[] key)
hvals
public String hvals(byte[] key)
hgetAll
public String hgetAll(byte[] key)
rpush
public String rpush(byte[] key,
byte[] string)
lpush
public String lpush(byte[] key,
byte[] string)
llen
public String llen(byte[] key)
lrange
public String lrange(byte[] key,
int start,
int end)
ltrim
public String ltrim(byte[] key,
int start,
int end)
lindex
public String lindex(byte[] key,
int index)
lset
public String lset(byte[] key,
int index,
byte[] value)
lrem
public String lrem(byte[] key,
int count,
byte[] value)
lpop
public String lpop(byte[] key)
rpop
public String rpop(byte[] key)
rpoplpush
public String rpoplpush(byte[] srckey,
byte[] dstkey)
sadd
public String sadd(byte[] key,
byte[] member)
smembers
public String smembers(byte[] key)
srem
public String srem(byte[] key,
byte[] member)
spop
public String spop(byte[] key)
smove
public String smove(byte[] srckey,
byte[] dstkey,
byte[] member)
scard
public String scard(byte[] key)
sismember
public String sismember(byte[] key,
byte[] member)
sinter
public String sinter(byte[]... keys)
sinterstore
public String sinterstore(byte[] dstkey,
byte[]... keys)
sunion
public String sunion(byte[]... keys)
sunionstore
public String sunionstore(byte[] dstkey,
byte[]... keys)
sdiff
public String sdiff(byte[]... keys)
sdiffstore
public String sdiffstore(byte[] dstkey,
byte[]... keys)
srandmember
public String srandmember(byte[] key)
zadd
public String zadd(byte[] key,
double score,
byte[] member)
zrange
public String zrange(byte[] key,
int start,
int end)
zrem
public String zrem(byte[] key,
byte[] member)
zincrby
public String zincrby(byte[] key,
double score,
byte[] member)
zrank
public String zrank(byte[] key,
byte[] member)
zrevrank
public String zrevrank(byte[] key,
byte[] member)
zrevrange
public String zrevrange(byte[] key,
int start,
int end)
zrangeWithScores
public String zrangeWithScores(byte[] key,
int start,
int end)
zrevrangeWithScores
public String zrevrangeWithScores(byte[] key,
int start,
int end)
zcard
public String zcard(byte[] key)
zscore
public String zscore(byte[] key,
byte[] member)
exec
public List<Object> exec()
sort
public String sort(byte[] key)
sort
public String sort(byte[] key,
SortingParams sortingParameters)
discard
public String discard()
Copyright © 2010. All Rights Reserved.