Package redis.clients.jedis
Class BinaryShardedJedis
- java.lang.Object
-
- redis.clients.jedis.util.Sharded<Jedis,JedisShardInfo>
-
- redis.clients.jedis.BinaryShardedJedis
-
- All Implemented Interfaces:
BinaryJedisCommands
- Direct Known Subclasses:
ShardedJedis
public class BinaryShardedJedis extends Sharded<Jedis,JedisShardInfo> implements BinaryJedisCommands
-
-
Field Summary
-
Fields inherited from class redis.clients.jedis.util.Sharded
DEFAULT_KEY_TAG_PATTERN, DEFAULT_WEIGHT
-
-
Constructor Summary
Constructors Constructor Description BinaryShardedJedis(List<JedisShardInfo> shards)BinaryShardedJedis(List<JedisShardInfo> shards, Pattern keyTagPattern)BinaryShardedJedis(List<JedisShardInfo> shards, Hashing algo)BinaryShardedJedis(List<JedisShardInfo> shards, Hashing algo, Pattern keyTagPattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Longappend(byte[] key, byte[] value)Longbitcount(byte[] key)Longbitcount(byte[] key, long start, long end)List<Long>bitfield(byte[] key, byte[]... arguments)Executes BITFIELD Redis commandList<Long>bitfieldReadonly(byte[] key, byte[]... arguments)List<byte[]>blpop(byte[] arg)List<byte[]>brpop(byte[] arg)protected Jediscreate(JedisShardInfo shard)Longdecr(byte[] key)LongdecrBy(byte[] key, long decrement)Longdel(byte[] key)voiddisconnect()byte[]dump(byte[] key)byte[]echo(byte[] arg)Booleanexists(byte[] key)Longexpire(byte[] key, int seconds)LongexpireAt(byte[] key, long unixTime)Longgeoadd(byte[] key, double longitude, double latitude, byte[] member)Longgeoadd(byte[] key, Map<byte[],GeoCoordinate> memberCoordinateMap)Doublegeodist(byte[] key, byte[] member1, byte[] member2)Doublegeodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit)List<byte[]>geohash(byte[] key, byte[]... members)List<GeoCoordinate>geopos(byte[] key, byte[]... 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>georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit)List<GeoRadiusResponse>georadiusByMember(byte[] key, byte[] 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>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)byte[]get(byte[] key)Booleangetbit(byte[] key, long offset)byte[]getrange(byte[] key, long startOffset, long endOffset)byte[]getSet(byte[] key, byte[] value)Longhdel(byte[] key, byte[]... fields)Booleanhexists(byte[] key, byte[] field)byte[]hget(byte[] key, byte[] field)Map<byte[],byte[]>hgetAll(byte[] key)LonghincrBy(byte[] key, byte[] field, long value)DoublehincrByFloat(byte[] key, byte[] field, double value)Set<byte[]>hkeys(byte[] key)Longhlen(byte[] key)List<byte[]>hmget(byte[] key, byte[]... fields)Stringhmset(byte[] key, Map<byte[],byte[]> hash)ScanResult<Map.Entry<byte[],byte[]>>hscan(byte[] key, byte[] cursor)ScanResult<Map.Entry<byte[],byte[]>>hscan(byte[] key, byte[] cursor, ScanParams params)Longhset(byte[] key, byte[] field, byte[] value)Longhset(byte[] key, Map<byte[],byte[]> hash)Longhsetnx(byte[] key, byte[] field, byte[] value)Longhstrlen(byte[] key, byte[] field)Used for HSTRLEN Redis commandList<byte[]>hvals(byte[] key)Longincr(byte[] key)LongincrBy(byte[] key, long increment)DoubleincrByFloat(byte[] key, double increment)byte[]lindex(byte[] key, long index)Longlinsert(byte[] key, ListPosition where, byte[] pivot, byte[] value)Longllen(byte[] key)byte[]lpop(byte[] key)List<byte[]>lpop(byte[] key, int count)Longlpos(byte[] key, byte[] element)Longlpos(byte[] key, byte[] element, LPosParams params)List<Long>lpos(byte[] key, byte[] element, LPosParams params, long count)Longlpush(byte[] key, byte[]... strings)Longlpushx(byte[] key, byte[]... string)List<byte[]>lrange(byte[] key, long start, long stop)Longlrem(byte[] key, long count, byte[] value)Stringlset(byte[] key, long index, byte[] value)Stringltrim(byte[] key, long start, long stop)Longmove(byte[] key, int dbIndex)byte[]objectEncoding(byte[] key)LongobjectFreq(byte[] key)List<String>objectHelp()LongobjectIdletime(byte[] key)LongobjectRefcount(byte[] key)Longpersist(byte[] key)Longpexpire(byte[] key, long milliseconds)LongpexpireAt(byte[] key, long millisecondsTimestamp)Longpfadd(byte[] key, byte[]... elements)longpfcount(byte[] key)ShardedJedisPipelinepipelined()Stringpsetex(byte[] key, long milliseconds, byte[] value)Longpttl(byte[] key)Stringrestore(byte[] key, int ttl, byte[] serializedValue)StringrestoreReplace(byte[] key, int ttl, byte[] serializedValue)byte[]rpop(byte[] key)List<byte[]>rpop(byte[] key, int count)Longrpush(byte[] key, byte[]... strings)Longrpushx(byte[] key, byte[]... string)Longsadd(byte[] key, byte[]... members)Longscard(byte[] key)ObjectsendBlockingCommand(ProtocolCommand cmd, byte[]... args)ObjectsendCommand(ProtocolCommand cmd)ObjectsendCommand(ProtocolCommand cmd, byte[]... args)Stringset(byte[] key, byte[] value)Stringset(byte[] key, byte[] value, SetParams params)Booleansetbit(byte[] key, long offset, boolean value)Booleansetbit(byte[] key, long offset, byte[] value)Stringsetex(byte[] key, int seconds, byte[] value)Longsetnx(byte[] key, byte[] value)Longsetrange(byte[] key, long offset, byte[] value)Booleansismember(byte[] key, byte[] member)Set<byte[]>smembers(byte[] key)List<Boolean>smismember(byte[] key, byte[]... members)List<byte[]>sort(byte[] key)List<byte[]>sort(byte[] key, SortingParams sortingParameters)byte[]spop(byte[] key)Set<byte[]>spop(byte[] key, long count)byte[]srandmember(byte[] key)List<byte[]>srandmember(byte[] key, int count)Longsrem(byte[] key, byte[]... members)ScanResult<byte[]>sscan(byte[] key, byte[] cursor)ScanResult<byte[]>sscan(byte[] key, byte[] cursor, ScanParams params)Longstrlen(byte[] key)byte[]substr(byte[] key, int start, int end)Longtouch(byte[] key)Longttl(byte[] key)Stringtype(byte[] key)Longunlink(byte[] key)Longxack(byte[] key, byte[] group, byte[]... ids)byte[]xadd(byte[] key, byte[] id, Map<byte[],byte[]> hash, long maxLen, boolean approximateLength)List<byte[]>xclaim(byte[] key, byte[] groupname, byte[] consumername, long minIdleTime, long newIdleTime, int retries, boolean force, byte[][] ids)Longxdel(byte[] key, byte[]... ids)StringxgroupCreate(byte[] key, byte[] consumer, byte[] id, boolean makeStream)LongxgroupDelConsumer(byte[] key, byte[] consumer, byte[] consumerName)LongxgroupDestroy(byte[] key, byte[] consumer)StringxgroupSetID(byte[] key, byte[] consumer, byte[] id)List<StreamConsumersInfo>xinfoConsumers(byte[] key, byte[] group)List<StreamGroupInfo>xinfoGroup(byte[] key)StreamInfoxinfoStream(byte[] key)Longxlen(byte[] key)List<byte[]>xpending(byte[] key, byte[] groupname, byte[] start, byte[] end, int count, byte[] consumername)List<byte[]>xrange(byte[] key, byte[] start, byte[] end, long count)List<byte[]>xrevrange(byte[] key, byte[] end, byte[] start, int count)Longxtrim(byte[] key, long maxLen, boolean approximateLength)Longzadd(byte[] key, double score, byte[] member)Longzadd(byte[] key, double score, byte[] member, ZAddParams params)Longzadd(byte[] key, Map<byte[],Double> scoreMembers)Longzadd(byte[] key, Map<byte[],Double> scoreMembers, ZAddParams params)Longzcard(byte[] key)Longzcount(byte[] key, byte[] min, byte[] max)Longzcount(byte[] key, double min, double max)Doublezincrby(byte[] key, double increment, byte[] member)Doublezincrby(byte[] key, double increment, byte[] member, ZIncrByParams params)Longzlexcount(byte[] key, byte[] min, byte[] max)List<Double>zmscore(byte[] key, byte[]... members)Tuplezpopmax(byte[] key)Set<Tuple>zpopmax(byte[] key, int count)Tuplezpopmin(byte[] key)Set<Tuple>zpopmin(byte[] key, int count)Set<byte[]>zrange(byte[] key, long start, long stop)Set<byte[]>zrangeByLex(byte[] key, byte[] min, byte[] max)Set<byte[]>zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count)Set<byte[]>zrangeByScore(byte[] key, byte[] min, byte[] max)Set<byte[]>zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count)Set<byte[]>zrangeByScore(byte[] key, double min, double max)Set<byte[]>zrangeByScore(byte[] key, double min, double max, int offset, int count)Set<Tuple>zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)Set<Tuple>zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)Set<Tuple>zrangeByScoreWithScores(byte[] key, double min, double max)Set<Tuple>zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)Set<Tuple>zrangeWithScores(byte[] key, long start, long stop)Longzrank(byte[] key, byte[] member)Longzrem(byte[] key, byte[]... members)LongzremrangeByLex(byte[] key, byte[] min, byte[] max)LongzremrangeByRank(byte[] key, long start, long stop)LongzremrangeByScore(byte[] key, byte[] min, byte[] max)LongzremrangeByScore(byte[] key, double min, double max)Set<byte[]>zrevrange(byte[] key, long start, long stop)Set<byte[]>zrevrangeByLex(byte[] key, byte[] max, byte[] min)Set<byte[]>zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count)Set<byte[]>zrevrangeByScore(byte[] key, byte[] max, byte[] min)Set<byte[]>zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count)Set<byte[]>zrevrangeByScore(byte[] key, double max, double min)Set<byte[]>zrevrangeByScore(byte[] key, double max, double min, int offset, int count)Set<Tuple>zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)Set<Tuple>zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)Set<Tuple>zrevrangeByScoreWithScores(byte[] key, double max, double min)Set<Tuple>zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)Set<Tuple>zrevrangeWithScores(byte[] key, long start, long stop)Longzrevrank(byte[] key, byte[] member)ScanResult<Tuple>zscan(byte[] key, byte[] cursor)ScanResult<Tuple>zscan(byte[] key, byte[] cursor, ScanParams params)Doublezscore(byte[] key, byte[] member)-
Methods inherited from class redis.clients.jedis.util.Sharded
getAllShardInfo, getAllShards, getKeyTag, getShard, getShard, getShardInfo, getShardInfo
-
-
-
-
Constructor Detail
-
BinaryShardedJedis
public BinaryShardedJedis(List<JedisShardInfo> shards)
-
BinaryShardedJedis
public BinaryShardedJedis(List<JedisShardInfo> shards, Hashing algo)
-
BinaryShardedJedis
public BinaryShardedJedis(List<JedisShardInfo> shards, Pattern keyTagPattern)
-
BinaryShardedJedis
public BinaryShardedJedis(List<JedisShardInfo> shards, Hashing algo, Pattern keyTagPattern)
-
-
Method Detail
-
disconnect
public void disconnect()
-
create
protected Jedis create(JedisShardInfo shard)
-
set
public String set(byte[] key, byte[] value)
- Specified by:
setin interfaceBinaryJedisCommands
-
set
public String set(byte[] key, byte[] value, SetParams params)
- Specified by:
setin interfaceBinaryJedisCommands
-
get
public byte[] get(byte[] key)
- Specified by:
getin interfaceBinaryJedisCommands
-
exists
public Boolean exists(byte[] key)
- Specified by:
existsin interfaceBinaryJedisCommands
-
type
public String type(byte[] key)
- Specified by:
typein interfaceBinaryJedisCommands
-
dump
public byte[] dump(byte[] key)
- Specified by:
dumpin interfaceBinaryJedisCommands
-
restore
public String restore(byte[] key, int ttl, byte[] serializedValue)
- Specified by:
restorein interfaceBinaryJedisCommands
-
restoreReplace
public String restoreReplace(byte[] key, int ttl, byte[] serializedValue)
- Specified by:
restoreReplacein interfaceBinaryJedisCommands
-
expire
public Long expire(byte[] key, int seconds)
- Specified by:
expirein interfaceBinaryJedisCommands
-
pexpire
public Long pexpire(byte[] key, long milliseconds)
- Specified by:
pexpirein interfaceBinaryJedisCommands
-
expireAt
public Long expireAt(byte[] key, long unixTime)
- Specified by:
expireAtin interfaceBinaryJedisCommands
-
pexpireAt
public Long pexpireAt(byte[] key, long millisecondsTimestamp)
- Specified by:
pexpireAtin interfaceBinaryJedisCommands
-
ttl
public Long ttl(byte[] key)
- Specified by:
ttlin interfaceBinaryJedisCommands
-
pttl
public Long pttl(byte[] key)
- Specified by:
pttlin interfaceBinaryJedisCommands
-
touch
public Long touch(byte[] key)
- Specified by:
touchin interfaceBinaryJedisCommands
-
getSet
public byte[] getSet(byte[] key, byte[] value)- Specified by:
getSetin interfaceBinaryJedisCommands
-
setnx
public Long setnx(byte[] key, byte[] value)
- Specified by:
setnxin interfaceBinaryJedisCommands
-
setex
public String setex(byte[] key, int seconds, byte[] value)
- Specified by:
setexin interfaceBinaryJedisCommands
-
psetex
public String psetex(byte[] key, long milliseconds, byte[] value)
- Specified by:
psetexin interfaceBinaryJedisCommands
-
decrBy
public Long decrBy(byte[] key, long decrement)
- Specified by:
decrByin interfaceBinaryJedisCommands
-
decr
public Long decr(byte[] key)
- Specified by:
decrin interfaceBinaryJedisCommands
-
del
public Long del(byte[] key)
- Specified by:
delin interfaceBinaryJedisCommands
-
unlink
public Long unlink(byte[] key)
- Specified by:
unlinkin interfaceBinaryJedisCommands
-
incrBy
public Long incrBy(byte[] key, long increment)
- Specified by:
incrByin interfaceBinaryJedisCommands
-
incrByFloat
public Double incrByFloat(byte[] key, double increment)
- Specified by:
incrByFloatin interfaceBinaryJedisCommands
-
incr
public Long incr(byte[] key)
- Specified by:
incrin interfaceBinaryJedisCommands
-
append
public Long append(byte[] key, byte[] value)
- Specified by:
appendin interfaceBinaryJedisCommands
-
substr
public byte[] substr(byte[] key, int start, int end)- Specified by:
substrin interfaceBinaryJedisCommands
-
hset
public Long hset(byte[] key, byte[] field, byte[] value)
- Specified by:
hsetin interfaceBinaryJedisCommands
-
hset
public Long hset(byte[] key, Map<byte[],byte[]> hash)
- Specified by:
hsetin interfaceBinaryJedisCommands
-
hget
public byte[] hget(byte[] key, byte[] field)- Specified by:
hgetin interfaceBinaryJedisCommands
-
hsetnx
public Long hsetnx(byte[] key, byte[] field, byte[] value)
- Specified by:
hsetnxin interfaceBinaryJedisCommands
-
hmset
public String hmset(byte[] key, Map<byte[],byte[]> hash)
- Specified by:
hmsetin interfaceBinaryJedisCommands
-
hmget
public List<byte[]> hmget(byte[] key, byte[]... fields)
- Specified by:
hmgetin interfaceBinaryJedisCommands
-
hincrBy
public Long hincrBy(byte[] key, byte[] field, long value)
- Specified by:
hincrByin interfaceBinaryJedisCommands
-
hincrByFloat
public Double hincrByFloat(byte[] key, byte[] field, double value)
- Specified by:
hincrByFloatin interfaceBinaryJedisCommands
-
hexists
public Boolean hexists(byte[] key, byte[] field)
- Specified by:
hexistsin interfaceBinaryJedisCommands
-
hdel
public Long hdel(byte[] key, byte[]... fields)
- Specified by:
hdelin interfaceBinaryJedisCommands
-
hlen
public Long hlen(byte[] key)
- Specified by:
hlenin interfaceBinaryJedisCommands
-
hkeys
public Set<byte[]> hkeys(byte[] key)
- Specified by:
hkeysin interfaceBinaryJedisCommands
-
hvals
public List<byte[]> hvals(byte[] key)
- Specified by:
hvalsin interfaceBinaryJedisCommands
-
hgetAll
public Map<byte[],byte[]> hgetAll(byte[] key)
- Specified by:
hgetAllin interfaceBinaryJedisCommands
-
rpush
public Long rpush(byte[] key, byte[]... strings)
- Specified by:
rpushin interfaceBinaryJedisCommands
-
lpush
public Long lpush(byte[] key, byte[]... strings)
- Specified by:
lpushin interfaceBinaryJedisCommands
-
strlen
public Long strlen(byte[] key)
- Specified by:
strlenin interfaceBinaryJedisCommands
-
lpushx
public Long lpushx(byte[] key, byte[]... string)
- Specified by:
lpushxin interfaceBinaryJedisCommands
-
persist
public Long persist(byte[] key)
- Specified by:
persistin interfaceBinaryJedisCommands
-
rpushx
public Long rpushx(byte[] key, byte[]... string)
- Specified by:
rpushxin interfaceBinaryJedisCommands
-
llen
public Long llen(byte[] key)
- Specified by:
llenin interfaceBinaryJedisCommands
-
lrange
public List<byte[]> lrange(byte[] key, long start, long stop)
- Specified by:
lrangein interfaceBinaryJedisCommands
-
ltrim
public String ltrim(byte[] key, long start, long stop)
- Specified by:
ltrimin interfaceBinaryJedisCommands
-
lindex
public byte[] lindex(byte[] key, long index)- Specified by:
lindexin interfaceBinaryJedisCommands
-
lset
public String lset(byte[] key, long index, byte[] value)
- Specified by:
lsetin interfaceBinaryJedisCommands
-
lrem
public Long lrem(byte[] key, long count, byte[] value)
- Specified by:
lremin interfaceBinaryJedisCommands
-
lpop
public byte[] lpop(byte[] key)
- Specified by:
lpopin interfaceBinaryJedisCommands
-
lpop
public List<byte[]> lpop(byte[] key, int count)
- Specified by:
lpopin interfaceBinaryJedisCommands
-
lpos
public Long lpos(byte[] key, byte[] element)
- Specified by:
lposin interfaceBinaryJedisCommands
-
lpos
public Long lpos(byte[] key, byte[] element, LPosParams params)
- Specified by:
lposin interfaceBinaryJedisCommands
-
lpos
public List<Long> lpos(byte[] key, byte[] element, LPosParams params, long count)
- Specified by:
lposin interfaceBinaryJedisCommands
-
rpop
public byte[] rpop(byte[] key)
- Specified by:
rpopin interfaceBinaryJedisCommands
-
rpop
public List<byte[]> rpop(byte[] key, int count)
- Specified by:
rpopin interfaceBinaryJedisCommands
-
sadd
public Long sadd(byte[] key, byte[]... members)
- Specified by:
saddin interfaceBinaryJedisCommands
-
smembers
public Set<byte[]> smembers(byte[] key)
- Specified by:
smembersin interfaceBinaryJedisCommands
-
srem
public Long srem(byte[] key, byte[]... members)
- Specified by:
sremin interfaceBinaryJedisCommands
-
spop
public byte[] spop(byte[] key)
- Specified by:
spopin interfaceBinaryJedisCommands
-
spop
public Set<byte[]> spop(byte[] key, long count)
- Specified by:
spopin interfaceBinaryJedisCommands
-
scard
public Long scard(byte[] key)
- Specified by:
scardin interfaceBinaryJedisCommands
-
sismember
public Boolean sismember(byte[] key, byte[] member)
- Specified by:
sismemberin interfaceBinaryJedisCommands
-
smismember
public List<Boolean> smismember(byte[] key, byte[]... members)
- Specified by:
smismemberin interfaceBinaryJedisCommands
-
srandmember
public byte[] srandmember(byte[] key)
- Specified by:
srandmemberin interfaceBinaryJedisCommands
-
srandmember
public List<byte[]> srandmember(byte[] key, int count)
- Specified by:
srandmemberin interfaceBinaryJedisCommands
-
zadd
public Long zadd(byte[] key, double score, byte[] member)
- Specified by:
zaddin interfaceBinaryJedisCommands
-
zadd
public Long zadd(byte[] key, double score, byte[] member, ZAddParams params)
- Specified by:
zaddin interfaceBinaryJedisCommands
-
zadd
public Long zadd(byte[] key, Map<byte[],Double> scoreMembers)
- Specified by:
zaddin interfaceBinaryJedisCommands
-
zadd
public Long zadd(byte[] key, Map<byte[],Double> scoreMembers, ZAddParams params)
- Specified by:
zaddin interfaceBinaryJedisCommands
-
zrange
public Set<byte[]> zrange(byte[] key, long start, long stop)
- Specified by:
zrangein interfaceBinaryJedisCommands
-
zrem
public Long zrem(byte[] key, byte[]... members)
- Specified by:
zremin interfaceBinaryJedisCommands
-
zincrby
public Double zincrby(byte[] key, double increment, byte[] member)
- Specified by:
zincrbyin interfaceBinaryJedisCommands
-
zincrby
public Double zincrby(byte[] key, double increment, byte[] member, ZIncrByParams params)
- Specified by:
zincrbyin interfaceBinaryJedisCommands
-
zrank
public Long zrank(byte[] key, byte[] member)
- Specified by:
zrankin interfaceBinaryJedisCommands
-
zrevrank
public Long zrevrank(byte[] key, byte[] member)
- Specified by:
zrevrankin interfaceBinaryJedisCommands
-
zrevrange
public Set<byte[]> zrevrange(byte[] key, long start, long stop)
- Specified by:
zrevrangein interfaceBinaryJedisCommands
-
zrangeWithScores
public Set<Tuple> zrangeWithScores(byte[] key, long start, long stop)
- Specified by:
zrangeWithScoresin interfaceBinaryJedisCommands
-
zrevrangeWithScores
public Set<Tuple> zrevrangeWithScores(byte[] key, long start, long stop)
- Specified by:
zrevrangeWithScoresin interfaceBinaryJedisCommands
-
zcard
public Long zcard(byte[] key)
- Specified by:
zcardin interfaceBinaryJedisCommands
-
zscore
public Double zscore(byte[] key, byte[] member)
- Specified by:
zscorein interfaceBinaryJedisCommands
-
zmscore
public List<Double> zmscore(byte[] key, byte[]... members)
- Specified by:
zmscorein interfaceBinaryJedisCommands
-
zpopmax
public Tuple zpopmax(byte[] key)
- Specified by:
zpopmaxin interfaceBinaryJedisCommands
-
zpopmax
public Set<Tuple> zpopmax(byte[] key, int count)
- Specified by:
zpopmaxin interfaceBinaryJedisCommands
-
zpopmin
public Tuple zpopmin(byte[] key)
- Specified by:
zpopminin interfaceBinaryJedisCommands
-
zpopmin
public Set<Tuple> zpopmin(byte[] key, int count)
- Specified by:
zpopminin interfaceBinaryJedisCommands
-
sort
public List<byte[]> sort(byte[] key)
- Specified by:
sortin interfaceBinaryJedisCommands
-
sort
public List<byte[]> sort(byte[] key, SortingParams sortingParameters)
- Specified by:
sortin interfaceBinaryJedisCommands
-
zcount
public Long zcount(byte[] key, double min, double max)
- Specified by:
zcountin interfaceBinaryJedisCommands
-
zcount
public Long zcount(byte[] key, byte[] min, byte[] max)
- Specified by:
zcountin interfaceBinaryJedisCommands
-
zrangeByScore
public Set<byte[]> zrangeByScore(byte[] key, double min, double max)
- Specified by:
zrangeByScorein interfaceBinaryJedisCommands
-
zrangeByScore
public Set<byte[]> zrangeByScore(byte[] key, double min, double max, int offset, int count)
- Specified by:
zrangeByScorein interfaceBinaryJedisCommands
-
zrangeByScoreWithScores
public Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max)
- Specified by:
zrangeByScoreWithScoresin interfaceBinaryJedisCommands
-
zrangeByScoreWithScores
public Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)
- Specified by:
zrangeByScoreWithScoresin interfaceBinaryJedisCommands
-
zrangeByScore
public Set<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max)
- Specified by:
zrangeByScorein interfaceBinaryJedisCommands
-
zrangeByScoreWithScores
public Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)
- Specified by:
zrangeByScoreWithScoresin interfaceBinaryJedisCommands
-
zrangeByScoreWithScores
public Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)
- Specified by:
zrangeByScoreWithScoresin interfaceBinaryJedisCommands
-
zrangeByScore
public Set<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count)
- Specified by:
zrangeByScorein interfaceBinaryJedisCommands
-
zrevrangeByScore
public Set<byte[]> zrevrangeByScore(byte[] key, double max, double min)
- Specified by:
zrevrangeByScorein interfaceBinaryJedisCommands
-
zrevrangeByScore
public Set<byte[]> zrevrangeByScore(byte[] key, double max, double min, int offset, int count)
- Specified by:
zrevrangeByScorein interfaceBinaryJedisCommands
-
zrevrangeByScoreWithScores
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min)
- Specified by:
zrevrangeByScoreWithScoresin interfaceBinaryJedisCommands
-
zrevrangeByScoreWithScores
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)
- Specified by:
zrevrangeByScoreWithScoresin interfaceBinaryJedisCommands
-
zrevrangeByScore
public Set<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min)
- Specified by:
zrevrangeByScorein interfaceBinaryJedisCommands
-
zrevrangeByScore
public Set<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count)
- Specified by:
zrevrangeByScorein interfaceBinaryJedisCommands
-
zrevrangeByScoreWithScores
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)
- Specified by:
zrevrangeByScoreWithScoresin interfaceBinaryJedisCommands
-
zrevrangeByScoreWithScores
public Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)
- Specified by:
zrevrangeByScoreWithScoresin interfaceBinaryJedisCommands
-
zremrangeByRank
public Long zremrangeByRank(byte[] key, long start, long stop)
- Specified by:
zremrangeByRankin interfaceBinaryJedisCommands
-
zremrangeByScore
public Long zremrangeByScore(byte[] key, double min, double max)
- Specified by:
zremrangeByScorein interfaceBinaryJedisCommands
-
zremrangeByScore
public Long zremrangeByScore(byte[] key, byte[] min, byte[] max)
- Specified by:
zremrangeByScorein interfaceBinaryJedisCommands
-
zlexcount
public Long zlexcount(byte[] key, byte[] min, byte[] max)
- Specified by:
zlexcountin interfaceBinaryJedisCommands
-
zrangeByLex
public Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max)
- Specified by:
zrangeByLexin interfaceBinaryJedisCommands
-
zrangeByLex
public Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count)
- Specified by:
zrangeByLexin interfaceBinaryJedisCommands
-
zrevrangeByLex
public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min)
- Specified by:
zrevrangeByLexin interfaceBinaryJedisCommands
-
zrevrangeByLex
public Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count)
- Specified by:
zrevrangeByLexin interfaceBinaryJedisCommands
-
zremrangeByLex
public Long zremrangeByLex(byte[] key, byte[] min, byte[] max)
- Specified by:
zremrangeByLexin interfaceBinaryJedisCommands
-
linsert
public Long linsert(byte[] key, ListPosition where, byte[] pivot, byte[] value)
- Specified by:
linsertin interfaceBinaryJedisCommands
-
pipelined
public ShardedJedisPipeline pipelined()
-
objectRefcount
public Long objectRefcount(byte[] key)
-
objectEncoding
public byte[] objectEncoding(byte[] key)
-
objectIdletime
public Long objectIdletime(byte[] key)
-
objectFreq
public Long objectFreq(byte[] key)
-
setbit
public Boolean setbit(byte[] key, long offset, boolean value)
- Specified by:
setbitin interfaceBinaryJedisCommands
-
setbit
public Boolean setbit(byte[] key, long offset, byte[] value)
- Specified by:
setbitin interfaceBinaryJedisCommands
-
getbit
public Boolean getbit(byte[] key, long offset)
- Specified by:
getbitin interfaceBinaryJedisCommands
-
setrange
public Long setrange(byte[] key, long offset, byte[] value)
- Specified by:
setrangein interfaceBinaryJedisCommands
-
getrange
public byte[] getrange(byte[] key, long startOffset, long endOffset)- Specified by:
getrangein interfaceBinaryJedisCommands
-
move
public Long move(byte[] key, int dbIndex)
- Specified by:
movein interfaceBinaryJedisCommands
-
echo
public byte[] echo(byte[] arg)
- Specified by:
echoin interfaceBinaryJedisCommands
-
brpop
public List<byte[]> brpop(byte[] arg)
-
blpop
public List<byte[]> blpop(byte[] arg)
-
bitcount
public Long bitcount(byte[] key)
- Specified by:
bitcountin interfaceBinaryJedisCommands
-
bitcount
public Long bitcount(byte[] key, long start, long end)
- Specified by:
bitcountin interfaceBinaryJedisCommands
-
pfadd
public Long pfadd(byte[] key, byte[]... elements)
- Specified by:
pfaddin interfaceBinaryJedisCommands
-
pfcount
public long pfcount(byte[] key)
- Specified by:
pfcountin interfaceBinaryJedisCommands
-
geoadd
public Long geoadd(byte[] key, double longitude, double latitude, byte[] member)
- Specified by:
geoaddin interfaceBinaryJedisCommands
-
geoadd
public Long geoadd(byte[] key, Map<byte[],GeoCoordinate> memberCoordinateMap)
- Specified by:
geoaddin interfaceBinaryJedisCommands
-
geodist
public Double geodist(byte[] key, byte[] member1, byte[] member2)
- Specified by:
geodistin interfaceBinaryJedisCommands
-
geodist
public Double geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit)
- Specified by:
geodistin interfaceBinaryJedisCommands
-
geohash
public List<byte[]> geohash(byte[] key, byte[]... members)
- Specified by:
geohashin interfaceBinaryJedisCommands
-
geopos
public List<GeoCoordinate> geopos(byte[] key, byte[]... members)
- Specified by:
geoposin interfaceBinaryJedisCommands
-
georadius
public List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
- Specified by:
georadiusin interfaceBinaryJedisCommands
-
georadiusReadonly
public List<GeoRadiusResponse> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
- Specified by:
georadiusReadonlyin interfaceBinaryJedisCommands
-
georadius
public List<GeoRadiusResponse> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
- Specified by:
georadiusin interfaceBinaryJedisCommands
-
georadiusReadonly
public List<GeoRadiusResponse> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
- Specified by:
georadiusReadonlyin interfaceBinaryJedisCommands
-
georadiusByMember
public List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit)
- Specified by:
georadiusByMemberin interfaceBinaryJedisCommands
-
georadiusByMemberReadonly
public List<GeoRadiusResponse> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit)
- Specified by:
georadiusByMemberReadonlyin interfaceBinaryJedisCommands
-
georadiusByMember
public List<GeoRadiusResponse> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
- Specified by:
georadiusByMemberin interfaceBinaryJedisCommands
-
georadiusByMemberReadonly
public List<GeoRadiusResponse> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
- Specified by:
georadiusByMemberReadonlyin interfaceBinaryJedisCommands
-
hscan
public ScanResult<Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor)
- Specified by:
hscanin interfaceBinaryJedisCommands
-
hscan
public ScanResult<Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor, ScanParams params)
- Specified by:
hscanin interfaceBinaryJedisCommands
-
sscan
public ScanResult<byte[]> sscan(byte[] key, byte[] cursor)
- Specified by:
sscanin interfaceBinaryJedisCommands
-
sscan
public ScanResult<byte[]> sscan(byte[] key, byte[] cursor, ScanParams params)
- Specified by:
sscanin interfaceBinaryJedisCommands
-
zscan
public ScanResult<Tuple> zscan(byte[] key, byte[] cursor)
- Specified by:
zscanin interfaceBinaryJedisCommands
-
zscan
public ScanResult<Tuple> zscan(byte[] key, byte[] cursor, ScanParams params)
- Specified by:
zscanin interfaceBinaryJedisCommands
-
bitfield
public List<Long> bitfield(byte[] key, byte[]... arguments)
Description copied from interface:BinaryJedisCommandsExecutes BITFIELD Redis command- Specified by:
bitfieldin interfaceBinaryJedisCommands- Returns:
-
bitfieldReadonly
public List<Long> bitfieldReadonly(byte[] key, byte[]... arguments)
- Specified by:
bitfieldReadonlyin interfaceBinaryJedisCommands
-
hstrlen
public Long hstrlen(byte[] key, byte[] field)
Description copied from interface:BinaryJedisCommandsUsed for HSTRLEN Redis command- Specified by:
hstrlenin interfaceBinaryJedisCommands- Returns:
- lenth of the value for key
-
xadd
public byte[] xadd(byte[] key, byte[] id, Map<byte[],byte[]> hash, long maxLen, boolean approximateLength)- Specified by:
xaddin interfaceBinaryJedisCommands
-
xlen
public Long xlen(byte[] key)
- Specified by:
xlenin interfaceBinaryJedisCommands
-
xrange
public List<byte[]> xrange(byte[] key, byte[] start, byte[] end, long count)
- Specified by:
xrangein interfaceBinaryJedisCommands
-
xrevrange
public List<byte[]> xrevrange(byte[] key, byte[] end, byte[] start, int count)
- Specified by:
xrevrangein interfaceBinaryJedisCommands
-
xack
public Long xack(byte[] key, byte[] group, byte[]... ids)
- Specified by:
xackin interfaceBinaryJedisCommands
-
xgroupCreate
public String xgroupCreate(byte[] key, byte[] consumer, byte[] id, boolean makeStream)
- Specified by:
xgroupCreatein interfaceBinaryJedisCommands
-
xgroupSetID
public String xgroupSetID(byte[] key, byte[] consumer, byte[] id)
- Specified by:
xgroupSetIDin interfaceBinaryJedisCommands
-
xgroupDestroy
public Long xgroupDestroy(byte[] key, byte[] consumer)
- Specified by:
xgroupDestroyin interfaceBinaryJedisCommands
-
xgroupDelConsumer
public Long xgroupDelConsumer(byte[] key, byte[] consumer, byte[] consumerName)
- Specified by:
xgroupDelConsumerin interfaceBinaryJedisCommands
-
xdel
public Long xdel(byte[] key, byte[]... ids)
- Specified by:
xdelin interfaceBinaryJedisCommands
-
xtrim
public Long xtrim(byte[] key, long maxLen, boolean approximateLength)
- Specified by:
xtrimin interfaceBinaryJedisCommands
-
xpending
public List<byte[]> xpending(byte[] key, byte[] groupname, byte[] start, byte[] end, int count, byte[] consumername)
- Specified by:
xpendingin interfaceBinaryJedisCommands
-
xclaim
public List<byte[]> xclaim(byte[] key, byte[] groupname, byte[] consumername, long minIdleTime, long newIdleTime, int retries, boolean force, byte[][] ids)
- Specified by:
xclaimin interfaceBinaryJedisCommands
-
xinfoStream
public StreamInfo xinfoStream(byte[] key)
- Specified by:
xinfoStreamin interfaceBinaryJedisCommands
-
xinfoGroup
public List<StreamGroupInfo> xinfoGroup(byte[] key)
- Specified by:
xinfoGroupin interfaceBinaryJedisCommands
-
xinfoConsumers
public List<StreamConsumersInfo> xinfoConsumers(byte[] key, byte[] group)
- Specified by:
xinfoConsumersin interfaceBinaryJedisCommands
-
sendCommand
public Object sendCommand(ProtocolCommand cmd, byte[]... args)
-
sendBlockingCommand
public Object sendBlockingCommand(ProtocolCommand cmd, byte[]... args)
-
sendCommand
public Object sendCommand(ProtocolCommand cmd)
-
-