public interface BinaryJedisCommands
Modifier and Type | Method and Description |
---|---|
Long |
append(byte[] key,
byte[] value) |
Long |
bitcount(byte[] key) |
Long |
bitcount(byte[] key,
long start,
long end) |
List<Long> |
bitfield(byte[] key,
byte[]... arguments)
Executes BITFIELD Redis command
|
Long |
decr(byte[] key) |
Long |
decrBy(byte[] key,
long decrement) |
Long |
del(byte[] key) |
byte[] |
dump(byte[] key) |
byte[] |
echo(byte[] arg) |
Boolean |
exists(byte[] key) |
Long |
expire(byte[] key,
int seconds) |
Long |
expireAt(byte[] key,
long unixTime) |
Long |
geoadd(byte[] key,
double longitude,
double latitude,
byte[] member) |
Long |
geoadd(byte[] key,
Map<byte[],GeoCoordinate> memberCoordinateMap) |
Double |
geodist(byte[] key,
byte[] member1,
byte[] member2) |
Double |
geodist(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) |
Boolean |
getbit(byte[] key,
long offset) |
byte[] |
getrange(byte[] key,
long startOffset,
long endOffset) |
byte[] |
getSet(byte[] key,
byte[] value) |
Long |
hdel(byte[] key,
byte[]... field) |
Boolean |
hexists(byte[] key,
byte[] field) |
byte[] |
hget(byte[] key,
byte[] field) |
Map<byte[],byte[]> |
hgetAll(byte[] key) |
Long |
hincrBy(byte[] key,
byte[] field,
long value) |
Double |
hincrByFloat(byte[] key,
byte[] field,
double value) |
Set<byte[]> |
hkeys(byte[] key) |
Long |
hlen(byte[] key) |
List<byte[]> |
hmget(byte[] key,
byte[]... fields) |
String |
hmset(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) |
Long |
hset(byte[] key,
byte[] field,
byte[] value) |
Long |
hset(byte[] key,
Map<byte[],byte[]> hash) |
Long |
hsetnx(byte[] key,
byte[] field,
byte[] value) |
Long |
hstrlen(byte[] key,
byte[] field)
Used for HSTRLEN Redis command
|
Collection<byte[]> |
hvals(byte[] key) |
Long |
incr(byte[] key) |
Long |
incrBy(byte[] key,
long increment) |
Double |
incrByFloat(byte[] key,
double increment) |
byte[] |
lindex(byte[] key,
long index) |
Long |
linsert(byte[] key,
ListPosition where,
byte[] pivot,
byte[] value) |
Long |
llen(byte[] key) |
byte[] |
lpop(byte[] key) |
Long |
lpush(byte[] key,
byte[]... args) |
Long |
lpushx(byte[] key,
byte[]... arg) |
List<byte[]> |
lrange(byte[] key,
long start,
long stop) |
Long |
lrem(byte[] key,
long count,
byte[] value) |
String |
lset(byte[] key,
long index,
byte[] value) |
String |
ltrim(byte[] key,
long start,
long stop) |
Long |
move(byte[] key,
int dbIndex) |
Long |
persist(byte[] key) |
Long |
pexpire(byte[] key,
long milliseconds) |
Long |
pexpireAt(byte[] key,
long millisecondsTimestamp) |
Long |
pfadd(byte[] key,
byte[]... elements) |
long |
pfcount(byte[] key) |
String |
psetex(byte[] key,
long milliseconds,
byte[] value) |
Long |
pttl(byte[] key) |
String |
restore(byte[] key,
int ttl,
byte[] serializedValue) |
String |
restoreReplace(byte[] key,
int ttl,
byte[] serializedValue) |
byte[] |
rpop(byte[] key) |
Long |
rpush(byte[] key,
byte[]... args) |
Long |
rpushx(byte[] key,
byte[]... arg) |
Long |
sadd(byte[] key,
byte[]... member) |
Long |
scard(byte[] key) |
Object |
sendCommand(ProtocolCommand cmd,
byte[]... args) |
String |
set(byte[] key,
byte[] value) |
String |
set(byte[] key,
byte[] value,
SetParams params) |
Boolean |
setbit(byte[] key,
long offset,
boolean value) |
Boolean |
setbit(byte[] key,
long offset,
byte[] value) |
String |
setex(byte[] key,
int seconds,
byte[] value) |
Long |
setnx(byte[] key,
byte[] value) |
Long |
setrange(byte[] key,
long offset,
byte[] value) |
Boolean |
sismember(byte[] key,
byte[] member) |
Set<byte[]> |
smembers(byte[] key) |
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) |
Long |
srem(byte[] key,
byte[]... member) |
ScanResult<byte[]> |
sscan(byte[] key,
byte[] cursor) |
ScanResult<byte[]> |
sscan(byte[] key,
byte[] cursor,
ScanParams params) |
Long |
strlen(byte[] key) |
byte[] |
substr(byte[] key,
int start,
int end) |
Long |
touch(byte[] key) |
Long |
ttl(byte[] key) |
String |
type(byte[] key) |
Long |
unlink(byte[] key) |
Long |
xack(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) |
Long |
xdel(byte[] key,
byte[]... ids) |
String |
xgroupCreate(byte[] key,
byte[] consumer,
byte[] id,
boolean makeStream) |
String |
xgroupDelConsumer(byte[] key,
byte[] consumer,
byte[] consumerName) |
Long |
xgroupDestroy(byte[] key,
byte[] consumer) |
String |
xgroupSetID(byte[] key,
byte[] consumer,
byte[] id) |
Long |
xlen(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) |
Long |
xtrim(byte[] key,
long maxLen,
boolean approximateLength) |
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 |
zcard(byte[] key) |
Long |
zcount(byte[] key,
byte[] min,
byte[] max) |
Long |
zcount(byte[] key,
double min,
double max) |
Double |
zincrby(byte[] key,
double increment,
byte[] member) |
Double |
zincrby(byte[] key,
double increment,
byte[] member,
ZIncrByParams params) |
Long |
zlexcount(byte[] key,
byte[] min,
byte[] max) |
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) |
Long |
zrank(byte[] key,
byte[] member) |
Long |
zrem(byte[] key,
byte[]... members) |
Long |
zremrangeByLex(byte[] key,
byte[] min,
byte[] max) |
Long |
zremrangeByRank(byte[] key,
long start,
long stop) |
Long |
zremrangeByScore(byte[] key,
byte[] min,
byte[] max) |
Long |
zremrangeByScore(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) |
Long |
zrevrank(byte[] key,
byte[] member) |
ScanResult<Tuple> |
zscan(byte[] key,
byte[] cursor) |
ScanResult<Tuple> |
zscan(byte[] key,
byte[] cursor,
ScanParams params) |
Double |
zscore(byte[] key,
byte[] member) |
String set(byte[] key, byte[] value)
byte[] get(byte[] key)
Boolean exists(byte[] key)
Long persist(byte[] key)
String type(byte[] key)
byte[] dump(byte[] key)
String restore(byte[] key, int ttl, byte[] serializedValue)
String restoreReplace(byte[] key, int ttl, byte[] serializedValue)
Long expire(byte[] key, int seconds)
Long pexpire(byte[] key, long milliseconds)
Long expireAt(byte[] key, long unixTime)
Long pexpireAt(byte[] key, long millisecondsTimestamp)
Long ttl(byte[] key)
Long pttl(byte[] key)
Long touch(byte[] key)
Boolean setbit(byte[] key, long offset, boolean value)
Boolean setbit(byte[] key, long offset, byte[] value)
Boolean getbit(byte[] key, long offset)
Long setrange(byte[] key, long offset, byte[] value)
byte[] getrange(byte[] key, long startOffset, long endOffset)
byte[] getSet(byte[] key, byte[] value)
Long setnx(byte[] key, byte[] value)
String setex(byte[] key, int seconds, byte[] value)
String psetex(byte[] key, long milliseconds, byte[] value)
Long decrBy(byte[] key, long decrement)
Long decr(byte[] key)
Long incrBy(byte[] key, long increment)
Double incrByFloat(byte[] key, double increment)
Long incr(byte[] key)
Long append(byte[] key, byte[] value)
byte[] substr(byte[] key, int start, int end)
Long hset(byte[] key, byte[] field, byte[] value)
byte[] hget(byte[] key, byte[] field)
Long hsetnx(byte[] key, byte[] field, byte[] value)
List<byte[]> hmget(byte[] key, byte[]... fields)
Long hincrBy(byte[] key, byte[] field, long value)
Double hincrByFloat(byte[] key, byte[] field, double value)
Boolean hexists(byte[] key, byte[] field)
Long hdel(byte[] key, byte[]... field)
Long hlen(byte[] key)
Set<byte[]> hkeys(byte[] key)
Collection<byte[]> hvals(byte[] key)
Map<byte[],byte[]> hgetAll(byte[] key)
Long rpush(byte[] key, byte[]... args)
Long lpush(byte[] key, byte[]... args)
Long llen(byte[] key)
List<byte[]> lrange(byte[] key, long start, long stop)
String ltrim(byte[] key, long start, long stop)
byte[] lindex(byte[] key, long index)
String lset(byte[] key, long index, byte[] value)
Long lrem(byte[] key, long count, byte[] value)
byte[] lpop(byte[] key)
byte[] rpop(byte[] key)
Long sadd(byte[] key, byte[]... member)
Set<byte[]> smembers(byte[] key)
Long srem(byte[] key, byte[]... member)
byte[] spop(byte[] key)
Set<byte[]> spop(byte[] key, long count)
Long scard(byte[] key)
Boolean sismember(byte[] key, byte[] member)
byte[] srandmember(byte[] key)
List<byte[]> srandmember(byte[] key, int count)
Long strlen(byte[] key)
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, ZAddParams params)
Set<byte[]> zrange(byte[] key, long start, long stop)
Long zrem(byte[] key, byte[]... members)
Double zincrby(byte[] key, double increment, byte[] member)
Double zincrby(byte[] key, double increment, byte[] member, ZIncrByParams params)
Long zrank(byte[] key, byte[] member)
Long zrevrank(byte[] key, byte[] member)
Set<byte[]> zrevrange(byte[] key, long start, long stop)
Long zcard(byte[] key)
Double zscore(byte[] key, byte[] member)
List<byte[]> sort(byte[] key)
List<byte[]> sort(byte[] key, SortingParams sortingParameters)
Long zcount(byte[] key, double min, double max)
Long zcount(byte[] key, byte[] min, byte[] max)
Set<byte[]> zrangeByScore(byte[] key, double min, double max)
Set<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max)
Set<byte[]> zrevrangeByScore(byte[] key, double max, double min)
Set<byte[]> zrangeByScore(byte[] key, double min, double max, int offset, int count)
Set<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min)
Set<byte[]> zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count)
Set<byte[]> zrevrangeByScore(byte[] key, double max, double min, int offset, int count)
Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min)
Set<Tuple> zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)
Set<byte[]> zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count)
Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)
Set<Tuple> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)
Set<Tuple> zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)
Set<Tuple> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)
Long zremrangeByRank(byte[] key, long start, long stop)
Long zremrangeByScore(byte[] key, double min, double max)
Long zremrangeByScore(byte[] key, byte[] min, byte[] max)
Long zlexcount(byte[] key, byte[] min, byte[] max)
Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max)
Set<byte[]> zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count)
Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min)
Set<byte[]> zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count)
Long zremrangeByLex(byte[] key, byte[] min, byte[] max)
Long linsert(byte[] key, ListPosition where, byte[] pivot, byte[] value)
Long lpushx(byte[] key, byte[]... arg)
Long rpushx(byte[] key, byte[]... arg)
Long del(byte[] key)
Long unlink(byte[] key)
byte[] echo(byte[] arg)
Long move(byte[] key, int dbIndex)
Long bitcount(byte[] key)
Long bitcount(byte[] key, long start, long end)
Long pfadd(byte[] key, byte[]... elements)
long pfcount(byte[] key)
Long geoadd(byte[] key, double longitude, double latitude, byte[] member)
Long geoadd(byte[] key, Map<byte[],GeoCoordinate> memberCoordinateMap)
Double geodist(byte[] key, byte[] member1, byte[] member2)
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> georadiusReadonly(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> georadiusReadonly(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> georadiusByMemberReadonly(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, GeoRadiusParam param)
ScanResult<Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor)
ScanResult<Map.Entry<byte[],byte[]>> hscan(byte[] key, byte[] cursor, ScanParams params)
ScanResult<byte[]> sscan(byte[] key, byte[] cursor)
ScanResult<byte[]> sscan(byte[] key, byte[] cursor, ScanParams params)
ScanResult<Tuple> zscan(byte[] key, byte[] cursor)
ScanResult<Tuple> zscan(byte[] key, byte[] cursor, ScanParams params)
List<Long> bitfield(byte[] key, byte[]... arguments)
key
- arguments
- Long hstrlen(byte[] key, byte[] field)
key
- field
- byte[] xadd(byte[] key, byte[] id, Map<byte[],byte[]> hash, long maxLen, boolean approximateLength)
Long xlen(byte[] key)
List<byte[]> xrange(byte[] key, byte[] start, byte[] end, long count)
List<byte[]> xrevrange(byte[] key, byte[] end, byte[] start, int count)
Long xack(byte[] key, byte[] group, byte[]... ids)
String xgroupCreate(byte[] key, byte[] consumer, byte[] id, boolean makeStream)
String xgroupSetID(byte[] key, byte[] consumer, byte[] id)
Long xgroupDestroy(byte[] key, byte[] consumer)
String xgroupDelConsumer(byte[] key, byte[] consumer, byte[] consumerName)
Long xdel(byte[] key, byte[]... ids)
Long xtrim(byte[] key, long maxLen, boolean approximateLength)
List<byte[]> xpending(byte[] key, byte[] groupname, byte[] start, byte[] end, int count, byte[] consumername)
List<byte[]> xclaim(byte[] key, byte[] groupname, byte[] consumername, long minIdleTime, long newIdleTime, int retries, boolean force, byte[][] ids)
Object sendCommand(ProtocolCommand cmd, byte[]... args)
Copyright © 2019. All rights reserved.