public interface StringPipelineCommands extends BitPipelineCommands
Modifier and Type | Method and Description |
---|---|
Response<java.lang.Long> |
append(java.lang.String key,
java.lang.String value) |
Response<java.lang.Long> |
decr(java.lang.String key) |
Response<java.lang.Long> |
decrBy(java.lang.String key,
long decrement) |
Response<java.lang.String> |
get(java.lang.String key) |
Response<java.lang.String> |
getDel(java.lang.String key) |
Response<java.lang.String> |
getEx(java.lang.String key,
GetExParams params) |
Response<java.lang.String> |
getrange(java.lang.String key,
long startOffset,
long endOffset) |
Response<java.lang.String> |
getSet(java.lang.String key,
java.lang.String value) |
Response<java.lang.Long> |
incr(java.lang.String key) |
Response<java.lang.Long> |
incrBy(java.lang.String key,
long increment) |
Response<java.lang.Double> |
incrByFloat(java.lang.String key,
double increment) |
Response<LCSMatchResult> |
lcs(java.lang.String keyA,
java.lang.String keyB,
LCSParams params) |
Response<java.util.List<java.lang.String>> |
mget(java.lang.String... keys) |
Response<java.lang.String> |
mset(java.lang.String... keysvalues) |
Response<java.lang.Long> |
msetnx(java.lang.String... keysvalues) |
Response<java.lang.String> |
psetex(java.lang.String key,
long milliseconds,
java.lang.String value) |
Response<java.lang.String> |
set(java.lang.String key,
java.lang.String value) |
Response<java.lang.String> |
set(java.lang.String key,
java.lang.String value,
SetParams params) |
Response<java.lang.String> |
setex(java.lang.String key,
long seconds,
java.lang.String value) |
Response<java.lang.String> |
setGet(java.lang.String key,
java.lang.String value,
SetParams params)
WARNING:
SetParams.get() MUST NOT be used with this method. |
Response<java.lang.Long> |
setnx(java.lang.String key,
java.lang.String value) |
Response<java.lang.Long> |
setrange(java.lang.String key,
long offset,
java.lang.String value) |
Response<LCSMatchResult> |
strAlgoLCSKeys(java.lang.String keyA,
java.lang.String keyB,
StrAlgoLCSParams params)
Deprecated.
STRALGO LCS command will be removed from Redis 7.
LCS can be used instead of this method. |
Response<java.lang.Long> |
strlen(java.lang.String key) |
Response<java.lang.String> |
substr(java.lang.String key,
int start,
int end) |
Response<java.lang.String> set(java.lang.String key, java.lang.String value)
Response<java.lang.String> get(java.lang.String key)
Response<java.lang.String> setGet(java.lang.String key, java.lang.String value, SetParams params)
SetParams.get()
MUST NOT be used with this method.Response<java.lang.String> getDel(java.lang.String key)
Response<java.lang.String> getEx(java.lang.String key, GetExParams params)
Response<java.lang.Long> setrange(java.lang.String key, long offset, java.lang.String value)
Response<java.lang.String> getrange(java.lang.String key, long startOffset, long endOffset)
Response<java.lang.String> getSet(java.lang.String key, java.lang.String value)
Response<java.lang.Long> setnx(java.lang.String key, java.lang.String value)
Response<java.lang.String> setex(java.lang.String key, long seconds, java.lang.String value)
Response<java.lang.String> psetex(java.lang.String key, long milliseconds, java.lang.String value)
Response<java.util.List<java.lang.String>> mget(java.lang.String... keys)
Response<java.lang.String> mset(java.lang.String... keysvalues)
Response<java.lang.Long> msetnx(java.lang.String... keysvalues)
Response<java.lang.Long> incr(java.lang.String key)
Response<java.lang.Long> incrBy(java.lang.String key, long increment)
Response<java.lang.Double> incrByFloat(java.lang.String key, double increment)
Response<java.lang.Long> decr(java.lang.String key)
Response<java.lang.Long> decrBy(java.lang.String key, long decrement)
Response<java.lang.Long> append(java.lang.String key, java.lang.String value)
Response<java.lang.String> substr(java.lang.String key, int start, int end)
Response<java.lang.Long> strlen(java.lang.String key)
@Deprecated Response<LCSMatchResult> strAlgoLCSKeys(java.lang.String keyA, java.lang.String keyB, StrAlgoLCSParams params)
LCS
can be used instead of this method.Response<LCSMatchResult> lcs(java.lang.String keyA, java.lang.String keyB, LCSParams params)
Copyright © 2023. All rights reserved.