public class Pipeline extends Queable implements PipelineCommands, PipelineBinaryCommands, DatabasePipelineCommands, RedisModulePipelineCommands, Closeable
Modifier and Type | Field and Description |
---|---|
protected Connection |
connection |
Constructor and Description |
---|
Pipeline(Connection connection) |
Pipeline(Jedis jedis) |
Modifier and Type | Method and Description |
---|---|
Response<Long> |
append(byte[] key,
byte[] value) |
Response<Long> |
append(String key,
String value) |
<T> Response<T> |
appendCommand(CommandObject<T> commandObject) |
Response<Boolean> |
bfAdd(String key,
String item) |
Response<Boolean> |
bfExists(String key,
String item) |
Response<Map<String,Object>> |
bfInfo(String key) |
Response<List<Boolean>> |
bfInsert(String key,
BFInsertParams insertParams,
String... items) |
Response<List<Boolean>> |
bfInsert(String key,
String... items) |
Response<List<Boolean>> |
bfMAdd(String key,
String... items) |
Response<List<Boolean>> |
bfMExists(String key,
String... items) |
Response<String> |
bfReserve(String key,
double errorRate,
long capacity) |
Response<String> |
bfReserve(String key,
double errorRate,
long capacity,
BFReserveParams reserveParams) |
Response<Long> |
bitcount(byte[] key) |
Response<Long> |
bitcount(byte[] key,
long start,
long end) |
Response<Long> |
bitcount(byte[] key,
long start,
long end,
BitCountOption option) |
Response<Long> |
bitcount(String key) |
Response<Long> |
bitcount(String key,
long start,
long end) |
Response<Long> |
bitcount(String key,
long start,
long end,
BitCountOption option) |
Response<List<Long>> |
bitfield(byte[] key,
byte[]... arguments) |
Response<List<Long>> |
bitfield(String key,
String... arguments) |
Response<List<Long>> |
bitfieldReadonly(byte[] key,
byte[]... arguments) |
Response<List<Long>> |
bitfieldReadonly(String key,
String... arguments) |
Response<Long> |
bitop(BitOP op,
byte[] destKey,
byte[]... srcKeys) |
Response<Long> |
bitop(BitOP op,
String destKey,
String... srcKeys) |
Response<Long> |
bitpos(byte[] key,
boolean value) |
Response<Long> |
bitpos(byte[] key,
boolean value,
BitPosParams params) |
Response<Long> |
bitpos(String key,
boolean value) |
Response<Long> |
bitpos(String key,
boolean value,
BitPosParams params) |
Response<byte[]> |
blmove(byte[] srcKey,
byte[] dstKey,
ListDirection from,
ListDirection to,
double timeout) |
Response<String> |
blmove(String srcKey,
String dstKey,
ListDirection from,
ListDirection to,
double timeout) |
Response<KeyValue<byte[],List<byte[]>>> |
blmpop(long timeout,
ListDirection direction,
byte[]... keys) |
Response<KeyValue<byte[],List<byte[]>>> |
blmpop(long timeout,
ListDirection direction,
int count,
byte[]... keys) |
Response<KeyValue<String,List<String>>> |
blmpop(long timeout,
ListDirection direction,
int count,
String... keys) |
Response<KeyValue<String,List<String>>> |
blmpop(long timeout,
ListDirection direction,
String... keys) |
Response<List<byte[]>> |
blpop(double timeout,
byte[]... keys) |
Response<KeyedListElement> |
blpop(double timeout,
String... keys) |
Response<KeyedListElement> |
blpop(double timeout,
String key) |
Response<List<byte[]>> |
blpop(int timeout,
byte[]... keys) |
Response<List<String>> |
blpop(int timeout,
String... keys) |
Response<List<String>> |
blpop(int timeout,
String key) |
Response<List<byte[]>> |
brpop(double timeout,
byte[]... keys) |
Response<KeyedListElement> |
brpop(double timeout,
String... keys) |
Response<KeyedListElement> |
brpop(double timeout,
String key) |
Response<List<byte[]>> |
brpop(int timeout,
byte[]... keys) |
Response<List<String>> |
brpop(int timeout,
String... keys) |
Response<List<String>> |
brpop(int timeout,
String key) |
Response<byte[]> |
brpoplpush(byte[] source,
byte[] destination,
int timeout) |
Response<String> |
brpoplpush(String source,
String destination,
int timeout) |
Response<KeyValue<byte[],List<Tuple>>> |
bzmpop(long timeout,
SortedSetOption option,
byte[]... keys) |
Response<KeyValue<byte[],List<Tuple>>> |
bzmpop(long timeout,
SortedSetOption option,
int count,
byte[]... keys) |
Response<KeyValue<String,List<Tuple>>> |
bzmpop(long timeout,
SortedSetOption option,
int count,
String... keys) |
Response<KeyValue<String,List<Tuple>>> |
bzmpop(long timeout,
SortedSetOption option,
String... keys) |
Response<List<byte[]>> |
bzpopmax(double timeout,
byte[]... keys) |
Response<KeyedZSetElement> |
bzpopmax(double timeout,
String... keys) |
Response<List<byte[]>> |
bzpopmin(double timeout,
byte[]... keys) |
Response<KeyedZSetElement> |
bzpopmin(double timeout,
String... keys) |
Response<Boolean> |
cfAdd(String key,
String item) |
Response<Boolean> |
cfAddNx(String key,
String item) |
Response<Long> |
cfCount(String key,
String item) |
Response<Boolean> |
cfDel(String key,
String item) |
Response<Boolean> |
cfExists(String key,
String item) |
Response<Map<String,Object>> |
cfInfo(String key) |
Response<List<Boolean>> |
cfInsert(String key,
CFInsertParams insertParams,
String... items) |
Response<List<Boolean>> |
cfInsert(String key,
String... items) |
Response<List<Boolean>> |
cfInsertNx(String key,
CFInsertParams insertParams,
String... items) |
Response<List<Boolean>> |
cfInsertNx(String key,
String... items) |
Response<String> |
cfReserve(String key,
long capacity) |
Response<String> |
cfReserve(String key,
long capacity,
CFReserveParams reserveParams) |
void |
close() |
Response<List<Long>> |
cmsIncrBy(String key,
Map<String,Long> itemIncrements) |
Response<Map<String,Object>> |
cmsInfo(String key) |
Response<String> |
cmsInitByDim(String key,
long width,
long depth) |
Response<String> |
cmsInitByProb(String key,
double error,
double probability) |
Response<String> |
cmsMerge(String destKey,
Map<String,Long> keysAndWeights) |
Response<String> |
cmsMerge(String destKey,
String... keys) |
Response<List<Long>> |
cmsQuery(String key,
String... items) |
Response<Boolean> |
copy(byte[] srcKey,
byte[] dstKey,
boolean replace) |
Response<Boolean> |
copy(byte[] srcKey,
byte[] dstKey,
int db,
boolean replace)
Binary version of
COPY . |
Response<Boolean> |
copy(String srcKey,
String dstKey,
boolean replace) |
Response<Boolean> |
copy(String srcKey,
String dstKey,
int db,
boolean replace)
Copy the value stored at the source key to the destination key.
|
Response<Long> |
dbSize()
Return the number of keys in the currently-selected database.
|
Response<Long> |
decr(byte[] key) |
Response<Long> |
decr(String key) |
Response<Long> |
decrBy(byte[] key,
long decrement) |
Response<Long> |
decrBy(String key,
long decrement) |
Response<Long> |
del(byte[]... keys) |
Response<Long> |
del(byte[] key) |
Response<Long> |
del(String... keys) |
Response<Long> |
del(String key) |
Response<byte[]> |
dump(byte[] key) |
Response<byte[]> |
dump(String key) |
Response<Object> |
eval(byte[] script) |
Response<Object> |
eval(byte[] script,
byte[] sampleKey) |
Response<Object> |
eval(byte[] script,
int keyCount,
byte[]... params) |
Response<Object> |
eval(byte[] script,
List<byte[]> keys,
List<byte[]> args) |
Response<Object> |
eval(String script) |
Response<Object> |
eval(String script,
int keyCount,
String... params) |
Response<Object> |
eval(String script,
List<String> keys,
List<String> args) |
Response<Object> |
eval(String script,
String sampleKey) |
Response<Object> |
evalReadonly(byte[] script,
List<byte[]> keys,
List<byte[]> args) |
Response<Object> |
evalReadonly(String script,
List<String> keys,
List<String> args) |
Response<Object> |
evalsha(byte[] sha1) |
Response<Object> |
evalsha(byte[] sha1,
byte[] sampleKey) |
Response<Object> |
evalsha(byte[] sha1,
int keyCount,
byte[]... params) |
Response<Object> |
evalsha(byte[] sha1,
List<byte[]> keys,
List<byte[]> args) |
Response<Object> |
evalsha(String sha1) |
Response<Object> |
evalsha(String sha1,
int keyCount,
String... params) |
Response<Object> |
evalsha(String sha1,
List<String> keys,
List<String> args) |
Response<Object> |
evalsha(String sha1,
String sampleKey) |
Response<Object> |
evalshaReadonly(byte[] sha1,
List<byte[]> keys,
List<byte[]> args) |
Response<Object> |
evalshaReadonly(String sha1,
List<String> keys,
List<String> args) |
<T> Response<T> |
executeCommand(CommandObject<T> command) |
Response<Long> |
exists(byte[]... keys) |
Response<Boolean> |
exists(byte[] key) |
Response<Long> |
exists(String... keys) |
Response<Boolean> |
exists(String key) |
Response<Long> |
expire(byte[] key,
long seconds) |
Response<Long> |
expire(byte[] key,
long seconds,
ExpiryOption expiryOption) |
Response<Long> |
expire(String key,
long seconds) |
Response<Long> |
expire(String key,
long seconds,
ExpiryOption expiryOption) |
Response<Long> |
expireAt(byte[] key,
long unixTime) |
Response<Long> |
expireAt(byte[] key,
long unixTime,
ExpiryOption expiryOption) |
Response<Long> |
expireAt(String key,
long unixTime) |
Response<Long> |
expireAt(String key,
long unixTime,
ExpiryOption expiryOption) |
Response<Long> |
expireTime(byte[] key) |
Response<Long> |
expireTime(String key) |
Response<Object> |
fcall(byte[] name,
List<byte[]> keys,
List<byte[]> args) |
Response<Object> |
fcall(String name,
List<String> keys,
List<String> args) |
Response<Object> |
fcallReadonly(byte[] name,
List<byte[]> keys,
List<byte[]> args) |
Response<Object> |
fcallReadonly(String name,
List<String> keys,
List<String> args) |
Response<AggregationResult> |
ftAggregate(String indexName,
AggregationBuilder aggr) |
Response<String> |
ftAliasAdd(String aliasName,
String indexName) |
Response<String> |
ftAliasDel(String aliasName) |
Response<String> |
ftAliasUpdate(String aliasName,
String indexName) |
Response<String> |
ftAlter(String indexName,
Schema schema) |
Response<Map<String,String>> |
ftConfigGet(String option) |
Response<Map<String,String>> |
ftConfigGet(String indexName,
String option) |
Response<String> |
ftConfigSet(String option,
String value) |
Response<String> |
ftConfigSet(String indexName,
String option,
String value) |
Response<String> |
ftCreate(String indexName,
IndexOptions indexOptions,
Schema schema) |
Response<String> |
ftCursorDel(String indexName,
long cursorId) |
Response<AggregationResult> |
ftCursorRead(String indexName,
long cursorId,
int count) |
Response<String> |
ftDropIndex(String indexName) |
Response<String> |
ftDropIndexDD(String indexName) |
Response<String> |
ftExplain(String indexName,
Query query) |
Response<List<String>> |
ftExplainCLI(String indexName,
Query query) |
Response<Map<String,Object>> |
ftInfo(String indexName) |
Response<SearchResult> |
ftSearch(byte[] indexName,
Query query) |
Response<SearchResult> |
ftSearch(String indexName,
Query query) |
Response<Map<String,List<String>>> |
ftSynDump(String indexName) |
Response<String> |
ftSynUpdate(String indexName,
String synonymGroupId,
String... terms) |
Response<String> |
functionDelete(byte[] libraryName) |
Response<String> |
functionDelete(String libraryName) |
Response<byte[]> |
functionDump() |
Response<String> |
functionFlush() |
Response<String> |
functionFlush(FlushMode mode) |
Response<String> |
functionKill() |
Response<List<LibraryInfo>> |
functionList() |
Response<List<Object>> |
functionList(byte[] libraryNamePattern) |
Response<List<LibraryInfo>> |
functionList(String libraryNamePattern) |
Response<List<Object>> |
functionListBinary() |
Response<List<LibraryInfo>> |
functionListWithCode() |
Response<List<Object>> |
functionListWithCode(byte[] libraryNamePattern) |
Response<List<LibraryInfo>> |
functionListWithCode(String libraryNamePattern) |
Response<List<Object>> |
functionListWithCodeBinary() |
Response<String> |
functionLoad(byte[] functionCode) |
Response<String> |
functionLoad(String functionCode) |
Response<String> |
functionLoadReplace(byte[] functionCode) |
Response<String> |
functionLoadReplace(String functionCode) |
Response<String> |
functionRestore(byte[] serializedValue) |
Response<String> |
functionRestore(byte[] serializedValue,
FunctionRestorePolicy policy) |
Response<FunctionStats> |
functionStats() |
Response<Object> |
functionStatsBinary() |
Response<Long> |
geoadd(byte[] key,
double longitude,
double latitude,
byte[] member) |
Response<Long> |
geoadd(byte[] key,
GeoAddParams params,
Map<byte[],GeoCoordinate> memberCoordinateMap) |
Response<Long> |
geoadd(byte[] key,
Map<byte[],GeoCoordinate> memberCoordinateMap) |
Response<Long> |
geoadd(String key,
double longitude,
double latitude,
String member) |
Response<Long> |
geoadd(String key,
GeoAddParams params,
Map<String,GeoCoordinate> memberCoordinateMap) |
Response<Long> |
geoadd(String key,
Map<String,GeoCoordinate> memberCoordinateMap) |
Response<Double> |
geodist(byte[] key,
byte[] member1,
byte[] member2) |
Response<Double> |
geodist(byte[] key,
byte[] member1,
byte[] member2,
GeoUnit unit) |
Response<Double> |
geodist(String key,
String member1,
String member2) |
Response<Double> |
geodist(String key,
String member1,
String member2,
GeoUnit unit) |
Response<List<byte[]>> |
geohash(byte[] key,
byte[]... members) |
Response<List<String>> |
geohash(String key,
String... members) |
Response<List<GeoCoordinate>> |
geopos(byte[] key,
byte[]... members) |
Response<List<GeoCoordinate>> |
geopos(String key,
String... members) |
Response<List<GeoRadiusResponse>> |
georadius(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
georadius(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
Response<List<GeoRadiusResponse>> |
georadius(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
georadius(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
Response<List<GeoRadiusResponse>> |
georadiusByMember(byte[] key,
byte[] member,
double radius,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
georadiusByMember(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
Response<List<GeoRadiusResponse>> |
georadiusByMember(String key,
String member,
double radius,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
georadiusByMember(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
Response<List<GeoRadiusResponse>> |
georadiusByMemberReadonly(byte[] key,
byte[] member,
double radius,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
georadiusByMemberReadonly(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
Response<List<GeoRadiusResponse>> |
georadiusByMemberReadonly(String key,
String member,
double radius,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
georadiusByMemberReadonly(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
Response<Long> |
georadiusByMemberStore(byte[] key,
byte[] member,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam) |
Response<Long> |
georadiusByMemberStore(String key,
String member,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam) |
Response<List<GeoRadiusResponse>> |
georadiusReadonly(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
georadiusReadonly(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
Response<List<GeoRadiusResponse>> |
georadiusReadonly(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
georadiusReadonly(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param) |
Response<Long> |
georadiusStore(byte[] key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam) |
Response<Long> |
georadiusStore(String key,
double longitude,
double latitude,
double radius,
GeoUnit unit,
GeoRadiusParam param,
GeoRadiusStoreParam storeParam) |
Response<List<GeoRadiusResponse>> |
geosearch(byte[] key,
byte[] member,
double width,
double height,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
geosearch(byte[] key,
byte[] member,
double radius,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
geosearch(byte[] key,
GeoCoordinate coord,
double width,
double height,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
geosearch(byte[] key,
GeoCoordinate coord,
double radius,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
geosearch(byte[] key,
GeoSearchParam params) |
Response<List<GeoRadiusResponse>> |
geosearch(String key,
GeoCoordinate coord,
double width,
double height,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
geosearch(String key,
GeoCoordinate coord,
double radius,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
geosearch(String key,
GeoSearchParam params) |
Response<List<GeoRadiusResponse>> |
geosearch(String key,
String member,
double width,
double height,
GeoUnit unit) |
Response<List<GeoRadiusResponse>> |
geosearch(String key,
String member,
double radius,
GeoUnit unit) |
Response<Long> |
geosearchStore(byte[] dest,
byte[] src,
byte[] member,
double width,
double height,
GeoUnit unit) |
Response<Long> |
geosearchStore(byte[] dest,
byte[] src,
byte[] member,
double radius,
GeoUnit unit) |
Response<Long> |
geosearchStore(byte[] dest,
byte[] src,
GeoCoordinate coord,
double width,
double height,
GeoUnit unit) |
Response<Long> |
geosearchStore(byte[] dest,
byte[] src,
GeoCoordinate coord,
double radius,
GeoUnit unit) |
Response<Long> |
geosearchStore(byte[] dest,
byte[] src,
GeoSearchParam params) |
Response<Long> |
geosearchStore(String dest,
String src,
GeoCoordinate coord,
double width,
double height,
GeoUnit unit) |
Response<Long> |
geosearchStore(String dest,
String src,
GeoCoordinate coord,
double radius,
GeoUnit unit) |
Response<Long> |
geosearchStore(String dest,
String src,
GeoSearchParam params) |
Response<Long> |
geosearchStore(String dest,
String src,
String member,
double width,
double height,
GeoUnit unit) |
Response<Long> |
geosearchStore(String dest,
String src,
String member,
double radius,
GeoUnit unit) |
Response<Long> |
geosearchStoreStoreDist(byte[] dest,
byte[] src,
GeoSearchParam params) |
Response<Long> |
geosearchStoreStoreDist(String dest,
String src,
GeoSearchParam params) |
Response<byte[]> |
get(byte[] key) |
Response<String> |
get(String key) |
Response<Boolean> |
getbit(byte[] key,
long offset) |
Response<Boolean> |
getbit(String key,
long offset) |
Response<byte[]> |
getDel(byte[] key) |
Response<String> |
getDel(String key) |
Response<byte[]> |
getEx(byte[] key,
GetExParams params) |
Response<String> |
getEx(String key,
GetExParams params) |
Response<byte[]> |
getrange(byte[] key,
long startOffset,
long endOffset) |
Response<String> |
getrange(String key,
long startOffset,
long endOffset) |
Response<byte[]> |
getSet(byte[] key,
byte[] value) |
Response<String> |
getSet(String key,
String value) |
Response<String> |
graphDelete(String name) |
Response<ResultSet> |
graphQuery(String name,
String query) |
Response<ResultSet> |
graphQuery(String name,
String query,
long timeout) |
Response<ResultSet> |
graphQuery(String name,
String query,
Map<String,Object> params) |
Response<ResultSet> |
graphQuery(String name,
String query,
Map<String,Object> params,
long timeout) |
Response<ResultSet> |
graphReadonlyQuery(String name,
String query) |
Response<ResultSet> |
graphReadonlyQuery(String name,
String query,
long timeout) |
Response<ResultSet> |
graphReadonlyQuery(String name,
String query,
Map<String,Object> params) |
Response<ResultSet> |
graphReadonlyQuery(String name,
String query,
Map<String,Object> params,
long timeout) |
boolean |
hasPipelinedResponse() |
Response<Long> |
hdel(byte[] key,
byte[]... field) |
Response<Long> |
hdel(String key,
String... field) |
Response<Boolean> |
hexists(byte[] key,
byte[] field) |
Response<Boolean> |
hexists(String key,
String field) |
Response<byte[]> |
hget(byte[] key,
byte[] field) |
Response<String> |
hget(String key,
String field) |
Response<Map<byte[],byte[]>> |
hgetAll(byte[] key) |
Response<Map<String,String>> |
hgetAll(String key) |
Response<Long> |
hincrBy(byte[] key,
byte[] field,
long value) |
Response<Long> |
hincrBy(String key,
String field,
long value) |
Response<Double> |
hincrByFloat(byte[] key,
byte[] field,
double value) |
Response<Double> |
hincrByFloat(String key,
String field,
double value) |
Response<Set<byte[]>> |
hkeys(byte[] key) |
Response<Set<String>> |
hkeys(String key) |
Response<Long> |
hlen(byte[] key) |
Response<Long> |
hlen(String key) |
Response<List<byte[]>> |
hmget(byte[] key,
byte[]... fields) |
Response<List<String>> |
hmget(String key,
String... fields) |
Response<String> |
hmset(byte[] key,
Map<byte[],byte[]> hash) |
Response<String> |
hmset(String key,
Map<String,String> hash) |
Response<byte[]> |
hrandfield(byte[] key) |
Response<List<byte[]>> |
hrandfield(byte[] key,
long count) |
Response<String> |
hrandfield(String key) |
Response<List<String>> |
hrandfield(String key,
long count) |
Response<Map<byte[],byte[]>> |
hrandfieldWithValues(byte[] key,
long count) |
Response<Map<String,String>> |
hrandfieldWithValues(String key,
long count) |
Response<ScanResult<Map.Entry<byte[],byte[]>>> |
hscan(byte[] key,
byte[] cursor,
ScanParams params) |
Response<ScanResult<Map.Entry<String,String>>> |
hscan(String key,
String cursor,
ScanParams params) |
Response<Long> |
hset(byte[] key,
byte[] field,
byte[] value) |
Response<Long> |
hset(byte[] key,
Map<byte[],byte[]> hash) |
Response<Long> |
hset(String key,
Map<String,String> hash) |
Response<Long> |
hset(String key,
String field,
String value) |
Response<Long> |
hsetnx(byte[] key,
byte[] field,
byte[] value) |
Response<Long> |
hsetnx(String key,
String field,
String value) |
Response<Long> |
hstrlen(byte[] key,
byte[] field) |
Response<Long> |
hstrlen(String key,
String field) |
Response<List<byte[]>> |
hvals(byte[] key) |
Response<List<String>> |
hvals(String key) |
Response<Long> |
incr(byte[] key) |
Response<Long> |
incr(String key) |
Response<Long> |
incrBy(byte[] key,
long increment) |
Response<Long> |
incrBy(String key,
long increment) |
Response<Double> |
incrByFloat(byte[] key,
double increment) |
Response<Double> |
incrByFloat(String key,
double increment) |
Response<List<Long>> |
jsonArrAppend(String key,
Path2 path,
Object... objects) |
Response<Long> |
jsonArrAppend(String key,
Path path,
Object... objects) |
Response<List<Long>> |
jsonArrAppendWithEscape(String key,
Path2 path,
Object... objects) |
Response<List<Long>> |
jsonArrIndex(String key,
Path2 path,
Object scalar) |
Response<Long> |
jsonArrIndex(String key,
Path path,
Object scalar) |
Response<List<Long>> |
jsonArrIndexWithEscape(String key,
Path2 path,
Object scalar) |
Response<List<Long>> |
jsonArrInsert(String key,
Path2 path,
int index,
Object... objects) |
Response<Long> |
jsonArrInsert(String key,
Path path,
int index,
Object... pojos) |
Response<List<Long>> |
jsonArrInsertWithEscape(String key,
Path2 path,
int index,
Object... objects) |
Response<Long> |
jsonArrLen(String key) |
Response<Long> |
jsonArrLen(String key,
Path path) |
Response<List<Long>> |
jsonArrLen(String key,
Path2 path) |
Response<Object> |
jsonArrPop(String key) |
<T> Response<T> |
jsonArrPop(String key,
Class<T> clazz) |
<T> Response<T> |
jsonArrPop(String key,
Class<T> clazz,
Path path) |
<T> Response<T> |
jsonArrPop(String key,
Class<T> clazz,
Path path,
int index) |
Response<Object> |
jsonArrPop(String key,
Path path) |
Response<List<Object>> |
jsonArrPop(String key,
Path2 path) |
Response<List<Object>> |
jsonArrPop(String key,
Path2 path,
int index) |
Response<Object> |
jsonArrPop(String key,
Path path,
int index) |
Response<List<Long>> |
jsonArrTrim(String key,
Path2 path,
int start,
int stop) |
Response<Long> |
jsonArrTrim(String key,
Path path,
int start,
int stop) |
Response<Long> |
jsonClear(String key) |
Response<Long> |
jsonClear(String key,
Path path) |
Response<Long> |
jsonClear(String key,
Path2 path) |
Response<Long> |
jsonDel(String key) |
Response<Long> |
jsonDel(String key,
Path path) |
Response<Long> |
jsonDel(String key,
Path2 path) |
Response<Object> |
jsonGet(String key) |
<T> Response<T> |
jsonGet(String key,
Class<T> clazz) |
<T> Response<T> |
jsonGet(String key,
Class<T> clazz,
Path... paths) |
Response<Object> |
jsonGet(String key,
Path... paths) |
Response<Object> |
jsonGet(String key,
Path2... paths) |
Response<List<org.json.JSONArray>> |
jsonMGet(Path2 path,
String... keys) |
<T> Response<List<T>> |
jsonMGet(Path path,
Class<T> clazz,
String... keys) |
Response<String> |
jsonSet(String key,
Path2 path,
Object object) |
Response<String> |
jsonSet(String key,
Path2 path,
Object object,
JsonSetParams params) |
Response<String> |
jsonSet(String key,
Path path,
Object object) |
Response<String> |
jsonSet(String key,
Path path,
Object object,
JsonSetParams params) |
Response<String> |
jsonSetWithEscape(String key,
Path2 path,
Object object) |
Response<String> |
jsonSetWithEscape(String key,
Path2 path,
Object object,
JsonSetParams params) |
Response<Long> |
jsonStrAppend(String key,
Object string) |
Response<List<Long>> |
jsonStrAppend(String key,
Path2 path,
Object string) |
Response<Long> |
jsonStrAppend(String key,
Path path,
Object string) |
Response<Long> |
jsonStrLen(String key) |
Response<Long> |
jsonStrLen(String key,
Path path) |
Response<List<Long>> |
jsonStrLen(String key,
Path2 path) |
Response<String> |
jsonToggle(String key,
Path path) |
Response<List<Boolean>> |
jsonToggle(String key,
Path2 path) |
Response<Class<?>> |
jsonType(String key) |
Response<Class<?>> |
jsonType(String key,
Path path) |
Response<List<Class<?>>> |
jsonType(String key,
Path2 path) |
Response<Set<byte[]>> |
keys(byte[] pattern) |
Response<Set<String>> |
keys(String pattern) |
Response<LCSMatchResult> |
lcs(byte[] keyA,
byte[] keyB,
LCSParams params) |
Response<LCSMatchResult> |
lcs(String keyA,
String keyB,
LCSParams params) |
Response<byte[]> |
lindex(byte[] key,
long index) |
Response<String> |
lindex(String key,
long index) |
Response<Long> |
linsert(byte[] key,
ListPosition where,
byte[] pivot,
byte[] value) |
Response<Long> |
linsert(String key,
ListPosition where,
String pivot,
String value) |
Response<Long> |
llen(byte[] key) |
Response<Long> |
llen(String key) |
Response<byte[]> |
lmove(byte[] srcKey,
byte[] dstKey,
ListDirection from,
ListDirection to) |
Response<String> |
lmove(String srcKey,
String dstKey,
ListDirection from,
ListDirection to) |
Response<KeyValue<byte[],List<byte[]>>> |
lmpop(ListDirection direction,
byte[]... keys) |
Response<KeyValue<byte[],List<byte[]>>> |
lmpop(ListDirection direction,
int count,
byte[]... keys) |
Response<KeyValue<String,List<String>>> |
lmpop(ListDirection direction,
int count,
String... keys) |
Response<KeyValue<String,List<String>>> |
lmpop(ListDirection direction,
String... keys) |
Response<byte[]> |
lpop(byte[] key) |
Response<List<byte[]>> |
lpop(byte[] key,
int count) |
Response<String> |
lpop(String key) |
Response<List<String>> |
lpop(String key,
int count) |
Response<Long> |
lpos(byte[] key,
byte[] element) |
Response<Long> |
lpos(byte[] key,
byte[] element,
LPosParams params) |
Response<List<Long>> |
lpos(byte[] key,
byte[] element,
LPosParams params,
long count) |
Response<Long> |
lpos(String key,
String element) |
Response<Long> |
lpos(String key,
String element,
LPosParams params) |
Response<List<Long>> |
lpos(String key,
String element,
LPosParams params,
long count) |
Response<Long> |
lpush(byte[] key,
byte[]... args) |
Response<Long> |
lpush(String key,
String... string) |
Response<Long> |
lpushx(byte[] key,
byte[]... args) |
Response<Long> |
lpushx(String key,
String... strings) |
Response<List<byte[]>> |
lrange(byte[] key,
long start,
long stop) |
Response<List<String>> |
lrange(String key,
long start,
long stop) |
Response<Long> |
lrem(byte[] key,
long count,
byte[] value) |
Response<Long> |
lrem(String key,
long count,
String value) |
Response<String> |
lset(byte[] key,
long index,
byte[] value) |
Response<String> |
lset(String key,
long index,
String value) |
Response<String> |
ltrim(byte[] key,
long start,
long stop) |
Response<String> |
ltrim(String key,
long start,
long stop) |
Response<Long> |
memoryUsage(byte[] key) |
Response<Long> |
memoryUsage(byte[] key,
int samples) |
Response<Long> |
memoryUsage(String key) |
Response<Long> |
memoryUsage(String key,
int samples) |
Response<List<byte[]>> |
mget(byte[]... keys) |
Response<List<String>> |
mget(String... keys) |
Response<String> |
migrate(String host,
int port,
byte[] key,
int timeout) |
Response<String> |
migrate(String host,
int port,
byte[] key,
int destinationDB,
int timeout)
Binary version of
MIGRATE . |
Response<String> |
migrate(String host,
int port,
int destinationDB,
int timeout,
MigrateParams params,
byte[]... keys)
Binary version of
MIGRATE . |
Response<String> |
migrate(String host,
int port,
int destinationDB,
int timeout,
MigrateParams params,
String... keys)
Migrate Command
Atomically transfer a key from a source Redis instance to a destination Redis instance.
|
Response<String> |
migrate(String host,
int port,
int timeout,
MigrateParams params,
byte[]... keys) |
Response<String> |
migrate(String host,
int port,
int timeout,
MigrateParams params,
String... keys) |
Response<String> |
migrate(String host,
int port,
String key,
int timeout) |
Response<String> |
migrate(String host,
int port,
String key,
int destinationDB,
int timeout)
Migrate Command
Atomically transfer a key from a source Redis instance to a destination Redis instance.
|
Response<Long> |
move(byte[] key,
int dbIndex)
Binary version of
MOVE . |
Response<Long> |
move(String key,
int dbIndex)
Move the specified key from the currently selected DB to the specified destination DB.
|
Response<String> |
mset(byte[]... keysvalues) |
Response<String> |
mset(String... keysvalues) |
Response<Long> |
msetnx(byte[]... keysvalues) |
Response<Long> |
msetnx(String... keysvalues) |
Response<byte[]> |
objectEncoding(byte[] key) |
Response<String> |
objectEncoding(String key) |
Response<Long> |
objectFreq(byte[] key) |
Response<Long> |
objectFreq(String key) |
Response<Long> |
objectIdletime(byte[] key) |
Response<Long> |
objectIdletime(String key) |
Response<Long> |
objectRefcount(byte[] key) |
Response<Long> |
objectRefcount(String key) |
Response<Long> |
persist(byte[] key) |
Response<Long> |
persist(String key) |
Response<Long> |
pexpire(byte[] key,
long milliseconds) |
Response<Long> |
pexpire(byte[] key,
long milliseconds,
ExpiryOption expiryOption) |
Response<Long> |
pexpire(String key,
long milliseconds) |
Response<Long> |
pexpire(String key,
long milliseconds,
ExpiryOption expiryOption) |
Response<Long> |
pexpireAt(byte[] key,
long millisecondsTimestamp) |
Response<Long> |
pexpireAt(byte[] key,
long millisecondsTimestamp,
ExpiryOption expiryOption) |
Response<Long> |
pexpireAt(String key,
long millisecondsTimestamp) |
Response<Long> |
pexpireAt(String key,
long millisecondsTimestamp,
ExpiryOption expiryOption) |
Response<Long> |
pexpireTime(byte[] key) |
Response<Long> |
pexpireTime(String key) |
Response<Long> |
pfadd(byte[] key,
byte[]... elements) |
Response<Long> |
pfadd(String key,
String... elements) |
Response<Long> |
pfcount(byte[]... keys) |
Response<Long> |
pfcount(byte[] key) |
Response<Long> |
pfcount(String... keys) |
Response<Long> |
pfcount(String key) |
Response<String> |
pfmerge(byte[] destkey,
byte[]... sourcekeys) |
Response<String> |
pfmerge(String destkey,
String... sourcekeys) |
Response<String> |
psetex(byte[] key,
long milliseconds,
byte[] value) |
Response<String> |
psetex(String key,
long milliseconds,
String value) |
Response<Long> |
pttl(byte[] key) |
Response<Long> |
pttl(String key) |
Response<Long> |
publish(byte[] channel,
byte[] message) |
Response<Long> |
publish(String channel,
String message) |
Response<byte[]> |
randomBinaryKey() |
Response<String> |
randomKey() |
Response<String> |
rename(byte[] oldkey,
byte[] newkey) |
Response<String> |
rename(String oldkey,
String newkey) |
Response<Long> |
renamenx(byte[] oldkey,
byte[] newkey) |
Response<Long> |
renamenx(String oldkey,
String newkey) |
Response<String> |
restore(byte[] key,
long ttl,
byte[] serializedValue) |
Response<String> |
restore(byte[] key,
long ttl,
byte[] serializedValue,
RestoreParams params) |
Response<String> |
restore(String key,
long ttl,
byte[] serializedValue) |
Response<String> |
restore(String key,
long ttl,
byte[] serializedValue,
RestoreParams params) |
Response<byte[]> |
rpop(byte[] key) |
Response<List<byte[]>> |
rpop(byte[] key,
int count) |
Response<String> |
rpop(String key) |
Response<List<String>> |
rpop(String key,
int count) |
Response<byte[]> |
rpoplpush(byte[] srckey,
byte[] dstkey) |
Response<String> |
rpoplpush(String srcKey,
String dstKey) |
Response<Long> |
rpush(byte[] key,
byte[]... args) |
Response<Long> |
rpush(String key,
String... string) |
Response<Long> |
rpushx(byte[] key,
byte[]... args) |
Response<Long> |
rpushx(String key,
String... strings) |
Response<Long> |
sadd(byte[] key,
byte[]... members) |
Response<Long> |
sadd(String key,
String... members) |
Response<ScanResult<byte[]>> |
scan(byte[] cursor) |
Response<ScanResult<byte[]>> |
scan(byte[] cursor,
ScanParams params) |
Response<ScanResult<byte[]>> |
scan(byte[] cursor,
ScanParams params,
byte[] type) |
Response<ScanResult<String>> |
scan(String cursor) |
Response<ScanResult<String>> |
scan(String cursor,
ScanParams params) |
Response<ScanResult<String>> |
scan(String cursor,
ScanParams params,
String type) |
Response<Long> |
scard(byte[] key) |
Response<Long> |
scard(String key) |
Response<List<Boolean>> |
scriptExists(byte[] sampleKey,
byte[]... sha1s) |
Response<List<Boolean>> |
scriptExists(String sampleKey,
String... sha1) |
Response<String> |
scriptFlush(byte[] sampleKey) |
Response<String> |
scriptFlush(byte[] sampleKey,
FlushMode flushMode) |
Response<String> |
scriptFlush(String sampleKey) |
Response<String> |
scriptFlush(String sampleKey,
FlushMode flushMode) |
Response<String> |
scriptKill(byte[] sampleKey) |
Response<String> |
scriptKill(String sampleKey) |
Response<byte[]> |
scriptLoad(byte[] script,
byte[] sampleKey) |
Response<String> |
scriptLoad(String script,
String sampleKey) |
Response<Set<byte[]>> |
sdiff(byte[]... keys) |
Response<Set<String>> |
sdiff(String... keys) |
Response<Long> |
sdiffstore(byte[] dstkey,
byte[]... keys) |
Response<Long> |
sdiffstore(String dstKey,
String... keys) |
Response<String> |
select(int index)
Select the DB with having the specified zero-based numeric index.
|
Response<Object> |
sendCommand(CommandArguments args) |
Response<Object> |
sendCommand(ProtocolCommand cmd,
byte[]... args) |
Response<Object> |
sendCommand(ProtocolCommand cmd,
String... args) |
Response<String> |
set(byte[] key,
byte[] value) |
Response<String> |
set(byte[] key,
byte[] value,
SetParams params) |
Response<String> |
set(String key,
String value) |
Response<String> |
set(String key,
String value,
SetParams params) |
Response<Boolean> |
setbit(byte[] key,
long offset,
boolean value) |
Response<Boolean> |
setbit(String key,
long offset,
boolean value) |
Response<String> |
setex(byte[] key,
long seconds,
byte[] value) |
Response<String> |
setex(String key,
long seconds,
String value) |
Response<Long> |
setnx(byte[] key,
byte[] value) |
Response<Long> |
setnx(String key,
String value) |
Response<Long> |
setrange(byte[] key,
long offset,
byte[] value) |
Response<Long> |
setrange(String key,
long offset,
String value) |
Response<Set<byte[]>> |
sinter(byte[]... keys) |
Response<Set<String>> |
sinter(String... keys) |
Response<Long> |
sintercard(byte[]... keys) |
Response<Long> |
sintercard(int limit,
byte[]... keys) |
Response<Long> |
sintercard(int limit,
String... keys) |
Response<Long> |
sintercard(String... keys) |
Response<Long> |
sinterstore(byte[] dstkey,
byte[]... keys) |
Response<Long> |
sinterstore(String dstKey,
String... keys) |
Response<Boolean> |
sismember(byte[] key,
byte[] member) |
Response<Boolean> |
sismember(String key,
String member) |
Response<Set<byte[]>> |
smembers(byte[] key) |
Response<Set<String>> |
smembers(String key) |
Response<List<Boolean>> |
smismember(byte[] key,
byte[]... members) |
Response<List<Boolean>> |
smismember(String key,
String... members) |
Response<Long> |
smove(byte[] srckey,
byte[] dstkey,
byte[] member) |
Response<Long> |
smove(String srcKey,
String dstKey,
String member) |
Response<List<byte[]>> |
sort(byte[] key) |
Response<Long> |
sort(byte[] key,
byte[] dstkey) |
Response<List<byte[]>> |
sort(byte[] key,
SortingParams sortingParams) |
Response<Long> |
sort(byte[] key,
SortingParams sortingParams,
byte[] dstkey) |
Response<List<String>> |
sort(String key) |
Response<List<String>> |
sort(String key,
SortingParams sortingParams) |
Response<Long> |
sort(String key,
SortingParams sortingParams,
String dstKey) |
Response<Long> |
sort(String key,
String dstKey) |
Response<List<byte[]>> |
sortReadonly(byte[] key,
SortingParams sortingParams) |
Response<List<String>> |
sortReadonly(String key,
SortingParams sortingParams) |
Response<byte[]> |
spop(byte[] key) |
Response<Set<byte[]>> |
spop(byte[] key,
long count) |
Response<String> |
spop(String key) |
Response<Set<String>> |
spop(String key,
long count) |
Response<byte[]> |
srandmember(byte[] key) |
Response<List<byte[]>> |
srandmember(byte[] key,
int count) |
Response<String> |
srandmember(String key) |
Response<List<String>> |
srandmember(String key,
int count) |
Response<Long> |
srem(byte[] key,
byte[]... members) |
Response<Long> |
srem(String key,
String... members) |
Response<ScanResult<byte[]>> |
sscan(byte[] key,
byte[] cursor,
ScanParams params) |
Response<ScanResult<String>> |
sscan(String key,
String cursor,
ScanParams params) |
Response<LCSMatchResult> |
strAlgoLCSKeys(byte[] keyA,
byte[] keyB,
StrAlgoLCSParams params) |
Response<LCSMatchResult> |
strAlgoLCSKeys(String keyA,
String keyB,
StrAlgoLCSParams params) |
Response<LCSMatchResult> |
strAlgoLCSStrings(byte[] strA,
byte[] strB,
StrAlgoLCSParams params) |
Response<LCSMatchResult> |
strAlgoLCSStrings(String strA,
String strB,
StrAlgoLCSParams params) |
Response<Long> |
strlen(byte[] key) |
Response<Long> |
strlen(String key) |
Response<byte[]> |
substr(byte[] key,
int start,
int end) |
Response<String> |
substr(String key,
int start,
int end) |
Response<Set<byte[]>> |
sunion(byte[]... keys) |
Response<Set<String>> |
sunion(String... keys) |
Response<Long> |
sunionstore(byte[] dstkey,
byte[]... keys) |
Response<Long> |
sunionstore(String dstKey,
String... keys) |
Response<String> |
swapDB(int index1,
int index2)
This command swaps two Redis databases, so that immediately all the clients connected to a
given database will see the data of the other database, and the other way around.
|
void |
sync()
Synchronize pipeline by reading all responses.
|
List<Object> |
syncAndReturnAll()
Synchronize pipeline by reading all responses.
|
Response<List<String>> |
time() |
Response<List<String>> |
topkAdd(String key,
String... items) |
Response<List<Long>> |
topkCount(String key,
String... items) |
Response<List<String>> |
topkIncrBy(String key,
Map<String,Long> itemIncrements) |
Response<Map<String,Object>> |
topkInfo(String key) |
Response<List<String>> |
topkList(String key) |
Response<List<Boolean>> |
topkQuery(String key,
String... items) |
Response<String> |
topkReserve(String key,
long topk) |
Response<String> |
topkReserve(String key,
long topk,
long width,
long depth,
double decay) |
Response<Long> |
touch(byte[]... keys) |
Response<Long> |
touch(byte[] key) |
Response<Long> |
touch(String... keys) |
Response<Long> |
touch(String key) |
Response<Long> |
tsAdd(String key,
double value) |
Response<Long> |
tsAdd(String key,
long timestamp,
double value) |
Response<Long> |
tsAdd(String key,
long timestamp,
double value,
TSCreateParams createParams) |
Response<String> |
tsAlter(String key,
TSAlterParams alterParams) |
Response<String> |
tsCreate(String key) |
Response<String> |
tsCreate(String key,
TSCreateParams createParams) |
Response<String> |
tsCreateRule(String sourceKey,
String destKey,
AggregationType aggregationType,
long timeBucket) |
Response<Long> |
tsDel(String key,
long fromTimestamp,
long toTimestamp) |
Response<String> |
tsDeleteRule(String sourceKey,
String destKey) |
Response<TSElement> |
tsGet(String key) |
Response<List<TSKeyValue<TSElement>>> |
tsMGet(TSMGetParams multiGetParams,
String... filters) |
Response<List<TSKeyedElements>> |
tsMRange(long fromTimestamp,
long toTimestamp,
String... filters) |
Response<List<TSKeyedElements>> |
tsMRange(TSMRangeParams multiRangeParams) |
Response<List<TSKeyedElements>> |
tsMRevRange(long fromTimestamp,
long toTimestamp,
String... filters) |
Response<List<TSKeyedElements>> |
tsMRevRange(TSMRangeParams multiRangeParams) |
Response<List<String>> |
tsQueryIndex(String... filters) |
Response<List<TSElement>> |
tsRange(String key,
long fromTimestamp,
long toTimestamp) |
Response<List<TSElement>> |
tsRange(String key,
TSRangeParams rangeParams) |
Response<List<TSElement>> |
tsRevRange(String key,
long fromTimestamp,
long toTimestamp) |
Response<List<TSElement>> |
tsRevRange(String key,
TSRangeParams rangeParams) |
Response<Long> |
ttl(byte[] key) |
Response<Long> |
ttl(String key) |
Response<String> |
type(byte[] key) |
Response<String> |
type(String key) |
Response<Long> |
unlink(byte[]... keys) |
Response<Long> |
unlink(byte[] key) |
Response<Long> |
unlink(String... keys) |
Response<Long> |
unlink(String key) |
Response<Long> |
waitReplicas(byte[] sampleKey,
int replicas,
long timeout) |
Response<Long> |
waitReplicas(int replicas,
long timeout) |
Response<Long> |
waitReplicas(String sampleKey,
int replicas,
long timeout) |
Response<Long> |
xack(byte[] key,
byte[] group,
byte[]... ids) |
Response<Long> |
xack(String key,
String group,
StreamEntryID... ids)
XACK key group ID [ID ...]
|
Response<byte[]> |
xadd(byte[] key,
XAddParams params,
Map<byte[],byte[]> hash) |
Response<StreamEntryID> |
xadd(String key,
StreamEntryID id,
Map<String,String> hash)
XADD key ID field string [field string ...]
|
Response<StreamEntryID> |
xadd(String key,
XAddParams params,
Map<String,String> hash) |
Response<List<Object>> |
xautoclaim(byte[] key,
byte[] groupName,
byte[] consumerName,
long minIdleTime,
byte[] start,
XAutoClaimParams params) |
Response<Map.Entry<StreamEntryID,List<StreamEntry>>> |
xautoclaim(String key,
String group,
String consumerName,
long minIdleTime,
StreamEntryID start,
XAutoClaimParams params)
XAUTOCLAIM key group consumer min-idle-time start [COUNT count]
|
Response<List<Object>> |
xautoclaimJustId(byte[] key,
byte[] groupName,
byte[] consumerName,
long minIdleTime,
byte[] start,
XAutoClaimParams params) |
Response<Map.Entry<StreamEntryID,List<StreamEntryID>>> |
xautoclaimJustId(String key,
String group,
String consumerName,
long minIdleTime,
StreamEntryID start,
XAutoClaimParams params)
XAUTOCLAIM key group consumer min-idle-time start [COUNT count] JUSTID
|
Response<List<byte[]>> |
xclaim(byte[] key,
byte[] group,
byte[] consumerName,
long minIdleTime,
XClaimParams params,
byte[]... ids) |
Response<List<StreamEntry>> |
xclaim(String key,
String group,
String consumerName,
long minIdleTime,
XClaimParams params,
StreamEntryID... ids)
XCLAIM
|
Response<List<byte[]>> |
xclaimJustId(byte[] key,
byte[] group,
byte[] consumerName,
long minIdleTime,
XClaimParams params,
byte[]... ids) |
Response<List<StreamEntryID>> |
xclaimJustId(String key,
String group,
String consumerName,
long minIdleTime,
XClaimParams params,
StreamEntryID... ids)
XCLAIM
|
Response<Long> |
xdel(byte[] key,
byte[]... ids) |
Response<Long> |
xdel(String key,
StreamEntryID... ids)
XDEL key ID [ID ...]
|
Response<String> |
xgroupCreate(byte[] key,
byte[] groupName,
byte[] id,
boolean makeStream) |
Response<String> |
xgroupCreate(String key,
String groupName,
StreamEntryID id,
boolean makeStream)
XGROUP CREATE
|
Response<Boolean> |
xgroupCreateConsumer(byte[] key,
byte[] groupName,
byte[] consumerName) |
Response<Boolean> |
xgroupCreateConsumer(String key,
String groupName,
String consumerName)
XGROUP CREATECONSUMER
|
Response<Long> |
xgroupDelConsumer(byte[] key,
byte[] groupName,
byte[] consumerName) |
Response<Long> |
xgroupDelConsumer(String key,
String groupName,
String consumerName)
XGROUP DELCONSUMER
|
Response<Long> |
xgroupDestroy(byte[] key,
byte[] groupName) |
Response<Long> |
xgroupDestroy(String key,
String groupName)
XGROUP DESTROY
|
Response<String> |
xgroupSetID(byte[] key,
byte[] groupName,
byte[] id) |
Response<String> |
xgroupSetID(String key,
String groupName,
StreamEntryID id)
XGROUP SETID
|
Response<List<Object>> |
xinfoConsumers(byte[] key,
byte[] group) |
Response<List<StreamConsumersInfo>> |
xinfoConsumers(String key,
String group)
Introspection command used in order to retrieve different information about consumers in the group
|
Response<List<Object>> |
xinfoGroup(byte[] key)
Deprecated.
|
Response<List<StreamGroupInfo>> |
xinfoGroup(String key)
Deprecated.
|
Response<List<Object>> |
xinfoGroups(byte[] key) |
Response<List<StreamGroupInfo>> |
xinfoGroups(String key)
Introspection command used in order to retrieve different information about groups in the stream
|
Response<Object> |
xinfoStream(byte[] key) |
Response<StreamInfo> |
xinfoStream(String key)
Introspection command used in order to retrieve different information about the stream
|
Response<Object> |
xinfoStreamFull(byte[] key)
Introspection command used in order to retrieve all information about the stream
|
Response<Object> |
xinfoStreamFull(byte[] key,
int count)
Introspection command used in order to retrieve all information about the stream
|
Response<StreamFullInfo> |
xinfoStreamFull(String key)
Introspection command used in order to retrieve all information about the stream
|
Response<StreamFullInfo> |
xinfoStreamFull(String key,
int count)
Introspection command used in order to retrieve all information about the stream
|
Response<Long> |
xlen(byte[] key) |
Response<Long> |
xlen(String key)
XLEN key
|
Response<Object> |
xpending(byte[] key,
byte[] groupName) |
Response<List<Object>> |
xpending(byte[] key,
byte[] groupName,
byte[] start,
byte[] end,
int count,
byte[] consumerName) |
Response<List<Object>> |
xpending(byte[] key,
byte[] groupName,
XPendingParams params) |
Response<StreamPendingSummary> |
xpending(String key,
String groupName)
XPENDING key group
|
Response<List<StreamPendingEntry>> |
xpending(String key,
String groupName,
StreamEntryID start,
StreamEntryID end,
int count,
String consumerName)
XPENDING key group [start end count] [consumer]
|
Response<List<StreamPendingEntry>> |
xpending(String key,
String groupName,
XPendingParams params)
XPENDING key group [[IDLE min-idle-time] start end count [consumer]]
|
Response<List<byte[]>> |
xrange(byte[] key,
byte[] start,
byte[] end) |
Response<List<byte[]>> |
xrange(byte[] key,
byte[] start,
byte[] end,
int count) |
Response<List<StreamEntry>> |
xrange(String key,
StreamEntryID start,
StreamEntryID end)
XRANGE key start end
|
Response<List<StreamEntry>> |
xrange(String key,
StreamEntryID start,
StreamEntryID end,
int count)
XRANGE key start end COUNT count
|
Response<List<StreamEntry>> |
xrange(String key,
String start,
String end) |
Response<List<StreamEntry>> |
xrange(String key,
String start,
String end,
int count) |
Response<List<byte[]>> |
xread(XReadParams xReadParams,
Map.Entry<byte[],byte[]>... streams) |
Response<List<Map.Entry<String,List<StreamEntry>>>> |
xread(XReadParams xReadParams,
Map<String,StreamEntryID> streams)
XREAD [COUNT count] [BLOCK milliseconds] STREAMS key [key ...] ID [ID ...]
|
Response<List<byte[]>> |
xreadGroup(byte[] groupName,
byte[] consumer,
XReadGroupParams xReadGroupParams,
Map.Entry<byte[],byte[]>... streams) |
Response<List<Map.Entry<String,List<StreamEntry>>>> |
xreadGroup(String groupName,
String consumer,
XReadGroupParams xReadGroupParams,
Map<String,StreamEntryID> streams)
XREAD [COUNT count] [BLOCK milliseconds] STREAMS key [key ...] ID [ID ...]
|
Response<List<byte[]>> |
xrevrange(byte[] key,
byte[] end,
byte[] start) |
Response<List<byte[]>> |
xrevrange(byte[] key,
byte[] end,
byte[] start,
int count) |
Response<List<StreamEntry>> |
xrevrange(String key,
StreamEntryID end,
StreamEntryID start)
XREVRANGE key end start
|
Response<List<StreamEntry>> |
xrevrange(String key,
StreamEntryID end,
StreamEntryID start,
int count)
XREVRANGE key end start COUNT count
|
Response<List<StreamEntry>> |
xrevrange(String key,
String end,
String start) |
Response<List<StreamEntry>> |
xrevrange(String key,
String end,
String start,
int count) |
Response<Long> |
xtrim(byte[] key,
long maxLen,
boolean approximateLength) |
Response<Long> |
xtrim(byte[] key,
XTrimParams params) |
Response<Long> |
xtrim(String key,
long maxLen,
boolean approximate)
XTRIM key MAXLEN [~] count
|
Response<Long> |
xtrim(String key,
XTrimParams params)
XTRIM key MAXLEN|MINID [=|~] threshold [LIMIT count]
|
Response<Long> |
zadd(byte[] key,
double score,
byte[] member) |
Response<Long> |
zadd(byte[] key,
double score,
byte[] member,
ZAddParams params) |
Response<Long> |
zadd(byte[] key,
Map<byte[],Double> scoreMembers) |
Response<Long> |
zadd(byte[] key,
Map<byte[],Double> scoreMembers,
ZAddParams params) |
Response<Long> |
zadd(String key,
double score,
String member) |
Response<Long> |
zadd(String key,
double score,
String member,
ZAddParams params) |
Response<Long> |
zadd(String key,
Map<String,Double> scoreMembers) |
Response<Long> |
zadd(String key,
Map<String,Double> scoreMembers,
ZAddParams params) |
Response<Double> |
zaddIncr(byte[] key,
double score,
byte[] member,
ZAddParams params) |
Response<Double> |
zaddIncr(String key,
double score,
String member,
ZAddParams params) |
Response<Long> |
zcard(byte[] key) |
Response<Long> |
zcard(String key) |
Response<Long> |
zcount(byte[] key,
byte[] min,
byte[] max) |
Response<Long> |
zcount(byte[] key,
double min,
double max) |
Response<Long> |
zcount(String key,
double min,
double max) |
Response<Long> |
zcount(String key,
String min,
String max) |
Response<Set<byte[]>> |
zdiff(byte[]... keys) |
Response<Set<String>> |
zdiff(String... keys) |
Response<Long> |
zdiffStore(byte[] dstkey,
byte[]... keys) |
Response<Long> |
zdiffStore(String dstKey,
String... keys) |
Response<Set<Tuple>> |
zdiffWithScores(byte[]... keys) |
Response<Set<Tuple>> |
zdiffWithScores(String... keys) |
Response<Double> |
zincrby(byte[] key,
double increment,
byte[] member) |
Response<Double> |
zincrby(byte[] key,
double increment,
byte[] member,
ZIncrByParams params) |
Response<Double> |
zincrby(String key,
double increment,
String member) |
Response<Double> |
zincrby(String key,
double increment,
String member,
ZIncrByParams params) |
Response<Set<byte[]>> |
zinter(ZParams params,
byte[]... keys) |
Response<Set<String>> |
zinter(ZParams params,
String... keys) |
Response<Long> |
zintercard(byte[]... keys) |
Response<Long> |
zintercard(long limit,
byte[]... keys) |
Response<Long> |
zintercard(long limit,
String... keys) |
Response<Long> |
zintercard(String... keys) |
Response<Long> |
zinterstore(byte[] dstkey,
byte[]... sets) |
Response<Long> |
zinterstore(byte[] dstkey,
ZParams params,
byte[]... sets) |
Response<Long> |
zinterstore(String dstKey,
String... sets) |
Response<Long> |
zinterstore(String dstKey,
ZParams params,
String... sets) |
Response<Set<Tuple>> |
zinterWithScores(ZParams params,
byte[]... keys) |
Response<Set<Tuple>> |
zinterWithScores(ZParams params,
String... keys) |
Response<Long> |
zlexcount(byte[] key,
byte[] min,
byte[] max) |
Response<Long> |
zlexcount(String key,
String min,
String max) |
Response<KeyValue<byte[],List<Tuple>>> |
zmpop(SortedSetOption option,
byte[]... keys) |
Response<KeyValue<byte[],List<Tuple>>> |
zmpop(SortedSetOption option,
int count,
byte[]... keys) |
Response<KeyValue<String,List<Tuple>>> |
zmpop(SortedSetOption option,
int count,
String... keys) |
Response<KeyValue<String,List<Tuple>>> |
zmpop(SortedSetOption option,
String... keys) |
Response<List<Double>> |
zmscore(byte[] key,
byte[]... members) |
Response<List<Double>> |
zmscore(String key,
String... members) |
Response<Tuple> |
zpopmax(byte[] key) |
Response<List<Tuple>> |
zpopmax(byte[] key,
int count) |
Response<Tuple> |
zpopmax(String key) |
Response<List<Tuple>> |
zpopmax(String key,
int count) |
Response<Tuple> |
zpopmin(byte[] key) |
Response<List<Tuple>> |
zpopmin(byte[] key,
int count) |
Response<Tuple> |
zpopmin(String key) |
Response<List<Tuple>> |
zpopmin(String key,
int count) |
Response<byte[]> |
zrandmember(byte[] key) |
Response<List<byte[]>> |
zrandmember(byte[] key,
long count) |
Response<String> |
zrandmember(String key) |
Response<List<String>> |
zrandmember(String key,
long count) |
Response<List<Tuple>> |
zrandmemberWithScores(byte[] key,
long count) |
Response<List<Tuple>> |
zrandmemberWithScores(String key,
long count) |
Response<List<byte[]>> |
zrange(byte[] key,
long start,
long stop) |
Response<List<byte[]>> |
zrange(byte[] key,
ZRangeParams zRangeParams) |
Response<List<String>> |
zrange(String key,
long start,
long stop) |
Response<List<String>> |
zrange(String key,
ZRangeParams zRangeParams) |
Response<List<byte[]>> |
zrangeByLex(byte[] key,
byte[] min,
byte[] max) |
Response<List<byte[]>> |
zrangeByLex(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
Response<List<String>> |
zrangeByLex(String key,
String min,
String max) |
Response<List<String>> |
zrangeByLex(String key,
String min,
String max,
int offset,
int count) |
Response<List<byte[]>> |
zrangeByScore(byte[] key,
byte[] min,
byte[] max) |
Response<List<byte[]>> |
zrangeByScore(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
Response<List<byte[]>> |
zrangeByScore(byte[] key,
double min,
double max) |
Response<List<byte[]>> |
zrangeByScore(byte[] key,
double min,
double max,
int offset,
int count) |
Response<List<String>> |
zrangeByScore(String key,
double min,
double max) |
Response<List<String>> |
zrangeByScore(String key,
double min,
double max,
int offset,
int count) |
Response<List<String>> |
zrangeByScore(String key,
String min,
String max) |
Response<List<String>> |
zrangeByScore(String key,
String min,
String max,
int offset,
int count) |
Response<List<Tuple>> |
zrangeByScoreWithScores(byte[] key,
byte[] min,
byte[] max) |
Response<List<Tuple>> |
zrangeByScoreWithScores(byte[] key,
byte[] min,
byte[] max,
int offset,
int count) |
Response<List<Tuple>> |
zrangeByScoreWithScores(byte[] key,
double min,
double max) |
Response<List<Tuple>> |
zrangeByScoreWithScores(byte[] key,
double min,
double max,
int offset,
int count) |
Response<List<Tuple>> |
zrangeByScoreWithScores(String key,
double min,
double max) |
Response<List<Tuple>> |
zrangeByScoreWithScores(String key,
double min,
double max,
int offset,
int count) |
Response<List<Tuple>> |
zrangeByScoreWithScores(String key,
String min,
String max) |
Response<List<Tuple>> |
zrangeByScoreWithScores(String key,
String min,
String max,
int offset,
int count) |
Response<Long> |
zrangestore(byte[] dest,
byte[] src,
ZRangeParams zRangeParams) |
Response<Long> |
zrangestore(String dest,
String src,
ZRangeParams zRangeParams) |
Response<List<Tuple>> |
zrangeWithScores(byte[] key,
long start,
long stop) |
Response<List<Tuple>> |
zrangeWithScores(byte[] key,
ZRangeParams zRangeParams) |
Response<List<Tuple>> |
zrangeWithScores(String key,
long start,
long stop) |
Response<List<Tuple>> |
zrangeWithScores(String key,
ZRangeParams zRangeParams) |
Response<Long> |
zrank(byte[] key,
byte[] member) |
Response<Long> |
zrank(String key,
String member) |
Response<Long> |
zrem(byte[] key,
byte[]... members) |
Response<Long> |
zrem(String key,
String... members) |
Response<Long> |
zremrangeByLex(byte[] key,
byte[] min,
byte[] max) |
Response<Long> |
zremrangeByLex(String key,
String min,
String max) |
Response<Long> |
zremrangeByRank(byte[] key,
long start,
long stop) |
Response<Long> |
zremrangeByRank(String key,
long start,
long stop) |
Response<Long> |
zremrangeByScore(byte[] key,
byte[] min,
byte[] max) |
Response<Long> |
zremrangeByScore(byte[] key,
double min,
double max) |
Response<Long> |
zremrangeByScore(String key,
double min,
double max) |
Response<Long> |
zremrangeByScore(String key,
String min,
String max) |
Response<List<byte[]>> |
zrevrange(byte[] key,
long start,
long stop) |
Response<List<String>> |
zrevrange(String key,
long start,
long stop) |
Response<List<byte[]>> |
zrevrangeByLex(byte[] key,
byte[] max,
byte[] min) |
Response<List<byte[]>> |
zrevrangeByLex(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
Response<List<String>> |
zrevrangeByLex(String key,
String max,
String min) |
Response<List<String>> |
zrevrangeByLex(String key,
String max,
String min,
int offset,
int count) |
Response<List<byte[]>> |
zrevrangeByScore(byte[] key,
byte[] max,
byte[] min) |
Response<List<byte[]>> |
zrevrangeByScore(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
Response<List<byte[]>> |
zrevrangeByScore(byte[] key,
double max,
double min) |
Response<List<byte[]>> |
zrevrangeByScore(byte[] key,
double max,
double min,
int offset,
int count) |
Response<List<String>> |
zrevrangeByScore(String key,
double max,
double min) |
Response<List<String>> |
zrevrangeByScore(String key,
double max,
double min,
int offset,
int count) |
Response<List<String>> |
zrevrangeByScore(String key,
String max,
String min) |
Response<List<String>> |
zrevrangeByScore(String key,
String max,
String min,
int offset,
int count) |
Response<List<Tuple>> |
zrevrangeByScoreWithScores(byte[] key,
byte[] max,
byte[] min) |
Response<List<Tuple>> |
zrevrangeByScoreWithScores(byte[] key,
byte[] max,
byte[] min,
int offset,
int count) |
Response<List<Tuple>> |
zrevrangeByScoreWithScores(byte[] key,
double max,
double min) |
Response<List<Tuple>> |
zrevrangeByScoreWithScores(byte[] key,
double max,
double min,
int offset,
int count) |
Response<List<Tuple>> |
zrevrangeByScoreWithScores(String key,
double max,
double min) |
Response<List<Tuple>> |
zrevrangeByScoreWithScores(String key,
double max,
double min,
int offset,
int count) |
Response<List<Tuple>> |
zrevrangeByScoreWithScores(String key,
String max,
String min) |
Response<List<Tuple>> |
zrevrangeByScoreWithScores(String key,
String max,
String min,
int offset,
int count) |
Response<List<Tuple>> |
zrevrangeWithScores(byte[] key,
long start,
long stop) |
Response<List<Tuple>> |
zrevrangeWithScores(String key,
long start,
long stop) |
Response<Long> |
zrevrank(byte[] key,
byte[] member) |
Response<Long> |
zrevrank(String key,
String member) |
Response<ScanResult<Tuple>> |
zscan(byte[] key,
byte[] cursor,
ScanParams params) |
Response<ScanResult<Tuple>> |
zscan(String key,
String cursor,
ScanParams params) |
Response<Double> |
zscore(byte[] key,
byte[] member) |
Response<Double> |
zscore(String key,
String member) |
Response<Set<byte[]>> |
zunion(ZParams params,
byte[]... keys) |
Response<Set<String>> |
zunion(ZParams params,
String... keys) |
Response<Long> |
zunionstore(byte[] dstkey,
byte[]... sets) |
Response<Long> |
zunionstore(byte[] dstkey,
ZParams params,
byte[]... sets) |
Response<Long> |
zunionstore(String dstKey,
String... sets) |
Response<Long> |
zunionstore(String dstKey,
ZParams params,
String... sets) |
Response<Set<Tuple>> |
zunionWithScores(ZParams params,
byte[]... keys) |
Response<Set<Tuple>> |
zunionWithScores(ZParams params,
String... keys) |
clean, enqueResponse, generateResponse, getPipelinedResponseLength
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hscan
sscan
zscan
xadd
hscan
sscan
zscan
xadd
ftAlter
jsonMGet, jsonMGet, jsonSet, jsonSet, jsonSetLegacy, jsonSetLegacy, jsonSetWithEscape, jsonSetWithEscape
protected final Connection connection
public Pipeline(Connection connection)
public Pipeline(Jedis jedis)
public final <T> Response<T> appendCommand(CommandObject<T> commandObject)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public void sync()
public List<Object> syncAndReturnAll()
public final boolean hasPipelinedResponse()
public Response<Boolean> exists(String key)
exists
in interface KeyPipelineCommands
public Response<Long> exists(String... keys)
exists
in interface KeyPipelineCommands
public Response<Long> persist(String key)
persist
in interface KeyPipelineCommands
public Response<String> type(String key)
type
in interface KeyPipelineCommands
public Response<byte[]> dump(String key)
dump
in interface KeyPipelineCommands
public Response<String> restore(String key, long ttl, byte[] serializedValue)
restore
in interface KeyPipelineCommands
public Response<String> restore(String key, long ttl, byte[] serializedValue, RestoreParams params)
restore
in interface KeyPipelineCommands
public Response<Long> expire(String key, long seconds)
expire
in interface KeyPipelineCommands
public Response<Long> expire(String key, long seconds, ExpiryOption expiryOption)
expire
in interface KeyPipelineCommands
public Response<Long> pexpire(String key, long milliseconds)
pexpire
in interface KeyPipelineCommands
public Response<Long> pexpire(String key, long milliseconds, ExpiryOption expiryOption)
pexpire
in interface KeyPipelineCommands
public Response<Long> expireTime(String key)
expireTime
in interface KeyPipelineCommands
public Response<Long> pexpireTime(String key)
pexpireTime
in interface KeyPipelineCommands
public Response<Long> expireAt(String key, long unixTime)
expireAt
in interface KeyPipelineCommands
public Response<Long> expireAt(String key, long unixTime, ExpiryOption expiryOption)
expireAt
in interface KeyPipelineCommands
public Response<Long> pexpireAt(String key, long millisecondsTimestamp)
pexpireAt
in interface KeyPipelineCommands
public Response<Long> pexpireAt(String key, long millisecondsTimestamp, ExpiryOption expiryOption)
pexpireAt
in interface KeyPipelineCommands
public Response<Long> ttl(String key)
ttl
in interface KeyPipelineCommands
public Response<Long> pttl(String key)
pttl
in interface KeyPipelineCommands
public Response<Long> touch(String key)
touch
in interface KeyPipelineCommands
public Response<Long> touch(String... keys)
touch
in interface KeyPipelineCommands
public Response<List<String>> sort(String key)
sort
in interface KeyPipelineCommands
public Response<Long> sort(String key, String dstKey)
sort
in interface KeyPipelineCommands
public Response<List<String>> sort(String key, SortingParams sortingParams)
sort
in interface KeyPipelineCommands
public Response<Long> sort(String key, SortingParams sortingParams, String dstKey)
sort
in interface KeyPipelineCommands
public Response<List<String>> sortReadonly(String key, SortingParams sortingParams)
sortReadonly
in interface KeyPipelineCommands
public Response<Long> del(String key)
del
in interface KeyPipelineCommands
public Response<Long> del(String... keys)
del
in interface KeyPipelineCommands
public Response<Long> unlink(String key)
unlink
in interface KeyPipelineCommands
public Response<Long> unlink(String... keys)
unlink
in interface KeyPipelineCommands
public Response<Boolean> copy(String srcKey, String dstKey, boolean replace)
copy
in interface KeyPipelineCommands
public Response<String> rename(String oldkey, String newkey)
rename
in interface KeyPipelineCommands
public Response<Long> renamenx(String oldkey, String newkey)
renamenx
in interface KeyPipelineCommands
public Response<Long> memoryUsage(String key)
memoryUsage
in interface KeyPipelineCommands
public Response<Long> memoryUsage(String key, int samples)
memoryUsage
in interface KeyPipelineCommands
public Response<Long> objectRefcount(String key)
objectRefcount
in interface KeyPipelineCommands
public Response<String> objectEncoding(String key)
objectEncoding
in interface KeyPipelineCommands
public Response<Long> objectIdletime(String key)
objectIdletime
in interface KeyPipelineCommands
public Response<Long> objectFreq(String key)
objectFreq
in interface KeyPipelineCommands
public Response<String> migrate(String host, int port, String key, int timeout)
migrate
in interface KeyPipelineCommands
public Response<String> migrate(String host, int port, int timeout, MigrateParams params, String... keys)
migrate
in interface KeyPipelineCommands
public Response<Set<String>> keys(String pattern)
keys
in interface KeyPipelineCommands
public Response<ScanResult<String>> scan(String cursor)
scan
in interface KeyPipelineCommands
public Response<ScanResult<String>> scan(String cursor, ScanParams params)
scan
in interface KeyPipelineCommands
public Response<ScanResult<String>> scan(String cursor, ScanParams params, String type)
scan
in interface KeyPipelineCommands
public Response<String> randomKey()
randomKey
in interface KeyPipelineCommands
public Response<String> get(String key)
get
in interface StringPipelineCommands
public Response<String> getDel(String key)
getDel
in interface StringPipelineCommands
public Response<String> getEx(String key, GetExParams params)
getEx
in interface StringPipelineCommands
public Response<Boolean> setbit(String key, long offset, boolean value)
setbit
in interface StringPipelineCommands
public Response<Boolean> getbit(String key, long offset)
getbit
in interface StringPipelineCommands
public Response<Long> setrange(String key, long offset, String value)
setrange
in interface StringPipelineCommands
public Response<String> getrange(String key, long startOffset, long endOffset)
getrange
in interface StringPipelineCommands
public Response<String> getSet(String key, String value)
getSet
in interface StringPipelineCommands
public Response<Long> setnx(String key, String value)
setnx
in interface StringPipelineCommands
public Response<String> setex(String key, long seconds, String value)
setex
in interface StringPipelineCommands
public Response<String> psetex(String key, long milliseconds, String value)
psetex
in interface StringPipelineCommands
public Response<List<String>> mget(String... keys)
mget
in interface StringPipelineCommands
public Response<String> mset(String... keysvalues)
mset
in interface StringPipelineCommands
public Response<Long> msetnx(String... keysvalues)
msetnx
in interface StringPipelineCommands
public Response<Long> incr(String key)
incr
in interface StringPipelineCommands
public Response<Long> incrBy(String key, long increment)
incrBy
in interface StringPipelineCommands
public Response<Double> incrByFloat(String key, double increment)
incrByFloat
in interface StringPipelineCommands
public Response<Long> decr(String key)
decr
in interface StringPipelineCommands
public Response<Long> decrBy(String key, long decrement)
decrBy
in interface StringPipelineCommands
public Response<Long> append(String key, String value)
append
in interface StringPipelineCommands
public Response<String> substr(String key, int start, int end)
substr
in interface StringPipelineCommands
public Response<Long> strlen(String key)
strlen
in interface StringPipelineCommands
public Response<Long> bitcount(String key)
bitcount
in interface StringPipelineCommands
public Response<Long> bitcount(String key, long start, long end)
bitcount
in interface StringPipelineCommands
public Response<Long> bitcount(String key, long start, long end, BitCountOption option)
bitcount
in interface StringPipelineCommands
public Response<Long> bitpos(String key, boolean value)
bitpos
in interface StringPipelineCommands
public Response<Long> bitpos(String key, boolean value, BitPosParams params)
bitpos
in interface StringPipelineCommands
public Response<List<Long>> bitfield(String key, String... arguments)
bitfield
in interface StringPipelineCommands
public Response<List<Long>> bitfieldReadonly(String key, String... arguments)
bitfieldReadonly
in interface StringPipelineCommands
public Response<Long> bitop(BitOP op, String destKey, String... srcKeys)
bitop
in interface StringPipelineCommands
public Response<LCSMatchResult> strAlgoLCSKeys(String keyA, String keyB, StrAlgoLCSParams params)
strAlgoLCSKeys
in interface StringPipelineCommands
public Response<LCSMatchResult> lcs(String keyA, String keyB, LCSParams params)
lcs
in interface StringPipelineCommands
public Response<String> set(String key, String value)
set
in interface StringPipelineCommands
public Response<String> set(String key, String value, SetParams params)
set
in interface StringPipelineCommands
public Response<Long> rpush(String key, String... string)
rpush
in interface ListPipelineCommands
public Response<Long> lpush(String key, String... string)
lpush
in interface ListPipelineCommands
public Response<Long> llen(String key)
llen
in interface ListPipelineCommands
public Response<List<String>> lrange(String key, long start, long stop)
lrange
in interface ListPipelineCommands
public Response<String> ltrim(String key, long start, long stop)
ltrim
in interface ListPipelineCommands
public Response<String> lindex(String key, long index)
lindex
in interface ListPipelineCommands
public Response<String> lset(String key, long index, String value)
lset
in interface ListPipelineCommands
public Response<Long> lrem(String key, long count, String value)
lrem
in interface ListPipelineCommands
public Response<String> lpop(String key)
lpop
in interface ListPipelineCommands
public Response<List<String>> lpop(String key, int count)
lpop
in interface ListPipelineCommands
public Response<Long> lpos(String key, String element)
lpos
in interface ListPipelineCommands
public Response<Long> lpos(String key, String element, LPosParams params)
lpos
in interface ListPipelineCommands
public Response<List<Long>> lpos(String key, String element, LPosParams params, long count)
lpos
in interface ListPipelineCommands
public Response<String> rpop(String key)
rpop
in interface ListPipelineCommands
public Response<List<String>> rpop(String key, int count)
rpop
in interface ListPipelineCommands
public Response<Long> linsert(String key, ListPosition where, String pivot, String value)
linsert
in interface ListPipelineCommands
public Response<Long> lpushx(String key, String... strings)
lpushx
in interface ListPipelineCommands
public Response<Long> rpushx(String key, String... strings)
rpushx
in interface ListPipelineCommands
public Response<List<String>> blpop(int timeout, String key)
blpop
in interface ListPipelineCommands
public Response<KeyedListElement> blpop(double timeout, String key)
blpop
in interface ListPipelineCommands
public Response<List<String>> brpop(int timeout, String key)
brpop
in interface ListPipelineCommands
public Response<KeyedListElement> brpop(double timeout, String key)
brpop
in interface ListPipelineCommands
public Response<List<String>> blpop(int timeout, String... keys)
blpop
in interface ListPipelineCommands
public Response<KeyedListElement> blpop(double timeout, String... keys)
blpop
in interface ListPipelineCommands
public Response<List<String>> brpop(int timeout, String... keys)
brpop
in interface ListPipelineCommands
public Response<KeyedListElement> brpop(double timeout, String... keys)
brpop
in interface ListPipelineCommands
public Response<String> rpoplpush(String srcKey, String dstKey)
rpoplpush
in interface ListPipelineCommands
public Response<String> brpoplpush(String source, String destination, int timeout)
brpoplpush
in interface ListPipelineCommands
public Response<String> lmove(String srcKey, String dstKey, ListDirection from, ListDirection to)
lmove
in interface ListPipelineCommands
public Response<String> blmove(String srcKey, String dstKey, ListDirection from, ListDirection to, double timeout)
blmove
in interface ListPipelineCommands
public Response<KeyValue<String,List<String>>> lmpop(ListDirection direction, String... keys)
lmpop
in interface ListPipelineCommands
public Response<KeyValue<String,List<String>>> lmpop(ListDirection direction, int count, String... keys)
lmpop
in interface ListPipelineCommands
public Response<KeyValue<String,List<String>>> blmpop(long timeout, ListDirection direction, String... keys)
blmpop
in interface ListPipelineCommands
public Response<KeyValue<String,List<String>>> blmpop(long timeout, ListDirection direction, int count, String... keys)
blmpop
in interface ListPipelineCommands
public Response<Long> hset(String key, String field, String value)
hset
in interface HashPipelineCommands
public Response<Long> hset(String key, Map<String,String> hash)
hset
in interface HashPipelineCommands
public Response<String> hget(String key, String field)
hget
in interface HashPipelineCommands
public Response<Long> hsetnx(String key, String field, String value)
hsetnx
in interface HashPipelineCommands
public Response<String> hmset(String key, Map<String,String> hash)
hmset
in interface HashPipelineCommands
public Response<List<String>> hmget(String key, String... fields)
hmget
in interface HashPipelineCommands
public Response<Long> hincrBy(String key, String field, long value)
hincrBy
in interface HashPipelineCommands
public Response<Double> hincrByFloat(String key, String field, double value)
hincrByFloat
in interface HashPipelineCommands
public Response<Boolean> hexists(String key, String field)
hexists
in interface HashPipelineCommands
public Response<Long> hdel(String key, String... field)
hdel
in interface HashPipelineCommands
public Response<Long> hlen(String key)
hlen
in interface HashPipelineCommands
public Response<Set<String>> hkeys(String key)
hkeys
in interface HashPipelineCommands
public Response<List<String>> hvals(String key)
hvals
in interface HashPipelineCommands
public Response<Map<String,String>> hgetAll(String key)
hgetAll
in interface HashPipelineCommands
public Response<String> hrandfield(String key)
hrandfield
in interface HashPipelineCommands
public Response<List<String>> hrandfield(String key, long count)
hrandfield
in interface HashPipelineCommands
public Response<Map<String,String>> hrandfieldWithValues(String key, long count)
hrandfieldWithValues
in interface HashPipelineCommands
public Response<ScanResult<Map.Entry<String,String>>> hscan(String key, String cursor, ScanParams params)
hscan
in interface HashPipelineCommands
public Response<Long> hstrlen(String key, String field)
hstrlen
in interface HashPipelineCommands
public Response<Long> sadd(String key, String... members)
sadd
in interface SetPipelineCommands
public Response<Set<String>> smembers(String key)
smembers
in interface SetPipelineCommands
public Response<Long> srem(String key, String... members)
srem
in interface SetPipelineCommands
public Response<String> spop(String key)
spop
in interface SetPipelineCommands
public Response<Set<String>> spop(String key, long count)
spop
in interface SetPipelineCommands
public Response<Long> scard(String key)
scard
in interface SetPipelineCommands
public Response<Boolean> sismember(String key, String member)
sismember
in interface SetPipelineCommands
public Response<List<Boolean>> smismember(String key, String... members)
smismember
in interface SetPipelineCommands
public Response<String> srandmember(String key)
srandmember
in interface SetPipelineCommands
public Response<List<String>> srandmember(String key, int count)
srandmember
in interface SetPipelineCommands
public Response<ScanResult<String>> sscan(String key, String cursor, ScanParams params)
sscan
in interface SetPipelineCommands
public Response<Set<String>> sdiff(String... keys)
sdiff
in interface SetPipelineCommands
public Response<Long> sdiffstore(String dstKey, String... keys)
sdiffstore
in interface SetPipelineCommands
public Response<Set<String>> sinter(String... keys)
sinter
in interface SetPipelineCommands
public Response<Long> sinterstore(String dstKey, String... keys)
sinterstore
in interface SetPipelineCommands
public Response<Long> sintercard(String... keys)
sintercard
in interface SetPipelineCommands
public Response<Long> sintercard(int limit, String... keys)
sintercard
in interface SetPipelineCommands
public Response<Set<String>> sunion(String... keys)
sunion
in interface SetPipelineCommands
public Response<Long> sunionstore(String dstKey, String... keys)
sunionstore
in interface SetPipelineCommands
public Response<Long> smove(String srcKey, String dstKey, String member)
smove
in interface SetPipelineCommands
public Response<Long> zadd(String key, double score, String member)
zadd
in interface SortedSetPipelineCommands
public Response<Long> zadd(String key, double score, String member, ZAddParams params)
zadd
in interface SortedSetPipelineCommands
public Response<Long> zadd(String key, Map<String,Double> scoreMembers)
zadd
in interface SortedSetPipelineCommands
public Response<Long> zadd(String key, Map<String,Double> scoreMembers, ZAddParams params)
zadd
in interface SortedSetPipelineCommands
public Response<Double> zaddIncr(String key, double score, String member, ZAddParams params)
zaddIncr
in interface SortedSetPipelineCommands
public Response<Long> zrem(String key, String... members)
zrem
in interface SortedSetPipelineCommands
public Response<Double> zincrby(String key, double increment, String member)
zincrby
in interface SortedSetPipelineCommands
public Response<Double> zincrby(String key, double increment, String member, ZIncrByParams params)
zincrby
in interface SortedSetPipelineCommands
public Response<Long> zrank(String key, String member)
zrank
in interface SortedSetPipelineCommands
public Response<Long> zrevrank(String key, String member)
zrevrank
in interface SortedSetPipelineCommands
public Response<List<String>> zrange(String key, long start, long stop)
zrange
in interface SortedSetPipelineCommands
public Response<List<String>> zrevrange(String key, long start, long stop)
zrevrange
in interface SortedSetPipelineCommands
public Response<List<Tuple>> zrangeWithScores(String key, long start, long stop)
zrangeWithScores
in interface SortedSetPipelineCommands
public Response<List<Tuple>> zrevrangeWithScores(String key, long start, long stop)
zrevrangeWithScores
in interface SortedSetPipelineCommands
public Response<String> zrandmember(String key)
zrandmember
in interface SortedSetPipelineCommands
public Response<List<String>> zrandmember(String key, long count)
zrandmember
in interface SortedSetPipelineCommands
public Response<List<Tuple>> zrandmemberWithScores(String key, long count)
zrandmemberWithScores
in interface SortedSetPipelineCommands
public Response<Long> zcard(String key)
zcard
in interface SortedSetPipelineCommands
public Response<Double> zscore(String key, String member)
zscore
in interface SortedSetPipelineCommands
public Response<List<Double>> zmscore(String key, String... members)
zmscore
in interface SortedSetPipelineCommands
public Response<Tuple> zpopmax(String key)
zpopmax
in interface SortedSetPipelineCommands
public Response<List<Tuple>> zpopmax(String key, int count)
zpopmax
in interface SortedSetPipelineCommands
public Response<Tuple> zpopmin(String key)
zpopmin
in interface SortedSetPipelineCommands
public Response<List<Tuple>> zpopmin(String key, int count)
zpopmin
in interface SortedSetPipelineCommands
public Response<Long> zcount(String key, double min, double max)
zcount
in interface SortedSetPipelineCommands
public Response<Long> zcount(String key, String min, String max)
zcount
in interface SortedSetPipelineCommands
public Response<List<String>> zrangeByScore(String key, double min, double max)
zrangeByScore
in interface SortedSetPipelineCommands
public Response<List<String>> zrangeByScore(String key, String min, String max)
zrangeByScore
in interface SortedSetPipelineCommands
public Response<List<String>> zrevrangeByScore(String key, double max, double min)
zrevrangeByScore
in interface SortedSetPipelineCommands
public Response<List<String>> zrangeByScore(String key, double min, double max, int offset, int count)
zrangeByScore
in interface SortedSetPipelineCommands
public Response<List<String>> zrevrangeByScore(String key, String max, String min)
zrevrangeByScore
in interface SortedSetPipelineCommands
public Response<List<String>> zrangeByScore(String key, String min, String max, int offset, int count)
zrangeByScore
in interface SortedSetPipelineCommands
public Response<List<String>> zrevrangeByScore(String key, double max, double min, int offset, int count)
zrevrangeByScore
in interface SortedSetPipelineCommands
public Response<List<Tuple>> zrangeByScoreWithScores(String key, double min, double max)
zrangeByScoreWithScores
in interface SortedSetPipelineCommands
public Response<List<Tuple>> zrevrangeByScoreWithScores(String key, double max, double min)
zrevrangeByScoreWithScores
in interface SortedSetPipelineCommands
public Response<List<Tuple>> zrangeByScoreWithScores(String key, double min, double max, int offset, int count)
zrangeByScoreWithScores
in interface SortedSetPipelineCommands
public Response<List<String>> zrevrangeByScore(String key, String max, String min, int offset, int count)
zrevrangeByScore
in interface SortedSetPipelineCommands
public Response<List<Tuple>> zrangeByScoreWithScores(String key, String min, String max)
zrangeByScoreWithScores
in interface SortedSetPipelineCommands
public Response<List<Tuple>> zrevrangeByScoreWithScores(String key, String max, String min)
zrevrangeByScoreWithScores
in interface SortedSetPipelineCommands
public Response<List<Tuple>> zrangeByScoreWithScores(String key, String min, String max, int offset, int count)
zrangeByScoreWithScores
in interface SortedSetPipelineCommands
public Response<List<Tuple>> zrevrangeByScoreWithScores(String key, double max, double min, int offset, int count)
zrevrangeByScoreWithScores
in interface SortedSetPipelineCommands
public Response<List<Tuple>> zrevrangeByScoreWithScores(String key, String max, String min, int offset, int count)
zrevrangeByScoreWithScores
in interface SortedSetPipelineCommands
public Response<List<String>> zrange(String key, ZRangeParams zRangeParams)
zrange
in interface SortedSetPipelineCommands
public Response<List<Tuple>> zrangeWithScores(String key, ZRangeParams zRangeParams)
zrangeWithScores
in interface SortedSetPipelineCommands
public Response<Long> zrangestore(String dest, String src, ZRangeParams zRangeParams)
zrangestore
in interface SortedSetPipelineCommands
public Response<Long> zremrangeByRank(String key, long start, long stop)
zremrangeByRank
in interface SortedSetPipelineCommands
public Response<Long> zremrangeByScore(String key, double min, double max)
zremrangeByScore
in interface SortedSetPipelineCommands
public Response<Long> zremrangeByScore(String key, String min, String max)
zremrangeByScore
in interface SortedSetPipelineCommands
public Response<Long> zlexcount(String key, String min, String max)
zlexcount
in interface SortedSetPipelineCommands
public Response<List<String>> zrangeByLex(String key, String min, String max)
zrangeByLex
in interface SortedSetPipelineCommands
public Response<List<String>> zrangeByLex(String key, String min, String max, int offset, int count)
zrangeByLex
in interface SortedSetPipelineCommands
public Response<List<String>> zrevrangeByLex(String key, String max, String min)
zrevrangeByLex
in interface SortedSetPipelineCommands
public Response<List<String>> zrevrangeByLex(String key, String max, String min, int offset, int count)
zrevrangeByLex
in interface SortedSetPipelineCommands
public Response<Long> zremrangeByLex(String key, String min, String max)
zremrangeByLex
in interface SortedSetPipelineCommands
public Response<ScanResult<Tuple>> zscan(String key, String cursor, ScanParams params)
zscan
in interface SortedSetPipelineCommands
public Response<KeyedZSetElement> bzpopmax(double timeout, String... keys)
bzpopmax
in interface SortedSetPipelineCommands
public Response<KeyedZSetElement> bzpopmin(double timeout, String... keys)
bzpopmin
in interface SortedSetPipelineCommands
public Response<KeyValue<String,List<Tuple>>> zmpop(SortedSetOption option, String... keys)
zmpop
in interface SortedSetPipelineCommands
public Response<KeyValue<String,List<Tuple>>> zmpop(SortedSetOption option, int count, String... keys)
zmpop
in interface SortedSetPipelineCommands
public Response<KeyValue<String,List<Tuple>>> bzmpop(long timeout, SortedSetOption option, String... keys)
bzmpop
in interface SortedSetPipelineCommands
public Response<KeyValue<String,List<Tuple>>> bzmpop(long timeout, SortedSetOption option, int count, String... keys)
bzmpop
in interface SortedSetPipelineCommands
public Response<Set<String>> zdiff(String... keys)
zdiff
in interface SortedSetPipelineCommands
public Response<Set<Tuple>> zdiffWithScores(String... keys)
zdiffWithScores
in interface SortedSetPipelineCommands
public Response<Long> zdiffStore(String dstKey, String... keys)
zdiffStore
in interface SortedSetPipelineCommands
public Response<Long> zinterstore(String dstKey, String... sets)
zinterstore
in interface SortedSetPipelineCommands
public Response<Long> zinterstore(String dstKey, ZParams params, String... sets)
zinterstore
in interface SortedSetPipelineCommands
public Response<Set<String>> zinter(ZParams params, String... keys)
zinter
in interface SortedSetPipelineCommands
public Response<Set<Tuple>> zinterWithScores(ZParams params, String... keys)
zinterWithScores
in interface SortedSetPipelineCommands
public Response<Long> zintercard(String... keys)
zintercard
in interface SortedSetPipelineCommands
public Response<Long> zintercard(long limit, String... keys)
zintercard
in interface SortedSetPipelineCommands
public Response<Set<String>> zunion(ZParams params, String... keys)
zunion
in interface SortedSetPipelineCommands
public Response<Set<Tuple>> zunionWithScores(ZParams params, String... keys)
zunionWithScores
in interface SortedSetPipelineCommands
public Response<Long> zunionstore(String dstKey, String... sets)
zunionstore
in interface SortedSetPipelineCommands
public Response<Long> zunionstore(String dstKey, ZParams params, String... sets)
zunionstore
in interface SortedSetPipelineCommands
public Response<Long> geoadd(String key, double longitude, double latitude, String member)
geoadd
in interface GeoPipelineCommands
public Response<Long> geoadd(String key, Map<String,GeoCoordinate> memberCoordinateMap)
geoadd
in interface GeoPipelineCommands
public Response<Long> geoadd(String key, GeoAddParams params, Map<String,GeoCoordinate> memberCoordinateMap)
geoadd
in interface GeoPipelineCommands
public Response<Double> geodist(String key, String member1, String member2)
geodist
in interface GeoPipelineCommands
public Response<Double> geodist(String key, String member1, String member2, GeoUnit unit)
geodist
in interface GeoPipelineCommands
public Response<List<String>> geohash(String key, String... members)
geohash
in interface GeoPipelineCommands
public Response<List<GeoCoordinate>> geopos(String key, String... members)
geopos
in interface GeoPipelineCommands
public Response<List<GeoRadiusResponse>> georadius(String key, double longitude, double latitude, double radius, GeoUnit unit)
georadius
in interface GeoPipelineCommands
public Response<List<GeoRadiusResponse>> georadiusReadonly(String key, double longitude, double latitude, double radius, GeoUnit unit)
georadiusReadonly
in interface GeoPipelineCommands
public Response<List<GeoRadiusResponse>> georadius(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
georadius
in interface GeoPipelineCommands
public Response<List<GeoRadiusResponse>> georadiusReadonly(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusReadonly
in interface GeoPipelineCommands
public Response<List<GeoRadiusResponse>> georadiusByMember(String key, String member, double radius, GeoUnit unit)
georadiusByMember
in interface GeoPipelineCommands
public Response<List<GeoRadiusResponse>> georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit)
georadiusByMemberReadonly
in interface GeoPipelineCommands
public Response<List<GeoRadiusResponse>> georadiusByMember(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusByMember
in interface GeoPipelineCommands
public Response<List<GeoRadiusResponse>> georadiusByMemberReadonly(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusByMemberReadonly
in interface GeoPipelineCommands
public Response<Long> georadiusStore(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
georadiusStore
in interface GeoPipelineCommands
public Response<Long> georadiusByMemberStore(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
georadiusByMemberStore
in interface GeoPipelineCommands
public Response<List<GeoRadiusResponse>> geosearch(String key, String member, double radius, GeoUnit unit)
geosearch
in interface GeoPipelineCommands
public Response<List<GeoRadiusResponse>> geosearch(String key, GeoCoordinate coord, double radius, GeoUnit unit)
geosearch
in interface GeoPipelineCommands
public Response<List<GeoRadiusResponse>> geosearch(String key, String member, double width, double height, GeoUnit unit)
geosearch
in interface GeoPipelineCommands
public Response<List<GeoRadiusResponse>> geosearch(String key, GeoCoordinate coord, double width, double height, GeoUnit unit)
geosearch
in interface GeoPipelineCommands
public Response<List<GeoRadiusResponse>> geosearch(String key, GeoSearchParam params)
geosearch
in interface GeoPipelineCommands
public Response<Long> geosearchStore(String dest, String src, String member, double radius, GeoUnit unit)
geosearchStore
in interface GeoPipelineCommands
public Response<Long> geosearchStore(String dest, String src, GeoCoordinate coord, double radius, GeoUnit unit)
geosearchStore
in interface GeoPipelineCommands
public Response<Long> geosearchStore(String dest, String src, String member, double width, double height, GeoUnit unit)
geosearchStore
in interface GeoPipelineCommands
public Response<Long> geosearchStore(String dest, String src, GeoCoordinate coord, double width, double height, GeoUnit unit)
geosearchStore
in interface GeoPipelineCommands
public Response<Long> geosearchStore(String dest, String src, GeoSearchParam params)
geosearchStore
in interface GeoPipelineCommands
public Response<Long> geosearchStoreStoreDist(String dest, String src, GeoSearchParam params)
geosearchStoreStoreDist
in interface GeoPipelineCommands
public Response<Long> pfadd(String key, String... elements)
pfadd
in interface HyperLogLogPipelineCommands
public Response<String> pfmerge(String destkey, String... sourcekeys)
pfmerge
in interface HyperLogLogPipelineCommands
public Response<Long> pfcount(String key)
pfcount
in interface HyperLogLogPipelineCommands
public Response<Long> pfcount(String... keys)
pfcount
in interface HyperLogLogPipelineCommands
public Response<StreamEntryID> xadd(String key, StreamEntryID id, Map<String,String> hash)
StreamPipelineCommands
xadd
in interface StreamPipelineCommands
public Response<StreamEntryID> xadd(String key, XAddParams params, Map<String,String> hash)
xadd
in interface StreamPipelineCommands
public Response<Long> xlen(String key)
StreamPipelineCommands
xlen
in interface StreamPipelineCommands
public Response<List<StreamEntry>> xrange(String key, StreamEntryID start, StreamEntryID end)
StreamPipelineCommands
xrange
in interface StreamPipelineCommands
start
- minimum StreamEntryID
for the retrieved range, passing null
will indicate minimum ID possible in the streamend
- maximum StreamEntryID
for the retrieved range, passing null
will indicate maximum ID possible in the streampublic Response<List<StreamEntry>> xrange(String key, StreamEntryID start, StreamEntryID end, int count)
StreamPipelineCommands
xrange
in interface StreamPipelineCommands
start
- minimum StreamEntryID
for the retrieved range, passing null
will indicate minimum ID possible in the streamend
- maximum StreamEntryID
for the retrieved range, passing null
will indicate maximum ID possible in the streamcount
- maximum number of entries returnedpublic Response<List<StreamEntry>> xrevrange(String key, StreamEntryID end, StreamEntryID start)
StreamPipelineCommands
xrevrange
in interface StreamPipelineCommands
end
- maximum StreamEntryID
for the retrieved range, passing null
will indicate maximum ID possible in the streamstart
- minimum StreamEntryID
for the retrieved range, passing null
will indicate minimum ID possible in the streampublic Response<List<StreamEntry>> xrevrange(String key, StreamEntryID end, StreamEntryID start, int count)
StreamPipelineCommands
xrevrange
in interface StreamPipelineCommands
end
- maximum StreamEntryID
for the retrieved range, passing null
will indicate maximum ID possible in the streamstart
- minimum StreamEntryID
for the retrieved range, passing null
will indicate minimum ID possible in the streamcount
- The entries with IDs matching the specified range.public Response<List<StreamEntry>> xrange(String key, String start, String end)
xrange
in interface StreamPipelineCommands
public Response<List<StreamEntry>> xrange(String key, String start, String end, int count)
xrange
in interface StreamPipelineCommands
public Response<List<StreamEntry>> xrevrange(String key, String end, String start)
xrevrange
in interface StreamPipelineCommands
public Response<List<StreamEntry>> xrevrange(String key, String end, String start, int count)
xrevrange
in interface StreamPipelineCommands
public Response<Long> xack(String key, String group, StreamEntryID... ids)
StreamPipelineCommands
xack
in interface StreamPipelineCommands
public Response<String> xgroupCreate(String key, String groupName, StreamEntryID id, boolean makeStream)
StreamPipelineCommands
xgroupCreate
in interface StreamPipelineCommands
public Response<String> xgroupSetID(String key, String groupName, StreamEntryID id)
StreamPipelineCommands
xgroupSetID
in interface StreamPipelineCommands
public Response<Long> xgroupDestroy(String key, String groupName)
StreamPipelineCommands
xgroupDestroy
in interface StreamPipelineCommands
public Response<Boolean> xgroupCreateConsumer(String key, String groupName, String consumerName)
StreamPipelineCommands
xgroupCreateConsumer
in interface StreamPipelineCommands
public Response<Long> xgroupDelConsumer(String key, String groupName, String consumerName)
StreamPipelineCommands
xgroupDelConsumer
in interface StreamPipelineCommands
public Response<StreamPendingSummary> xpending(String key, String groupName)
StreamPipelineCommands
xpending
in interface StreamPipelineCommands
public Response<List<StreamPendingEntry>> xpending(String key, String groupName, StreamEntryID start, StreamEntryID end, int count, String consumerName)
StreamPipelineCommands
xpending
in interface StreamPipelineCommands
public Response<List<StreamPendingEntry>> xpending(String key, String groupName, XPendingParams params)
StreamPipelineCommands
xpending
in interface StreamPipelineCommands
public Response<Long> xdel(String key, StreamEntryID... ids)
StreamPipelineCommands
xdel
in interface StreamPipelineCommands
public Response<Long> xtrim(String key, long maxLen, boolean approximate)
StreamPipelineCommands
xtrim
in interface StreamPipelineCommands
public Response<Long> xtrim(String key, XTrimParams params)
StreamPipelineCommands
xtrim
in interface StreamPipelineCommands
public Response<List<StreamEntry>> xclaim(String key, String group, String consumerName, long minIdleTime, XClaimParams params, StreamEntryID... ids)
StreamPipelineCommands
xclaim
in interface StreamPipelineCommands
public Response<List<StreamEntryID>> xclaimJustId(String key, String group, String consumerName, long minIdleTime, XClaimParams params, StreamEntryID... ids)
StreamPipelineCommands
xclaimJustId
in interface StreamPipelineCommands
public Response<Map.Entry<StreamEntryID,List<StreamEntry>>> xautoclaim(String key, String group, String consumerName, long minIdleTime, StreamEntryID start, XAutoClaimParams params)
StreamPipelineCommands
xautoclaim
in interface StreamPipelineCommands
key
- Stream Keygroup
- Consumer GroupconsumerName
- Consumer name to transfer the auto claimed entriesminIdleTime
- Entries pending more than minIdleTime will be transferred ownershipstart
- StreamEntryID
- Entries >= start will be transferred ownership, passing null
will indicate '-'params
- XAutoClaimParams
public Response<Map.Entry<StreamEntryID,List<StreamEntryID>>> xautoclaimJustId(String key, String group, String consumerName, long minIdleTime, StreamEntryID start, XAutoClaimParams params)
StreamPipelineCommands
xautoclaimJustId
in interface StreamPipelineCommands
key
- Stream Keygroup
- Consumer GroupconsumerName
- Consumer name to transfer the auto claimed entriesminIdleTime
- Entries pending more than minIdleTime will be transferred ownershipstart
- StreamEntryID
- Entries >= start will be transferred ownership, passing null
will indicate '-'params
- XAutoClaimParams
public Response<StreamInfo> xinfoStream(String key)
StreamPipelineCommands
xinfoStream
in interface StreamPipelineCommands
key
- Stream nameStreamInfo
that contains information about the streampublic Response<StreamFullInfo> xinfoStreamFull(String key)
StreamPipelineCommands
xinfoStreamFull
in interface StreamPipelineCommands
key
- Stream nameStreamFullInfo
that contains information about the streampublic Response<StreamFullInfo> xinfoStreamFull(String key, int count)
StreamPipelineCommands
xinfoStreamFull
in interface StreamPipelineCommands
key
- Stream namecount
- stream info countStreamFullInfo
that contains information about the stream@Deprecated public Response<List<StreamGroupInfo>> xinfoGroup(String key)
xinfoGroup
in interface StreamPipelineCommands
public Response<List<StreamGroupInfo>> xinfoGroups(String key)
StreamPipelineCommands
xinfoGroups
in interface StreamPipelineCommands
key
- Stream nameStreamGroupInfo
containing information about groupspublic Response<List<StreamConsumersInfo>> xinfoConsumers(String key, String group)
StreamPipelineCommands
xinfoConsumers
in interface StreamPipelineCommands
key
- Stream namegroup
- Group nameStreamConsumersInfo
containing information about consumers that belong
to the the grouppublic Response<List<Map.Entry<String,List<StreamEntry>>>> xread(XReadParams xReadParams, Map<String,StreamEntryID> streams)
StreamPipelineCommands
xread
in interface StreamPipelineCommands
public Response<List<Map.Entry<String,List<StreamEntry>>>> xreadGroup(String groupName, String consumer, XReadGroupParams xReadGroupParams, Map<String,StreamEntryID> streams)
StreamPipelineCommands
xreadGroup
in interface StreamPipelineCommands
public Response<Object> eval(String script)
eval
in interface ScriptingKeyPipelineCommands
public Response<Object> eval(String script, int keyCount, String... params)
eval
in interface ScriptingKeyPipelineCommands
public Response<Object> eval(String script, List<String> keys, List<String> args)
eval
in interface ScriptingKeyPipelineCommands
public Response<Object> evalReadonly(String script, List<String> keys, List<String> args)
evalReadonly
in interface ScriptingKeyPipelineCommands
public Response<Object> evalsha(String sha1)
evalsha
in interface ScriptingKeyPipelineCommands
public Response<Object> evalsha(String sha1, int keyCount, String... params)
evalsha
in interface ScriptingKeyPipelineCommands
public Response<Object> evalsha(String sha1, List<String> keys, List<String> args)
evalsha
in interface ScriptingKeyPipelineCommands
public Response<Object> evalshaReadonly(String sha1, List<String> keys, List<String> args)
evalshaReadonly
in interface ScriptingKeyPipelineCommands
public Response<Long> waitReplicas(String sampleKey, int replicas, long timeout)
waitReplicas
in interface SampleKeyedPipelineCommands
public Response<Object> eval(String script, String sampleKey)
eval
in interface SampleKeyedPipelineCommands
public Response<Object> evalsha(String sha1, String sampleKey)
evalsha
in interface SampleKeyedPipelineCommands
public Response<List<Boolean>> scriptExists(String sampleKey, String... sha1)
scriptExists
in interface SampleKeyedPipelineCommands
public Response<String> scriptLoad(String script, String sampleKey)
scriptLoad
in interface SampleKeyedPipelineCommands
public Response<String> scriptFlush(String sampleKey)
scriptFlush
in interface SampleKeyedPipelineCommands
public Response<String> scriptFlush(String sampleKey, FlushMode flushMode)
scriptFlush
in interface SampleKeyedPipelineCommands
public Response<String> scriptKill(String sampleKey)
scriptKill
in interface SampleKeyedPipelineCommands
public Response<Object> fcall(byte[] name, List<byte[]> keys, List<byte[]> args)
fcall
in interface FunctionPipelineBinaryCommands
public Response<Object> fcall(String name, List<String> keys, List<String> args)
fcall
in interface FunctionPipelineCommands
public Response<Object> fcallReadonly(byte[] name, List<byte[]> keys, List<byte[]> args)
fcallReadonly
in interface FunctionPipelineBinaryCommands
public Response<Object> fcallReadonly(String name, List<String> keys, List<String> args)
fcallReadonly
in interface FunctionPipelineCommands
public Response<String> functionDelete(byte[] libraryName)
functionDelete
in interface FunctionPipelineBinaryCommands
public Response<String> functionDelete(String libraryName)
functionDelete
in interface FunctionPipelineCommands
public Response<byte[]> functionDump()
functionDump
in interface FunctionPipelineBinaryCommands
functionDump
in interface FunctionPipelineCommands
public Response<List<LibraryInfo>> functionList(String libraryNamePattern)
functionList
in interface FunctionPipelineCommands
public Response<List<LibraryInfo>> functionList()
functionList
in interface FunctionPipelineCommands
public Response<List<LibraryInfo>> functionListWithCode(String libraryNamePattern)
functionListWithCode
in interface FunctionPipelineCommands
public Response<List<LibraryInfo>> functionListWithCode()
functionListWithCode
in interface FunctionPipelineCommands
public Response<List<Object>> functionListBinary()
functionListBinary
in interface FunctionPipelineBinaryCommands
public Response<List<Object>> functionList(byte[] libraryNamePattern)
functionList
in interface FunctionPipelineBinaryCommands
public Response<List<Object>> functionListWithCodeBinary()
functionListWithCodeBinary
in interface FunctionPipelineBinaryCommands
public Response<List<Object>> functionListWithCode(byte[] libraryNamePattern)
functionListWithCode
in interface FunctionPipelineBinaryCommands
public Response<String> functionLoad(byte[] functionCode)
functionLoad
in interface FunctionPipelineBinaryCommands
public Response<String> functionLoad(String functionCode)
functionLoad
in interface FunctionPipelineCommands
public Response<String> functionLoadReplace(byte[] functionCode)
functionLoadReplace
in interface FunctionPipelineBinaryCommands
public Response<String> functionLoadReplace(String functionCode)
functionLoadReplace
in interface FunctionPipelineCommands
public Response<String> functionRestore(byte[] serializedValue)
functionRestore
in interface FunctionPipelineBinaryCommands
functionRestore
in interface FunctionPipelineCommands
public Response<String> functionRestore(byte[] serializedValue, FunctionRestorePolicy policy)
functionRestore
in interface FunctionPipelineBinaryCommands
functionRestore
in interface FunctionPipelineCommands
public Response<String> functionFlush()
functionFlush
in interface FunctionPipelineBinaryCommands
functionFlush
in interface FunctionPipelineCommands
public Response<String> functionFlush(FlushMode mode)
functionFlush
in interface FunctionPipelineBinaryCommands
functionFlush
in interface FunctionPipelineCommands
public Response<String> functionKill()
functionKill
in interface FunctionPipelineBinaryCommands
functionKill
in interface FunctionPipelineCommands
public Response<FunctionStats> functionStats()
functionStats
in interface FunctionPipelineCommands
public Response<Object> functionStatsBinary()
functionStatsBinary
in interface FunctionPipelineBinaryCommands
public Response<LCSMatchResult> strAlgoLCSStrings(String strA, String strB, StrAlgoLCSParams params)
public Response<Long> geoadd(byte[] key, double longitude, double latitude, byte[] member)
geoadd
in interface GeoPipelineBinaryCommands
public Response<Long> geoadd(byte[] key, Map<byte[],GeoCoordinate> memberCoordinateMap)
geoadd
in interface GeoPipelineBinaryCommands
public Response<Long> geoadd(byte[] key, GeoAddParams params, Map<byte[],GeoCoordinate> memberCoordinateMap)
geoadd
in interface GeoPipelineBinaryCommands
public Response<Double> geodist(byte[] key, byte[] member1, byte[] member2)
geodist
in interface GeoPipelineBinaryCommands
public Response<Double> geodist(byte[] key, byte[] member1, byte[] member2, GeoUnit unit)
geodist
in interface GeoPipelineBinaryCommands
public Response<List<byte[]>> geohash(byte[] key, byte[]... members)
geohash
in interface GeoPipelineBinaryCommands
public Response<List<GeoCoordinate>> geopos(byte[] key, byte[]... members)
geopos
in interface GeoPipelineBinaryCommands
public Response<List<GeoRadiusResponse>> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
georadius
in interface GeoPipelineBinaryCommands
public Response<List<GeoRadiusResponse>> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit)
georadiusReadonly
in interface GeoPipelineBinaryCommands
public Response<List<GeoRadiusResponse>> georadius(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
georadius
in interface GeoPipelineBinaryCommands
public Response<List<GeoRadiusResponse>> georadiusReadonly(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusReadonly
in interface GeoPipelineBinaryCommands
public Response<List<GeoRadiusResponse>> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit)
georadiusByMember
in interface GeoPipelineBinaryCommands
public Response<List<GeoRadiusResponse>> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit)
georadiusByMemberReadonly
in interface GeoPipelineBinaryCommands
public Response<List<GeoRadiusResponse>> georadiusByMember(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusByMember
in interface GeoPipelineBinaryCommands
public Response<List<GeoRadiusResponse>> georadiusByMemberReadonly(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param)
georadiusByMemberReadonly
in interface GeoPipelineBinaryCommands
public Response<Long> georadiusStore(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
georadiusStore
in interface GeoPipelineBinaryCommands
public Response<Long> georadiusByMemberStore(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
georadiusByMemberStore
in interface GeoPipelineBinaryCommands
public Response<List<GeoRadiusResponse>> geosearch(byte[] key, byte[] member, double radius, GeoUnit unit)
geosearch
in interface GeoPipelineBinaryCommands
public Response<List<GeoRadiusResponse>> geosearch(byte[] key, GeoCoordinate coord, double radius, GeoUnit unit)
geosearch
in interface GeoPipelineBinaryCommands
public Response<List<GeoRadiusResponse>> geosearch(byte[] key, byte[] member, double width, double height, GeoUnit unit)
geosearch
in interface GeoPipelineBinaryCommands
public Response<List<GeoRadiusResponse>> geosearch(byte[] key, GeoCoordinate coord, double width, double height, GeoUnit unit)
geosearch
in interface GeoPipelineBinaryCommands
public Response<List<GeoRadiusResponse>> geosearch(byte[] key, GeoSearchParam params)
geosearch
in interface GeoPipelineBinaryCommands
public Response<Long> geosearchStore(byte[] dest, byte[] src, byte[] member, double radius, GeoUnit unit)
geosearchStore
in interface GeoPipelineBinaryCommands
public Response<Long> geosearchStore(byte[] dest, byte[] src, GeoCoordinate coord, double radius, GeoUnit unit)
geosearchStore
in interface GeoPipelineBinaryCommands
public Response<Long> geosearchStore(byte[] dest, byte[] src, byte[] member, double width, double height, GeoUnit unit)
geosearchStore
in interface GeoPipelineBinaryCommands
public Response<Long> geosearchStore(byte[] dest, byte[] src, GeoCoordinate coord, double width, double height, GeoUnit unit)
geosearchStore
in interface GeoPipelineBinaryCommands
public Response<Long> geosearchStore(byte[] dest, byte[] src, GeoSearchParam params)
geosearchStore
in interface GeoPipelineBinaryCommands
public Response<Long> geosearchStoreStoreDist(byte[] dest, byte[] src, GeoSearchParam params)
geosearchStoreStoreDist
in interface GeoPipelineBinaryCommands
public Response<Long> hset(byte[] key, byte[] field, byte[] value)
hset
in interface HashPipelineBinaryCommands
public Response<Long> hset(byte[] key, Map<byte[],byte[]> hash)
hset
in interface HashPipelineBinaryCommands
public Response<byte[]> hget(byte[] key, byte[] field)
hget
in interface HashPipelineBinaryCommands
public Response<Long> hsetnx(byte[] key, byte[] field, byte[] value)
hsetnx
in interface HashPipelineBinaryCommands
public Response<String> hmset(byte[] key, Map<byte[],byte[]> hash)
hmset
in interface HashPipelineBinaryCommands
public Response<List<byte[]>> hmget(byte[] key, byte[]... fields)
hmget
in interface HashPipelineBinaryCommands
public Response<Long> hincrBy(byte[] key, byte[] field, long value)
hincrBy
in interface HashPipelineBinaryCommands
public Response<Double> hincrByFloat(byte[] key, byte[] field, double value)
hincrByFloat
in interface HashPipelineBinaryCommands
public Response<Boolean> hexists(byte[] key, byte[] field)
hexists
in interface HashPipelineBinaryCommands
public Response<Long> hdel(byte[] key, byte[]... field)
hdel
in interface HashPipelineBinaryCommands
public Response<Long> hlen(byte[] key)
hlen
in interface HashPipelineBinaryCommands
public Response<Set<byte[]>> hkeys(byte[] key)
hkeys
in interface HashPipelineBinaryCommands
public Response<List<byte[]>> hvals(byte[] key)
hvals
in interface HashPipelineBinaryCommands
public Response<Map<byte[],byte[]>> hgetAll(byte[] key)
hgetAll
in interface HashPipelineBinaryCommands
public Response<byte[]> hrandfield(byte[] key)
hrandfield
in interface HashPipelineBinaryCommands
public Response<List<byte[]>> hrandfield(byte[] key, long count)
hrandfield
in interface HashPipelineBinaryCommands
public Response<Map<byte[],byte[]>> hrandfieldWithValues(byte[] key, long count)
hrandfieldWithValues
in interface HashPipelineBinaryCommands
public Response<ScanResult<Map.Entry<byte[],byte[]>>> hscan(byte[] key, byte[] cursor, ScanParams params)
hscan
in interface HashPipelineBinaryCommands
public Response<Long> hstrlen(byte[] key, byte[] field)
hstrlen
in interface HashPipelineBinaryCommands
public Response<Long> pfadd(byte[] key, byte[]... elements)
pfadd
in interface HyperLogLogPipelineBinaryCommands
public Response<String> pfmerge(byte[] destkey, byte[]... sourcekeys)
pfmerge
in interface HyperLogLogPipelineBinaryCommands
public Response<Long> pfcount(byte[] key)
pfcount
in interface HyperLogLogPipelineBinaryCommands
public Response<Long> pfcount(byte[]... keys)
pfcount
in interface HyperLogLogPipelineBinaryCommands
public Response<Boolean> exists(byte[] key)
exists
in interface KeyPipelineBinaryCommands
public Response<Long> exists(byte[]... keys)
exists
in interface KeyPipelineBinaryCommands
public Response<Long> persist(byte[] key)
persist
in interface KeyPipelineBinaryCommands
public Response<String> type(byte[] key)
type
in interface KeyPipelineBinaryCommands
public Response<byte[]> dump(byte[] key)
dump
in interface KeyPipelineBinaryCommands
public Response<String> restore(byte[] key, long ttl, byte[] serializedValue)
restore
in interface KeyPipelineBinaryCommands
public Response<String> restore(byte[] key, long ttl, byte[] serializedValue, RestoreParams params)
restore
in interface KeyPipelineBinaryCommands
public Response<Long> expire(byte[] key, long seconds)
expire
in interface KeyPipelineBinaryCommands
public Response<Long> expire(byte[] key, long seconds, ExpiryOption expiryOption)
expire
in interface KeyPipelineBinaryCommands
public Response<Long> pexpire(byte[] key, long milliseconds)
pexpire
in interface KeyPipelineBinaryCommands
public Response<Long> pexpire(byte[] key, long milliseconds, ExpiryOption expiryOption)
pexpire
in interface KeyPipelineBinaryCommands
public Response<Long> expireTime(byte[] key)
expireTime
in interface KeyPipelineBinaryCommands
public Response<Long> pexpireTime(byte[] key)
pexpireTime
in interface KeyPipelineBinaryCommands
public Response<Long> expireAt(byte[] key, long unixTime)
expireAt
in interface KeyPipelineBinaryCommands
public Response<Long> expireAt(byte[] key, long unixTime, ExpiryOption expiryOption)
expireAt
in interface KeyPipelineBinaryCommands
public Response<Long> pexpireAt(byte[] key, long millisecondsTimestamp)
pexpireAt
in interface KeyPipelineBinaryCommands
public Response<Long> pexpireAt(byte[] key, long millisecondsTimestamp, ExpiryOption expiryOption)
pexpireAt
in interface KeyPipelineBinaryCommands
public Response<Long> ttl(byte[] key)
ttl
in interface KeyPipelineBinaryCommands
public Response<Long> pttl(byte[] key)
pttl
in interface KeyPipelineBinaryCommands
public Response<Long> touch(byte[] key)
touch
in interface KeyPipelineBinaryCommands
public Response<Long> touch(byte[]... keys)
touch
in interface KeyPipelineBinaryCommands
public Response<List<byte[]>> sort(byte[] key)
sort
in interface KeyPipelineBinaryCommands
public Response<List<byte[]>> sort(byte[] key, SortingParams sortingParams)
sort
in interface KeyPipelineBinaryCommands
public Response<List<byte[]>> sortReadonly(byte[] key, SortingParams sortingParams)
sortReadonly
in interface KeyPipelineBinaryCommands
public Response<Long> del(byte[] key)
del
in interface KeyPipelineBinaryCommands
public Response<Long> del(byte[]... keys)
del
in interface KeyPipelineBinaryCommands
public Response<Long> unlink(byte[] key)
unlink
in interface KeyPipelineBinaryCommands
public Response<Long> unlink(byte[]... keys)
unlink
in interface KeyPipelineBinaryCommands
public Response<Boolean> copy(byte[] srcKey, byte[] dstKey, boolean replace)
copy
in interface KeyPipelineBinaryCommands
public Response<String> rename(byte[] oldkey, byte[] newkey)
rename
in interface KeyPipelineBinaryCommands
public Response<Long> renamenx(byte[] oldkey, byte[] newkey)
renamenx
in interface KeyPipelineBinaryCommands
public Response<Long> sort(byte[] key, SortingParams sortingParams, byte[] dstkey)
sort
in interface KeyPipelineBinaryCommands
public Response<Long> sort(byte[] key, byte[] dstkey)
sort
in interface KeyPipelineBinaryCommands
public Response<Long> memoryUsage(byte[] key)
memoryUsage
in interface KeyPipelineBinaryCommands
public Response<Long> memoryUsage(byte[] key, int samples)
memoryUsage
in interface KeyPipelineBinaryCommands
public Response<Long> objectRefcount(byte[] key)
objectRefcount
in interface KeyPipelineBinaryCommands
public Response<byte[]> objectEncoding(byte[] key)
objectEncoding
in interface KeyPipelineBinaryCommands
public Response<Long> objectIdletime(byte[] key)
objectIdletime
in interface KeyPipelineBinaryCommands
public Response<Long> objectFreq(byte[] key)
objectFreq
in interface KeyPipelineBinaryCommands
public Response<String> migrate(String host, int port, byte[] key, int timeout)
migrate
in interface KeyPipelineBinaryCommands
public Response<String> migrate(String host, int port, int timeout, MigrateParams params, byte[]... keys)
migrate
in interface KeyPipelineBinaryCommands
public Response<Set<byte[]>> keys(byte[] pattern)
keys
in interface KeyPipelineBinaryCommands
public Response<ScanResult<byte[]>> scan(byte[] cursor)
scan
in interface KeyPipelineBinaryCommands
public Response<ScanResult<byte[]>> scan(byte[] cursor, ScanParams params)
scan
in interface KeyPipelineBinaryCommands
public Response<ScanResult<byte[]>> scan(byte[] cursor, ScanParams params, byte[] type)
scan
in interface KeyPipelineBinaryCommands
public Response<byte[]> randomBinaryKey()
randomBinaryKey
in interface KeyPipelineBinaryCommands
public Response<Long> rpush(byte[] key, byte[]... args)
rpush
in interface ListPipelineBinaryCommands
public Response<Long> lpush(byte[] key, byte[]... args)
lpush
in interface ListPipelineBinaryCommands
public Response<Long> llen(byte[] key)
llen
in interface ListPipelineBinaryCommands
public Response<List<byte[]>> lrange(byte[] key, long start, long stop)
lrange
in interface ListPipelineBinaryCommands
public Response<String> ltrim(byte[] key, long start, long stop)
ltrim
in interface ListPipelineBinaryCommands
public Response<byte[]> lindex(byte[] key, long index)
lindex
in interface ListPipelineBinaryCommands
public Response<String> lset(byte[] key, long index, byte[] value)
lset
in interface ListPipelineBinaryCommands
public Response<Long> lrem(byte[] key, long count, byte[] value)
lrem
in interface ListPipelineBinaryCommands
public Response<byte[]> lpop(byte[] key)
lpop
in interface ListPipelineBinaryCommands
public Response<List<byte[]>> lpop(byte[] key, int count)
lpop
in interface ListPipelineBinaryCommands
public Response<Long> lpos(byte[] key, byte[] element)
lpos
in interface ListPipelineBinaryCommands
public Response<Long> lpos(byte[] key, byte[] element, LPosParams params)
lpos
in interface ListPipelineBinaryCommands
public Response<List<Long>> lpos(byte[] key, byte[] element, LPosParams params, long count)
lpos
in interface ListPipelineBinaryCommands
public Response<byte[]> rpop(byte[] key)
rpop
in interface ListPipelineBinaryCommands
public Response<List<byte[]>> rpop(byte[] key, int count)
rpop
in interface ListPipelineBinaryCommands
public Response<Long> linsert(byte[] key, ListPosition where, byte[] pivot, byte[] value)
linsert
in interface ListPipelineBinaryCommands
public Response<Long> lpushx(byte[] key, byte[]... args)
lpushx
in interface ListPipelineBinaryCommands
public Response<Long> rpushx(byte[] key, byte[]... args)
rpushx
in interface ListPipelineBinaryCommands
public Response<List<byte[]>> blpop(int timeout, byte[]... keys)
blpop
in interface ListPipelineBinaryCommands
public Response<List<byte[]>> blpop(double timeout, byte[]... keys)
blpop
in interface ListPipelineBinaryCommands
public Response<List<byte[]>> brpop(int timeout, byte[]... keys)
brpop
in interface ListPipelineBinaryCommands
public Response<List<byte[]>> brpop(double timeout, byte[]... keys)
brpop
in interface ListPipelineBinaryCommands
public Response<byte[]> rpoplpush(byte[] srckey, byte[] dstkey)
rpoplpush
in interface ListPipelineBinaryCommands
public Response<byte[]> brpoplpush(byte[] source, byte[] destination, int timeout)
brpoplpush
in interface ListPipelineBinaryCommands
public Response<byte[]> lmove(byte[] srcKey, byte[] dstKey, ListDirection from, ListDirection to)
lmove
in interface ListPipelineBinaryCommands
public Response<byte[]> blmove(byte[] srcKey, byte[] dstKey, ListDirection from, ListDirection to, double timeout)
blmove
in interface ListPipelineBinaryCommands
public Response<KeyValue<byte[],List<byte[]>>> lmpop(ListDirection direction, byte[]... keys)
lmpop
in interface ListPipelineBinaryCommands
public Response<KeyValue<byte[],List<byte[]>>> lmpop(ListDirection direction, int count, byte[]... keys)
lmpop
in interface ListPipelineBinaryCommands
public Response<KeyValue<byte[],List<byte[]>>> blmpop(long timeout, ListDirection direction, byte[]... keys)
blmpop
in interface ListPipelineBinaryCommands
public Response<KeyValue<byte[],List<byte[]>>> blmpop(long timeout, ListDirection direction, int count, byte[]... keys)
blmpop
in interface ListPipelineBinaryCommands
public Response<LCSMatchResult> strAlgoLCSStrings(byte[] strA, byte[] strB, StrAlgoLCSParams params)
public Response<Long> waitReplicas(byte[] sampleKey, int replicas, long timeout)
waitReplicas
in interface SampleBinaryKeyedPipelineCommands
public Response<Object> eval(byte[] script, byte[] sampleKey)
eval
in interface SampleBinaryKeyedPipelineCommands
public Response<Object> evalsha(byte[] sha1, byte[] sampleKey)
evalsha
in interface SampleBinaryKeyedPipelineCommands
public Response<List<Boolean>> scriptExists(byte[] sampleKey, byte[]... sha1s)
scriptExists
in interface SampleBinaryKeyedPipelineCommands
public Response<byte[]> scriptLoad(byte[] script, byte[] sampleKey)
scriptLoad
in interface SampleBinaryKeyedPipelineCommands
public Response<String> scriptFlush(byte[] sampleKey)
scriptFlush
in interface SampleBinaryKeyedPipelineCommands
public Response<String> scriptFlush(byte[] sampleKey, FlushMode flushMode)
scriptFlush
in interface SampleBinaryKeyedPipelineCommands
public Response<String> scriptKill(byte[] sampleKey)
scriptKill
in interface SampleBinaryKeyedPipelineCommands
public Response<Object> eval(byte[] script)
eval
in interface ScriptingKeyPipelineBinaryCommands
public Response<Object> eval(byte[] script, int keyCount, byte[]... params)
eval
in interface ScriptingKeyPipelineBinaryCommands
public Response<Object> eval(byte[] script, List<byte[]> keys, List<byte[]> args)
eval
in interface ScriptingKeyPipelineBinaryCommands
public Response<Object> evalReadonly(byte[] script, List<byte[]> keys, List<byte[]> args)
evalReadonly
in interface ScriptingKeyPipelineBinaryCommands
public Response<Object> evalsha(byte[] sha1)
evalsha
in interface ScriptingKeyPipelineBinaryCommands
public Response<Object> evalsha(byte[] sha1, int keyCount, byte[]... params)
evalsha
in interface ScriptingKeyPipelineBinaryCommands
public Response<Object> evalsha(byte[] sha1, List<byte[]> keys, List<byte[]> args)
evalsha
in interface ScriptingKeyPipelineBinaryCommands
public Response<Object> evalshaReadonly(byte[] sha1, List<byte[]> keys, List<byte[]> args)
evalshaReadonly
in interface ScriptingKeyPipelineBinaryCommands
public Response<Long> sadd(byte[] key, byte[]... members)
sadd
in interface SetPipelineBinaryCommands
public Response<Set<byte[]>> smembers(byte[] key)
smembers
in interface SetPipelineBinaryCommands
public Response<Long> srem(byte[] key, byte[]... members)
srem
in interface SetPipelineBinaryCommands
public Response<byte[]> spop(byte[] key)
spop
in interface SetPipelineBinaryCommands
public Response<Set<byte[]>> spop(byte[] key, long count)
spop
in interface SetPipelineBinaryCommands
public Response<Long> scard(byte[] key)
scard
in interface SetPipelineBinaryCommands
public Response<Boolean> sismember(byte[] key, byte[] member)
sismember
in interface SetPipelineBinaryCommands
public Response<List<Boolean>> smismember(byte[] key, byte[]... members)
smismember
in interface SetPipelineBinaryCommands
public Response<byte[]> srandmember(byte[] key)
srandmember
in interface SetPipelineBinaryCommands
public Response<List<byte[]>> srandmember(byte[] key, int count)
srandmember
in interface SetPipelineBinaryCommands
public Response<ScanResult<byte[]>> sscan(byte[] key, byte[] cursor, ScanParams params)
sscan
in interface SetPipelineBinaryCommands
public Response<Set<byte[]>> sdiff(byte[]... keys)
sdiff
in interface SetPipelineBinaryCommands
public Response<Long> sdiffstore(byte[] dstkey, byte[]... keys)
sdiffstore
in interface SetPipelineBinaryCommands
public Response<Set<byte[]>> sinter(byte[]... keys)
sinter
in interface SetPipelineBinaryCommands
public Response<Long> sinterstore(byte[] dstkey, byte[]... keys)
sinterstore
in interface SetPipelineBinaryCommands
public Response<Long> sintercard(byte[]... keys)
sintercard
in interface SetPipelineBinaryCommands
public Response<Long> sintercard(int limit, byte[]... keys)
sintercard
in interface SetPipelineBinaryCommands
public Response<Set<byte[]>> sunion(byte[]... keys)
sunion
in interface SetPipelineBinaryCommands
public Response<Long> sunionstore(byte[] dstkey, byte[]... keys)
sunionstore
in interface SetPipelineBinaryCommands
public Response<Long> smove(byte[] srckey, byte[] dstkey, byte[] member)
smove
in interface SetPipelineBinaryCommands
public Response<Long> zadd(byte[] key, double score, byte[] member)
zadd
in interface SortedSetPipelineBinaryCommands
public Response<Long> zadd(byte[] key, double score, byte[] member, ZAddParams params)
zadd
in interface SortedSetPipelineBinaryCommands
public Response<Long> zadd(byte[] key, Map<byte[],Double> scoreMembers)
zadd
in interface SortedSetPipelineBinaryCommands
public Response<Long> zadd(byte[] key, Map<byte[],Double> scoreMembers, ZAddParams params)
zadd
in interface SortedSetPipelineBinaryCommands
public Response<Double> zaddIncr(byte[] key, double score, byte[] member, ZAddParams params)
zaddIncr
in interface SortedSetPipelineBinaryCommands
public Response<Long> zrem(byte[] key, byte[]... members)
zrem
in interface SortedSetPipelineBinaryCommands
public Response<Double> zincrby(byte[] key, double increment, byte[] member)
zincrby
in interface SortedSetPipelineBinaryCommands
public Response<Double> zincrby(byte[] key, double increment, byte[] member, ZIncrByParams params)
zincrby
in interface SortedSetPipelineBinaryCommands
public Response<Long> zrank(byte[] key, byte[] member)
zrank
in interface SortedSetPipelineBinaryCommands
public Response<Long> zrevrank(byte[] key, byte[] member)
zrevrank
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrange(byte[] key, long start, long stop)
zrange
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrevrange(byte[] key, long start, long stop)
zrevrange
in interface SortedSetPipelineBinaryCommands
public Response<List<Tuple>> zrangeWithScores(byte[] key, long start, long stop)
zrangeWithScores
in interface SortedSetPipelineBinaryCommands
public Response<List<Tuple>> zrevrangeWithScores(byte[] key, long start, long stop)
zrevrangeWithScores
in interface SortedSetPipelineBinaryCommands
public Response<byte[]> zrandmember(byte[] key)
zrandmember
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrandmember(byte[] key, long count)
zrandmember
in interface SortedSetPipelineBinaryCommands
public Response<List<Tuple>> zrandmemberWithScores(byte[] key, long count)
zrandmemberWithScores
in interface SortedSetPipelineBinaryCommands
public Response<Long> zcard(byte[] key)
zcard
in interface SortedSetPipelineBinaryCommands
public Response<Double> zscore(byte[] key, byte[] member)
zscore
in interface SortedSetPipelineBinaryCommands
public Response<List<Double>> zmscore(byte[] key, byte[]... members)
zmscore
in interface SortedSetPipelineBinaryCommands
public Response<Tuple> zpopmax(byte[] key)
zpopmax
in interface SortedSetPipelineBinaryCommands
public Response<List<Tuple>> zpopmax(byte[] key, int count)
zpopmax
in interface SortedSetPipelineBinaryCommands
public Response<Tuple> zpopmin(byte[] key)
zpopmin
in interface SortedSetPipelineBinaryCommands
public Response<List<Tuple>> zpopmin(byte[] key, int count)
zpopmin
in interface SortedSetPipelineBinaryCommands
public Response<Long> zcount(byte[] key, double min, double max)
zcount
in interface SortedSetPipelineBinaryCommands
public Response<Long> zcount(byte[] key, byte[] min, byte[] max)
zcount
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrangeByScore(byte[] key, double min, double max)
zrangeByScore
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrangeByScore(byte[] key, byte[] min, byte[] max)
zrangeByScore
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrevrangeByScore(byte[] key, double max, double min)
zrevrangeByScore
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrangeByScore(byte[] key, double min, double max, int offset, int count)
zrangeByScore
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrevrangeByScore(byte[] key, byte[] max, byte[] min)
zrevrangeByScore
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrangeByScore(byte[] key, byte[] min, byte[] max, int offset, int count)
zrangeByScore
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrevrangeByScore(byte[] key, double max, double min, int offset, int count)
zrevrangeByScore
in interface SortedSetPipelineBinaryCommands
public Response<List<Tuple>> zrangeByScoreWithScores(byte[] key, double min, double max)
zrangeByScoreWithScores
in interface SortedSetPipelineBinaryCommands
public Response<List<Tuple>> zrevrangeByScoreWithScores(byte[] key, double max, double min)
zrevrangeByScoreWithScores
in interface SortedSetPipelineBinaryCommands
public Response<List<Tuple>> zrangeByScoreWithScores(byte[] key, double min, double max, int offset, int count)
zrangeByScoreWithScores
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrevrangeByScore(byte[] key, byte[] max, byte[] min, int offset, int count)
zrevrangeByScore
in interface SortedSetPipelineBinaryCommands
public Response<List<Tuple>> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max)
zrangeByScoreWithScores
in interface SortedSetPipelineBinaryCommands
public Response<List<Tuple>> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min)
zrevrangeByScoreWithScores
in interface SortedSetPipelineBinaryCommands
public Response<List<Tuple>> zrangeByScoreWithScores(byte[] key, byte[] min, byte[] max, int offset, int count)
zrangeByScoreWithScores
in interface SortedSetPipelineBinaryCommands
public Response<List<Tuple>> zrevrangeByScoreWithScores(byte[] key, double max, double min, int offset, int count)
zrevrangeByScoreWithScores
in interface SortedSetPipelineBinaryCommands
public Response<List<Tuple>> zrevrangeByScoreWithScores(byte[] key, byte[] max, byte[] min, int offset, int count)
zrevrangeByScoreWithScores
in interface SortedSetPipelineBinaryCommands
public Response<Long> zremrangeByRank(byte[] key, long start, long stop)
zremrangeByRank
in interface SortedSetPipelineBinaryCommands
public Response<Long> zremrangeByScore(byte[] key, double min, double max)
zremrangeByScore
in interface SortedSetPipelineBinaryCommands
public Response<Long> zremrangeByScore(byte[] key, byte[] min, byte[] max)
zremrangeByScore
in interface SortedSetPipelineBinaryCommands
public Response<Long> zlexcount(byte[] key, byte[] min, byte[] max)
zlexcount
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrangeByLex(byte[] key, byte[] min, byte[] max)
zrangeByLex
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrangeByLex(byte[] key, byte[] min, byte[] max, int offset, int count)
zrangeByLex
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrevrangeByLex(byte[] key, byte[] max, byte[] min)
zrevrangeByLex
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrevrangeByLex(byte[] key, byte[] max, byte[] min, int offset, int count)
zrevrangeByLex
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> zrange(byte[] key, ZRangeParams zRangeParams)
zrange
in interface SortedSetPipelineBinaryCommands
public Response<List<Tuple>> zrangeWithScores(byte[] key, ZRangeParams zRangeParams)
zrangeWithScores
in interface SortedSetPipelineBinaryCommands
public Response<Long> zrangestore(byte[] dest, byte[] src, ZRangeParams zRangeParams)
zrangestore
in interface SortedSetPipelineBinaryCommands
public Response<Long> zremrangeByLex(byte[] key, byte[] min, byte[] max)
zremrangeByLex
in interface SortedSetPipelineBinaryCommands
public Response<ScanResult<Tuple>> zscan(byte[] key, byte[] cursor, ScanParams params)
zscan
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> bzpopmax(double timeout, byte[]... keys)
bzpopmax
in interface SortedSetPipelineBinaryCommands
public Response<List<byte[]>> bzpopmin(double timeout, byte[]... keys)
bzpopmin
in interface SortedSetPipelineBinaryCommands
public Response<KeyValue<byte[],List<Tuple>>> zmpop(SortedSetOption option, byte[]... keys)
zmpop
in interface SortedSetPipelineBinaryCommands
public Response<KeyValue<byte[],List<Tuple>>> zmpop(SortedSetOption option, int count, byte[]... keys)
zmpop
in interface SortedSetPipelineBinaryCommands
public Response<KeyValue<byte[],List<Tuple>>> bzmpop(long timeout, SortedSetOption option, byte[]... keys)
bzmpop
in interface SortedSetPipelineBinaryCommands
public Response<KeyValue<byte[],List<Tuple>>> bzmpop(long timeout, SortedSetOption option, int count, byte[]... keys)
bzmpop
in interface SortedSetPipelineBinaryCommands
public Response<Set<byte[]>> zdiff(byte[]... keys)
zdiff
in interface SortedSetPipelineBinaryCommands
public Response<Set<Tuple>> zdiffWithScores(byte[]... keys)
zdiffWithScores
in interface SortedSetPipelineBinaryCommands
public Response<Long> zdiffStore(byte[] dstkey, byte[]... keys)
zdiffStore
in interface SortedSetPipelineBinaryCommands
public Response<Set<byte[]>> zinter(ZParams params, byte[]... keys)
zinter
in interface SortedSetPipelineBinaryCommands
public Response<Set<Tuple>> zinterWithScores(ZParams params, byte[]... keys)
zinterWithScores
in interface SortedSetPipelineBinaryCommands
public Response<Long> zinterstore(byte[] dstkey, byte[]... sets)
zinterstore
in interface SortedSetPipelineBinaryCommands
public Response<Long> zinterstore(byte[] dstkey, ZParams params, byte[]... sets)
zinterstore
in interface SortedSetPipelineBinaryCommands
public Response<Long> zintercard(byte[]... keys)
zintercard
in interface SortedSetPipelineBinaryCommands
public Response<Long> zintercard(long limit, byte[]... keys)
zintercard
in interface SortedSetPipelineBinaryCommands
public Response<Set<byte[]>> zunion(ZParams params, byte[]... keys)
zunion
in interface SortedSetPipelineBinaryCommands
public Response<Set<Tuple>> zunionWithScores(ZParams params, byte[]... keys)
zunionWithScores
in interface SortedSetPipelineBinaryCommands
public Response<Long> zunionstore(byte[] dstkey, byte[]... sets)
zunionstore
in interface SortedSetPipelineBinaryCommands
public Response<Long> zunionstore(byte[] dstkey, ZParams params, byte[]... sets)
zunionstore
in interface SortedSetPipelineBinaryCommands
public Response<byte[]> xadd(byte[] key, XAddParams params, Map<byte[],byte[]> hash)
xadd
in interface StreamPipelineBinaryCommands
public Response<Long> xlen(byte[] key)
xlen
in interface StreamPipelineBinaryCommands
public Response<List<byte[]>> xrange(byte[] key, byte[] start, byte[] end)
xrange
in interface StreamPipelineBinaryCommands
public Response<List<byte[]>> xrange(byte[] key, byte[] start, byte[] end, int count)
xrange
in interface StreamPipelineBinaryCommands
public Response<List<byte[]>> xrevrange(byte[] key, byte[] end, byte[] start)
xrevrange
in interface StreamPipelineBinaryCommands
public Response<List<byte[]>> xrevrange(byte[] key, byte[] end, byte[] start, int count)
xrevrange
in interface StreamPipelineBinaryCommands
public Response<Long> xack(byte[] key, byte[] group, byte[]... ids)
xack
in interface StreamPipelineBinaryCommands
public Response<String> xgroupCreate(byte[] key, byte[] groupName, byte[] id, boolean makeStream)
xgroupCreate
in interface StreamPipelineBinaryCommands
public Response<String> xgroupSetID(byte[] key, byte[] groupName, byte[] id)
xgroupSetID
in interface StreamPipelineBinaryCommands
public Response<Long> xgroupDestroy(byte[] key, byte[] groupName)
xgroupDestroy
in interface StreamPipelineBinaryCommands
public Response<Boolean> xgroupCreateConsumer(byte[] key, byte[] groupName, byte[] consumerName)
xgroupCreateConsumer
in interface StreamPipelineBinaryCommands
public Response<Long> xgroupDelConsumer(byte[] key, byte[] groupName, byte[] consumerName)
xgroupDelConsumer
in interface StreamPipelineBinaryCommands
public Response<Long> xdel(byte[] key, byte[]... ids)
xdel
in interface StreamPipelineBinaryCommands
public Response<Long> xtrim(byte[] key, long maxLen, boolean approximateLength)
xtrim
in interface StreamPipelineBinaryCommands
public Response<Long> xtrim(byte[] key, XTrimParams params)
xtrim
in interface StreamPipelineBinaryCommands
public Response<Object> xpending(byte[] key, byte[] groupName)
xpending
in interface StreamPipelineBinaryCommands
public Response<List<Object>> xpending(byte[] key, byte[] groupName, byte[] start, byte[] end, int count, byte[] consumerName)
xpending
in interface StreamPipelineBinaryCommands
public Response<List<Object>> xpending(byte[] key, byte[] groupName, XPendingParams params)
xpending
in interface StreamPipelineBinaryCommands
public Response<List<byte[]>> xclaim(byte[] key, byte[] group, byte[] consumerName, long minIdleTime, XClaimParams params, byte[]... ids)
xclaim
in interface StreamPipelineBinaryCommands
public Response<List<byte[]>> xclaimJustId(byte[] key, byte[] group, byte[] consumerName, long minIdleTime, XClaimParams params, byte[]... ids)
xclaimJustId
in interface StreamPipelineBinaryCommands
public Response<List<Object>> xautoclaim(byte[] key, byte[] groupName, byte[] consumerName, long minIdleTime, byte[] start, XAutoClaimParams params)
xautoclaim
in interface StreamPipelineBinaryCommands
public Response<List<Object>> xautoclaimJustId(byte[] key, byte[] groupName, byte[] consumerName, long minIdleTime, byte[] start, XAutoClaimParams params)
xautoclaimJustId
in interface StreamPipelineBinaryCommands
public Response<Object> xinfoStream(byte[] key)
xinfoStream
in interface StreamPipelineBinaryCommands
public Response<Object> xinfoStreamFull(byte[] key)
StreamPipelineBinaryCommands
xinfoStreamFull
in interface StreamPipelineBinaryCommands
key
- Stream namepublic Response<Object> xinfoStreamFull(byte[] key, int count)
StreamPipelineBinaryCommands
xinfoStreamFull
in interface StreamPipelineBinaryCommands
key
- Stream namecount
- stream info count@Deprecated public Response<List<Object>> xinfoGroup(byte[] key)
xinfoGroup
in interface StreamPipelineBinaryCommands
public Response<List<Object>> xinfoGroups(byte[] key)
xinfoGroups
in interface StreamPipelineBinaryCommands
public Response<List<Object>> xinfoConsumers(byte[] key, byte[] group)
xinfoConsumers
in interface StreamPipelineBinaryCommands
public Response<List<byte[]>> xread(XReadParams xReadParams, Map.Entry<byte[],byte[]>... streams)
xread
in interface StreamPipelineBinaryCommands
public Response<List<byte[]>> xreadGroup(byte[] groupName, byte[] consumer, XReadGroupParams xReadGroupParams, Map.Entry<byte[],byte[]>... streams)
xreadGroup
in interface StreamPipelineBinaryCommands
public Response<String> set(byte[] key, byte[] value)
set
in interface StringPipelineBinaryCommands
public Response<String> set(byte[] key, byte[] value, SetParams params)
set
in interface StringPipelineBinaryCommands
public Response<byte[]> get(byte[] key)
get
in interface StringPipelineBinaryCommands
public Response<byte[]> getDel(byte[] key)
getDel
in interface StringPipelineBinaryCommands
public Response<byte[]> getEx(byte[] key, GetExParams params)
getEx
in interface StringPipelineBinaryCommands
public Response<Boolean> setbit(byte[] key, long offset, boolean value)
setbit
in interface StringPipelineBinaryCommands
public Response<Boolean> getbit(byte[] key, long offset)
getbit
in interface StringPipelineBinaryCommands
public Response<Long> setrange(byte[] key, long offset, byte[] value)
setrange
in interface StringPipelineBinaryCommands
public Response<byte[]> getrange(byte[] key, long startOffset, long endOffset)
getrange
in interface StringPipelineBinaryCommands
public Response<byte[]> getSet(byte[] key, byte[] value)
getSet
in interface StringPipelineBinaryCommands
public Response<Long> setnx(byte[] key, byte[] value)
setnx
in interface StringPipelineBinaryCommands
public Response<String> setex(byte[] key, long seconds, byte[] value)
setex
in interface StringPipelineBinaryCommands
public Response<String> psetex(byte[] key, long milliseconds, byte[] value)
psetex
in interface StringPipelineBinaryCommands
public Response<List<byte[]>> mget(byte[]... keys)
mget
in interface StringPipelineBinaryCommands
public Response<String> mset(byte[]... keysvalues)
mset
in interface StringPipelineBinaryCommands
public Response<Long> msetnx(byte[]... keysvalues)
msetnx
in interface StringPipelineBinaryCommands
public Response<Long> incr(byte[] key)
incr
in interface StringPipelineBinaryCommands
public Response<Long> incrBy(byte[] key, long increment)
incrBy
in interface StringPipelineBinaryCommands
public Response<Double> incrByFloat(byte[] key, double increment)
incrByFloat
in interface StringPipelineBinaryCommands
public Response<Long> decr(byte[] key)
decr
in interface StringPipelineBinaryCommands
public Response<Long> decrBy(byte[] key, long decrement)
decrBy
in interface StringPipelineBinaryCommands
public Response<Long> append(byte[] key, byte[] value)
append
in interface StringPipelineBinaryCommands
public Response<byte[]> substr(byte[] key, int start, int end)
substr
in interface StringPipelineBinaryCommands
public Response<Long> strlen(byte[] key)
strlen
in interface StringPipelineBinaryCommands
public Response<Long> bitcount(byte[] key)
bitcount
in interface StringPipelineBinaryCommands
public Response<Long> bitcount(byte[] key, long start, long end)
bitcount
in interface StringPipelineBinaryCommands
public Response<Long> bitcount(byte[] key, long start, long end, BitCountOption option)
bitcount
in interface StringPipelineBinaryCommands
public Response<Long> bitpos(byte[] key, boolean value)
bitpos
in interface StringPipelineBinaryCommands
public Response<Long> bitpos(byte[] key, boolean value, BitPosParams params)
bitpos
in interface StringPipelineBinaryCommands
public Response<List<Long>> bitfield(byte[] key, byte[]... arguments)
bitfield
in interface StringPipelineBinaryCommands
public Response<List<Long>> bitfieldReadonly(byte[] key, byte[]... arguments)
bitfieldReadonly
in interface StringPipelineBinaryCommands
public Response<Long> bitop(BitOP op, byte[] destKey, byte[]... srcKeys)
bitop
in interface StringPipelineBinaryCommands
public Response<LCSMatchResult> strAlgoLCSKeys(byte[] keyA, byte[] keyB, StrAlgoLCSParams params)
strAlgoLCSKeys
in interface StringPipelineBinaryCommands
public Response<String> ftCreate(String indexName, IndexOptions indexOptions, Schema schema)
ftCreate
in interface RediSearchPipelineCommands
public Response<String> ftAlter(String indexName, Schema schema)
ftAlter
in interface RediSearchPipelineCommands
public Response<SearchResult> ftSearch(String indexName, Query query)
ftSearch
in interface RediSearchPipelineCommands
public Response<SearchResult> ftSearch(byte[] indexName, Query query)
ftSearch
in interface RediSearchPipelineCommands
public Response<String> ftExplain(String indexName, Query query)
ftExplain
in interface RediSearchPipelineCommands
public Response<List<String>> ftExplainCLI(String indexName, Query query)
ftExplainCLI
in interface RediSearchPipelineCommands
public Response<AggregationResult> ftAggregate(String indexName, AggregationBuilder aggr)
ftAggregate
in interface RediSearchPipelineCommands
public Response<AggregationResult> ftCursorRead(String indexName, long cursorId, int count)
ftCursorRead
in interface RediSearchPipelineCommands
public Response<String> ftCursorDel(String indexName, long cursorId)
ftCursorDel
in interface RediSearchPipelineCommands
public Response<String> ftDropIndex(String indexName)
ftDropIndex
in interface RediSearchPipelineCommands
public Response<String> ftDropIndexDD(String indexName)
ftDropIndexDD
in interface RediSearchPipelineCommands
public Response<String> ftSynUpdate(String indexName, String synonymGroupId, String... terms)
ftSynUpdate
in interface RediSearchPipelineCommands
public Response<Map<String,List<String>>> ftSynDump(String indexName)
ftSynDump
in interface RediSearchPipelineCommands
public Response<Map<String,Object>> ftInfo(String indexName)
ftInfo
in interface RediSearchPipelineCommands
public Response<String> ftAliasAdd(String aliasName, String indexName)
ftAliasAdd
in interface RediSearchPipelineCommands
public Response<String> ftAliasUpdate(String aliasName, String indexName)
ftAliasUpdate
in interface RediSearchPipelineCommands
public Response<String> ftAliasDel(String aliasName)
ftAliasDel
in interface RediSearchPipelineCommands
public Response<Map<String,String>> ftConfigGet(String option)
ftConfigGet
in interface RediSearchPipelineCommands
public Response<Map<String,String>> ftConfigGet(String indexName, String option)
ftConfigGet
in interface RediSearchPipelineCommands
public Response<String> ftConfigSet(String option, String value)
ftConfigSet
in interface RediSearchPipelineCommands
public Response<String> ftConfigSet(String indexName, String option, String value)
ftConfigSet
in interface RediSearchPipelineCommands
public Response<LCSMatchResult> lcs(byte[] keyA, byte[] keyB, LCSParams params)
lcs
in interface StringPipelineBinaryCommands
public Response<String> jsonSet(String key, Path2 path, Object object)
jsonSet
in interface RedisJsonPipelineCommands
public Response<String> jsonSetWithEscape(String key, Path2 path, Object object)
jsonSetWithEscape
in interface RedisJsonPipelineCommands
public Response<String> jsonSet(String key, Path path, Object object)
jsonSet
in interface RedisJsonPipelineCommands
public Response<String> jsonSet(String key, Path2 path, Object object, JsonSetParams params)
jsonSet
in interface RedisJsonPipelineCommands
public Response<String> jsonSetWithEscape(String key, Path2 path, Object object, JsonSetParams params)
jsonSetWithEscape
in interface RedisJsonPipelineCommands
public Response<String> jsonSet(String key, Path path, Object object, JsonSetParams params)
jsonSet
in interface RedisJsonPipelineCommands
public Response<Object> jsonGet(String key)
jsonGet
in interface RedisJsonPipelineCommands
public <T> Response<T> jsonGet(String key, Class<T> clazz)
jsonGet
in interface RedisJsonPipelineCommands
public Response<Object> jsonGet(String key, Path2... paths)
jsonGet
in interface RedisJsonPipelineCommands
public Response<Object> jsonGet(String key, Path... paths)
jsonGet
in interface RedisJsonPipelineCommands
public <T> Response<T> jsonGet(String key, Class<T> clazz, Path... paths)
jsonGet
in interface RedisJsonPipelineCommands
public Response<List<org.json.JSONArray>> jsonMGet(Path2 path, String... keys)
jsonMGet
in interface RedisJsonPipelineCommands
public <T> Response<List<T>> jsonMGet(Path path, Class<T> clazz, String... keys)
jsonMGet
in interface RedisJsonPipelineCommands
public Response<Long> jsonDel(String key)
jsonDel
in interface RedisJsonPipelineCommands
public Response<Long> jsonDel(String key, Path2 path)
jsonDel
in interface RedisJsonPipelineCommands
public Response<Long> jsonDel(String key, Path path)
jsonDel
in interface RedisJsonPipelineCommands
public Response<Long> jsonClear(String key)
jsonClear
in interface RedisJsonPipelineCommands
public Response<Long> jsonClear(String key, Path2 path)
jsonClear
in interface RedisJsonPipelineCommands
public Response<Long> jsonClear(String key, Path path)
jsonClear
in interface RedisJsonPipelineCommands
public Response<List<Boolean>> jsonToggle(String key, Path2 path)
jsonToggle
in interface RedisJsonPipelineCommands
public Response<String> jsonToggle(String key, Path path)
jsonToggle
in interface RedisJsonPipelineCommands
public Response<Class<?>> jsonType(String key)
jsonType
in interface RedisJsonPipelineCommands
public Response<List<Class<?>>> jsonType(String key, Path2 path)
jsonType
in interface RedisJsonPipelineCommands
public Response<Class<?>> jsonType(String key, Path path)
jsonType
in interface RedisJsonPipelineCommands
public Response<Long> jsonStrAppend(String key, Object string)
jsonStrAppend
in interface RedisJsonPipelineCommands
public Response<List<Long>> jsonStrAppend(String key, Path2 path, Object string)
jsonStrAppend
in interface RedisJsonPipelineCommands
public Response<Long> jsonStrAppend(String key, Path path, Object string)
jsonStrAppend
in interface RedisJsonPipelineCommands
public Response<Long> jsonStrLen(String key)
jsonStrLen
in interface RedisJsonPipelineCommands
public Response<List<Long>> jsonStrLen(String key, Path2 path)
jsonStrLen
in interface RedisJsonPipelineCommands
public Response<Long> jsonStrLen(String key, Path path)
jsonStrLen
in interface RedisJsonPipelineCommands
public Response<List<Long>> jsonArrAppend(String key, Path2 path, Object... objects)
jsonArrAppend
in interface RedisJsonPipelineCommands
public Response<List<Long>> jsonArrAppendWithEscape(String key, Path2 path, Object... objects)
jsonArrAppendWithEscape
in interface RedisJsonPipelineCommands
public Response<Long> jsonArrAppend(String key, Path path, Object... objects)
jsonArrAppend
in interface RedisJsonPipelineCommands
public Response<List<Long>> jsonArrIndex(String key, Path2 path, Object scalar)
jsonArrIndex
in interface RedisJsonPipelineCommands
public Response<List<Long>> jsonArrIndexWithEscape(String key, Path2 path, Object scalar)
jsonArrIndexWithEscape
in interface RedisJsonPipelineCommands
public Response<Long> jsonArrIndex(String key, Path path, Object scalar)
jsonArrIndex
in interface RedisJsonPipelineCommands
public Response<List<Long>> jsonArrInsert(String key, Path2 path, int index, Object... objects)
jsonArrInsert
in interface RedisJsonPipelineCommands
public Response<List<Long>> jsonArrInsertWithEscape(String key, Path2 path, int index, Object... objects)
jsonArrInsertWithEscape
in interface RedisJsonPipelineCommands
public Response<Long> jsonArrInsert(String key, Path path, int index, Object... pojos)
jsonArrInsert
in interface RedisJsonPipelineCommands
public Response<Object> jsonArrPop(String key)
jsonArrPop
in interface RedisJsonPipelineCommands
public Response<Long> jsonArrLen(String key, Path path)
jsonArrLen
in interface RedisJsonPipelineCommands
public Response<List<Long>> jsonArrTrim(String key, Path2 path, int start, int stop)
jsonArrTrim
in interface RedisJsonPipelineCommands
public Response<Long> jsonArrTrim(String key, Path path, int start, int stop)
jsonArrTrim
in interface RedisJsonPipelineCommands
public <T> Response<T> jsonArrPop(String key, Class<T> clazz, Path path)
jsonArrPop
in interface RedisJsonPipelineCommands
public Response<List<Object>> jsonArrPop(String key, Path2 path, int index)
jsonArrPop
in interface RedisJsonPipelineCommands
public Response<Object> jsonArrPop(String key, Path path, int index)
jsonArrPop
in interface RedisJsonPipelineCommands
public <T> Response<T> jsonArrPop(String key, Class<T> clazz, Path path, int index)
jsonArrPop
in interface RedisJsonPipelineCommands
public Response<Long> jsonArrLen(String key)
jsonArrLen
in interface RedisJsonPipelineCommands
public Response<List<Long>> jsonArrLen(String key, Path2 path)
jsonArrLen
in interface RedisJsonPipelineCommands
public <T> Response<T> jsonArrPop(String key, Class<T> clazz)
jsonArrPop
in interface RedisJsonPipelineCommands
public Response<List<Object>> jsonArrPop(String key, Path2 path)
jsonArrPop
in interface RedisJsonPipelineCommands
public Response<Object> jsonArrPop(String key, Path path)
jsonArrPop
in interface RedisJsonPipelineCommands
public Response<String> tsCreate(String key)
tsCreate
in interface RedisTimeSeriesPipelineCommands
public Response<String> tsCreate(String key, TSCreateParams createParams)
tsCreate
in interface RedisTimeSeriesPipelineCommands
public Response<Long> tsDel(String key, long fromTimestamp, long toTimestamp)
tsDel
in interface RedisTimeSeriesPipelineCommands
public Response<String> tsAlter(String key, TSAlterParams alterParams)
tsAlter
in interface RedisTimeSeriesPipelineCommands
public Response<Long> tsAdd(String key, double value)
tsAdd
in interface RedisTimeSeriesPipelineCommands
public Response<Long> tsAdd(String key, long timestamp, double value)
tsAdd
in interface RedisTimeSeriesPipelineCommands
public Response<Long> tsAdd(String key, long timestamp, double value, TSCreateParams createParams)
tsAdd
in interface RedisTimeSeriesPipelineCommands
public Response<List<TSElement>> tsRange(String key, long fromTimestamp, long toTimestamp)
tsRange
in interface RedisTimeSeriesPipelineCommands
public Response<List<TSElement>> tsRange(String key, TSRangeParams rangeParams)
tsRange
in interface RedisTimeSeriesPipelineCommands
public Response<List<TSElement>> tsRevRange(String key, long fromTimestamp, long toTimestamp)
tsRevRange
in interface RedisTimeSeriesPipelineCommands
public Response<List<TSElement>> tsRevRange(String key, TSRangeParams rangeParams)
tsRevRange
in interface RedisTimeSeriesPipelineCommands
public Response<List<TSKeyedElements>> tsMRange(long fromTimestamp, long toTimestamp, String... filters)
tsMRange
in interface RedisTimeSeriesPipelineCommands
public Response<List<TSKeyedElements>> tsMRange(TSMRangeParams multiRangeParams)
tsMRange
in interface RedisTimeSeriesPipelineCommands
public Response<List<TSKeyedElements>> tsMRevRange(long fromTimestamp, long toTimestamp, String... filters)
tsMRevRange
in interface RedisTimeSeriesPipelineCommands
public Response<List<TSKeyedElements>> tsMRevRange(TSMRangeParams multiRangeParams)
tsMRevRange
in interface RedisTimeSeriesPipelineCommands
public Response<TSElement> tsGet(String key)
tsGet
in interface RedisTimeSeriesPipelineCommands
public Response<List<TSKeyValue<TSElement>>> tsMGet(TSMGetParams multiGetParams, String... filters)
tsMGet
in interface RedisTimeSeriesPipelineCommands
public Response<String> tsCreateRule(String sourceKey, String destKey, AggregationType aggregationType, long timeBucket)
tsCreateRule
in interface RedisTimeSeriesPipelineCommands
public Response<String> tsDeleteRule(String sourceKey, String destKey)
tsDeleteRule
in interface RedisTimeSeriesPipelineCommands
public Response<List<String>> tsQueryIndex(String... filters)
tsQueryIndex
in interface RedisTimeSeriesPipelineCommands
public Response<String> bfReserve(String key, double errorRate, long capacity)
bfReserve
in interface BloomFilterPipelineCommands
public Response<String> bfReserve(String key, double errorRate, long capacity, BFReserveParams reserveParams)
bfReserve
in interface BloomFilterPipelineCommands
public Response<Boolean> bfAdd(String key, String item)
bfAdd
in interface BloomFilterPipelineCommands
public Response<List<Boolean>> bfMAdd(String key, String... items)
bfMAdd
in interface BloomFilterPipelineCommands
public Response<List<Boolean>> bfInsert(String key, String... items)
bfInsert
in interface BloomFilterPipelineCommands
public Response<List<Boolean>> bfInsert(String key, BFInsertParams insertParams, String... items)
bfInsert
in interface BloomFilterPipelineCommands
public Response<Boolean> bfExists(String key, String item)
bfExists
in interface BloomFilterPipelineCommands
public Response<List<Boolean>> bfMExists(String key, String... items)
bfMExists
in interface BloomFilterPipelineCommands
public Response<Map<String,Object>> bfInfo(String key)
bfInfo
in interface BloomFilterPipelineCommands
public Response<String> cfReserve(String key, long capacity)
cfReserve
in interface CuckooFilterPipelineCommands
public Response<String> cfReserve(String key, long capacity, CFReserveParams reserveParams)
cfReserve
in interface CuckooFilterPipelineCommands
public Response<Boolean> cfAdd(String key, String item)
cfAdd
in interface CuckooFilterPipelineCommands
public Response<Boolean> cfAddNx(String key, String item)
cfAddNx
in interface CuckooFilterPipelineCommands
public Response<List<Boolean>> cfInsert(String key, String... items)
cfInsert
in interface CuckooFilterPipelineCommands
public Response<List<Boolean>> cfInsert(String key, CFInsertParams insertParams, String... items)
cfInsert
in interface CuckooFilterPipelineCommands
public Response<List<Boolean>> cfInsertNx(String key, String... items)
cfInsertNx
in interface CuckooFilterPipelineCommands
public Response<List<Boolean>> cfInsertNx(String key, CFInsertParams insertParams, String... items)
cfInsertNx
in interface CuckooFilterPipelineCommands
public Response<Boolean> cfExists(String key, String item)
cfExists
in interface CuckooFilterPipelineCommands
public Response<Boolean> cfDel(String key, String item)
cfDel
in interface CuckooFilterPipelineCommands
public Response<Long> cfCount(String key, String item)
cfCount
in interface CuckooFilterPipelineCommands
public Response<Map<String,Object>> cfInfo(String key)
cfInfo
in interface CuckooFilterPipelineCommands
public Response<String> cmsInitByDim(String key, long width, long depth)
cmsInitByDim
in interface CountMinSketchPipelineCommands
public Response<String> cmsInitByProb(String key, double error, double probability)
cmsInitByProb
in interface CountMinSketchPipelineCommands
public Response<List<Long>> cmsIncrBy(String key, Map<String,Long> itemIncrements)
cmsIncrBy
in interface CountMinSketchPipelineCommands
public Response<List<Long>> cmsQuery(String key, String... items)
cmsQuery
in interface CountMinSketchPipelineCommands
public Response<String> cmsMerge(String destKey, String... keys)
cmsMerge
in interface CountMinSketchPipelineCommands
public Response<String> cmsMerge(String destKey, Map<String,Long> keysAndWeights)
cmsMerge
in interface CountMinSketchPipelineCommands
public Response<Map<String,Object>> cmsInfo(String key)
cmsInfo
in interface CountMinSketchPipelineCommands
public Response<String> topkReserve(String key, long topk)
topkReserve
in interface TopKFilterPipelineCommands
public Response<String> topkReserve(String key, long topk, long width, long depth, double decay)
topkReserve
in interface TopKFilterPipelineCommands
public Response<List<String>> topkAdd(String key, String... items)
topkAdd
in interface TopKFilterPipelineCommands
public Response<List<String>> topkIncrBy(String key, Map<String,Long> itemIncrements)
topkIncrBy
in interface TopKFilterPipelineCommands
public Response<List<Boolean>> topkQuery(String key, String... items)
topkQuery
in interface TopKFilterPipelineCommands
public Response<List<Long>> topkCount(String key, String... items)
topkCount
in interface TopKFilterPipelineCommands
public Response<List<String>> topkList(String key)
topkList
in interface TopKFilterPipelineCommands
public Response<Map<String,Object>> topkInfo(String key)
topkInfo
in interface TopKFilterPipelineCommands
public Response<ResultSet> graphQuery(String name, String query)
graphQuery
in interface RedisGraphPipelineCommands
public Response<ResultSet> graphReadonlyQuery(String name, String query)
graphReadonlyQuery
in interface RedisGraphPipelineCommands
public Response<ResultSet> graphQuery(String name, String query, long timeout)
graphQuery
in interface RedisGraphPipelineCommands
public Response<ResultSet> graphReadonlyQuery(String name, String query, long timeout)
graphReadonlyQuery
in interface RedisGraphPipelineCommands
public Response<ResultSet> graphQuery(String name, String query, Map<String,Object> params)
graphQuery
in interface RedisGraphPipelineCommands
public Response<ResultSet> graphReadonlyQuery(String name, String query, Map<String,Object> params)
graphReadonlyQuery
in interface RedisGraphPipelineCommands
public Response<ResultSet> graphQuery(String name, String query, Map<String,Object> params, long timeout)
graphQuery
in interface RedisGraphPipelineCommands
public Response<ResultSet> graphReadonlyQuery(String name, String query, Map<String,Object> params, long timeout)
graphReadonlyQuery
in interface RedisGraphPipelineCommands
public Response<String> graphDelete(String name)
graphDelete
in interface RedisGraphPipelineCommands
public Response<String> select(int index)
DatabasePipelineCommands
select
in interface DatabasePipelineCommands
index
- the index of dbpublic Response<Long> dbSize()
DatabasePipelineCommands
dbSize
in interface DatabasePipelineCommands
public Response<String> swapDB(int index1, int index2)
DatabasePipelineCommands
swapDB
in interface DatabasePipelineCommands
public Response<Long> move(String key, int dbIndex)
DatabasePipelineCommands
move
in interface DatabasePipelineCommands
key
- The specified keydbIndex
- Specified destination databasepublic Response<Long> move(byte[] key, int dbIndex)
DatabasePipelineCommands
MOVE
.move
in interface DatabasePipelineCommands
DatabaseCommands.move(String, int)
public Response<Boolean> copy(String srcKey, String dstKey, int db, boolean replace)
DatabasePipelineCommands
copy
in interface DatabasePipelineCommands
srcKey
- The source key.dstKey
- The destination key.db
- Allows specifying an alternative logical database index for the destination key.replace
- Removes the destination key before copying the value to it, in order to avoid error.public Response<Boolean> copy(byte[] srcKey, byte[] dstKey, int db, boolean replace)
DatabasePipelineCommands
COPY
.copy
in interface DatabasePipelineCommands
DatabasePipelineCommands.copy(String, String, int, boolean)
public Response<String> migrate(String host, int port, byte[] key, int destinationDB, int timeout)
DatabasePipelineCommands
MIGRATE
.migrate
in interface DatabasePipelineCommands
DatabasePipelineCommands.migrate(String, int, String, int, int)
public Response<String> migrate(String host, int port, String key, int destinationDB, int timeout)
DatabasePipelineCommands
migrate
in interface DatabasePipelineCommands
host
- Target hostport
- Target portkey
- Migrate keydestinationDB
- Target dbtimeout
- The maximum idle time in any moment of the communication with the
destination instance in milliseconds.public Response<String> migrate(String host, int port, int destinationDB, int timeout, MigrateParams params, byte[]... keys)
DatabasePipelineCommands
MIGRATE
.migrate
in interface DatabasePipelineCommands
DatabasePipelineCommands.migrate(String, int, int, int, MigrateParams, String...)
public Response<String> migrate(String host, int port, int destinationDB, int timeout, MigrateParams params, String... keys)
DatabasePipelineCommands
migrate
in interface DatabasePipelineCommands
host
- Target hostport
- Target portdestinationDB
- Target dbtimeout
- The maximum idle time in any moment of the communication with the
destination instance in milliseconds.params
- MigrateParams
keys
- The keys to migratepublic Response<Object> sendCommand(ProtocolCommand cmd, String... args)
public Response<Object> sendCommand(ProtocolCommand cmd, byte[]... args)
public Response<Object> sendCommand(CommandArguments args)
public <T> Response<T> executeCommand(CommandObject<T> command)
Copyright © 2022. All rights reserved.