public interface StringBinaryCommands
Modifier and Type | Method and Description |
---|---|
long |
append(byte[] key,
byte[] value) |
long |
bitcount(byte[] key) |
long |
bitcount(byte[] key,
long start,
long end) |
long |
bitcount(byte[] key,
long start,
long end,
BitCountOption option) |
List<Long> |
bitfield(byte[] key,
byte[]... arguments) |
List<Long> |
bitfieldReadonly(byte[] key,
byte[]... arguments) |
long |
bitop(BitOP op,
byte[] destKey,
byte[]... srcKeys) |
long |
bitpos(byte[] key,
boolean value) |
long |
bitpos(byte[] key,
boolean value,
BitPosParams params) |
long |
decr(byte[] key) |
long |
decrBy(byte[] key,
long decrement) |
byte[] |
get(byte[] key) |
boolean |
getbit(byte[] key,
long offset) |
byte[] |
getDel(byte[] key) |
byte[] |
getEx(byte[] key,
GetExParams params) |
byte[] |
getrange(byte[] key,
long startOffset,
long endOffset) |
byte[] |
getSet(byte[] key,
byte[] value) |
long |
incr(byte[] key) |
long |
incrBy(byte[] key,
long increment) |
double |
incrByFloat(byte[] key,
double increment) |
LCSMatchResult |
lcs(byte[] keyA,
byte[] keyB,
LCSParams params)
Calculate the longest common subsequence of keyA and keyB.
|
List<byte[]> |
mget(byte[]... keys) |
String |
mset(byte[]... keysvalues) |
long |
msetnx(byte[]... keysvalues) |
String |
psetex(byte[] key,
long milliseconds,
byte[] value) |
String |
set(byte[] key,
byte[] value) |
String |
set(byte[] key,
byte[] value,
SetParams params) |
boolean |
setbit(byte[] key,
long offset,
boolean value) |
String |
setex(byte[] key,
long seconds,
byte[] value) |
long |
setnx(byte[] key,
byte[] value) |
long |
setrange(byte[] key,
long offset,
byte[] value) |
LCSMatchResult |
strAlgoLCSKeys(byte[] keyA,
byte[] keyB,
StrAlgoLCSParams params)
Deprecated.
STRALGO LCS command will be removed from Redis 7.
LCS can be used instead of this method. |
long |
strlen(byte[] key) |
byte[] |
substr(byte[] key,
int start,
int end) |
String set(byte[] key, byte[] value)
byte[] get(byte[] key)
byte[] getDel(byte[] key)
byte[] getEx(byte[] key, GetExParams params)
boolean setbit(byte[] key, long offset, boolean value)
boolean getbit(byte[] key, long offset)
long setrange(byte[] key, long offset, byte[] value)
byte[] getrange(byte[] key, long startOffset, long endOffset)
byte[] getSet(byte[] key, byte[] value)
long setnx(byte[] key, byte[] value)
String setex(byte[] key, long seconds, byte[] value)
String psetex(byte[] key, long milliseconds, byte[] value)
List<byte[]> mget(byte[]... keys)
String mset(byte[]... keysvalues)
long msetnx(byte[]... keysvalues)
long incr(byte[] key)
long incrBy(byte[] key, long increment)
double incrByFloat(byte[] key, double increment)
long decr(byte[] key)
long decrBy(byte[] key, long decrement)
long append(byte[] key, byte[] value)
byte[] substr(byte[] key, int start, int end)
long strlen(byte[] key)
long bitcount(byte[] key)
long bitcount(byte[] key, long start, long end)
long bitcount(byte[] key, long start, long end, BitCountOption option)
long bitpos(byte[] key, boolean value)
long bitpos(byte[] key, boolean value, BitPosParams params)
long bitop(BitOP op, byte[] destKey, byte[]... srcKeys)
@Deprecated LCSMatchResult strAlgoLCSKeys(byte[] keyA, byte[] keyB, StrAlgoLCSParams params)
LCS
can be used instead of this method.LCSMatchResult lcs(byte[] keyA, byte[] keyB, LCSParams params)
keyA
- keyB
- params
- Copyright © 2022. All rights reserved.