| Package | Description |
|---|---|
| io.lettuce.core |
The Redis client package containing
RedisClient for Redis Standalone and Redis Sentinel operations. |
| io.lettuce.core.api.async |
Standalone Redis API for asynchronous executed commands.
|
| io.lettuce.core.api.reactive |
Standalone Redis API for reactive command execution.
|
| io.lettuce.core.api.sync |
Standalone Redis API for synchronous executed commands.
|
| io.lettuce.core.cluster.api.async |
Redis Cluster API for asynchronous executed commands.
|
| io.lettuce.core.cluster.api.sync |
Redis Cluster API for synchronous executed commands.
|
| Modifier and Type | Method and Description |
|---|---|
LcsArgs |
LcsArgs.by(String... keys)
Deprecated.
since 7.8, pass the keys to
RedisStringCommands.lcs(Object, Object, LcsArgs)
instead; scheduled for removal in a future major release. Keys set through this method are encoded as plain
strings and not through the key codec, so they neither work with non-String key codecs nor
participate in Redis Cluster slot routing. |
LcsArgs |
LcsArgs.justLen()
Request just the length of the match for results.
|
static LcsArgs |
LcsArgs.Builder.justLen()
Creates new
LcsArgs and enables LEN. |
static LcsArgs |
LcsArgs.Builder.keys(String... keys)
Deprecated.
since 7.8, pass the keys to
RedisStringCommands.lcs(Object, Object, LcsArgs) instead and create the
arguments through LcsArgs.Builder.justLen(), LcsArgs.Builder.withIdx(), LcsArgs.Builder.minMatchLen(int) or
LcsArgs.Builder.withMatchLen(); scheduled for removal in a future major release. Keys set through this method
are encoded as plain strings and not through the key codec, so they neither work with non-String
key codecs nor participate in Redis Cluster slot routing. |
LcsArgs |
LcsArgs.minMatchLen(int minMatchLen)
Restrict the list of matches to the ones of a given minimal length.
|
static LcsArgs |
LcsArgs.Builder.minMatchLen(int minMatchLen)
Creates new
LcsArgs and sets MINMATCHLEN. |
LcsArgs |
LcsArgs.withIdx()
Request match position in each string for results.
|
static LcsArgs |
LcsArgs.Builder.withIdx()
Creates new
LcsArgs and enables IDX. |
LcsArgs |
LcsArgs.withMatchLen()
Request match len for results.
|
static LcsArgs |
LcsArgs.Builder.withMatchLen()
Creates new
LcsArgs and enables WITHMATCHLEN. |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<StringMatchResult> |
AbstractRedisReactiveCommands.lcs(K key1,
K key2,
LcsArgs lcsArgs) |
RedisFuture<StringMatchResult> |
AbstractRedisAsyncCommands.lcs(K key1,
K key2,
LcsArgs lcsArgs) |
reactor.core.publisher.Mono<StringMatchResult> |
AbstractRedisReactiveCommands.lcs(LcsArgs lcsArgs)
Deprecated.
|
RedisFuture<StringMatchResult> |
AbstractRedisAsyncCommands.lcs(LcsArgs args)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
RedisFuture<StringMatchResult> |
RedisStringAsyncCommands.lcs(K key1,
K key2,
LcsArgs lcsArgs)
The LCS command implements the longest common subsequence algorithm on the values stored at
key1 and
key2. |
RedisFuture<StringMatchResult> |
RedisStringAsyncCommands.lcs(LcsArgs lcsArgs)
Deprecated.
since 7.8, use
#lcs(K, K) or #lcs(K, K, LcsArgs) instead; scheduled for removal in a future
major release. The keys carried by LcsArgs are encoded as plain strings and not through the key
codec, so this method neither works with non-String key codecs nor participates in Redis Cluster slot
routing. |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<StringMatchResult> |
RedisStringReactiveCommands.lcs(K key1,
K key2,
LcsArgs lcsArgs)
The LCS command implements the longest common subsequence algorithm on the values stored at
key1 and
key2. |
reactor.core.publisher.Mono<StringMatchResult> |
RedisStringReactiveCommands.lcs(LcsArgs lcsArgs)
Deprecated.
since 7.8, use
#lcs(K, K) or #lcs(K, K, LcsArgs) instead; scheduled for removal in a future
major release. The keys carried by LcsArgs are encoded as plain strings and not through the key
codec, so this method neither works with non-String key codecs nor participates in Redis Cluster slot
routing. |
| Modifier and Type | Method and Description |
|---|---|
StringMatchResult |
RedisStringCommands.lcs(K key1,
K key2,
LcsArgs lcsArgs)
The LCS command implements the longest common subsequence algorithm on the values stored at
key1 and
key2. |
StringMatchResult |
RedisStringCommands.lcs(LcsArgs lcsArgs)
Deprecated.
since 7.8, use
#lcs(K, K) or #lcs(K, K, LcsArgs) instead; scheduled for removal in a future
major release. The keys carried by LcsArgs are encoded as plain strings and not through the key
codec, so this method neither works with non-String key codecs nor participates in Redis Cluster slot
routing. |
| Modifier and Type | Method and Description |
|---|---|
AsyncExecutions<StringMatchResult> |
NodeSelectionStringAsyncCommands.lcs(K key1,
K key2,
LcsArgs lcsArgs)
The LCS command implements the longest common subsequence algorithm on the values stored at
key1 and
key2. |
AsyncExecutions<StringMatchResult> |
NodeSelectionStringAsyncCommands.lcs(LcsArgs lcsArgs)
Deprecated.
since 7.8, use
#lcs(K, K) or #lcs(K, K, LcsArgs) instead; scheduled for removal in a future
major release. The keys carried by LcsArgs are encoded as plain strings and not through the key
codec, so this method neither works with non-String key codecs nor participates in Redis Cluster slot
routing. |
| Modifier and Type | Method and Description |
|---|---|
Executions<StringMatchResult> |
NodeSelectionStringCommands.lcs(K key1,
K key2,
LcsArgs lcsArgs)
The LCS command implements the longest common subsequence algorithm on the values stored at
key1 and
key2. |
Executions<StringMatchResult> |
NodeSelectionStringCommands.lcs(LcsArgs lcsArgs)
Deprecated.
since 7.8, use
#lcs(K, K) or #lcs(K, K, LcsArgs) instead; scheduled for removal in a future
major release. The keys carried by LcsArgs are encoded as plain strings and not through the key
codec, so this method neither works with non-String key codecs nor participates in Redis Cluster slot
routing. |
Copyright © 2026 lettuce.io. All rights reserved.