| Modifier and Type | Method and Description |
|---|---|
static LcsArgs |
justLen()
Creates new
LcsArgs and enables LEN. |
static LcsArgs |
keys(String... keys)
Deprecated.
since 7.8, pass the keys to
RedisStringCommands.lcs(Object, Object, LcsArgs) instead and create the
arguments through justLen(), withIdx(), minMatchLen(int) or
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. |
static LcsArgs |
minMatchLen(int minMatchLen)
Creates new
LcsArgs and sets MINMATCHLEN. |
static LcsArgs |
withIdx()
Creates new
LcsArgs and enables IDX. |
static LcsArgs |
withMatchLen()
Creates new
LcsArgs and enables WITHMATCHLEN. |
@Deprecated public static LcsArgs keys(String... keys)
RedisStringCommands.lcs(Object, Object, LcsArgs) instead and create the
arguments through justLen(), withIdx(), minMatchLen(int) or
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 by keys.LcsArgs with By KEYS set.public static LcsArgs justLen()
LcsArgs and enables LEN.LcsArgs with LEN enabled.public static LcsArgs withIdx()
LcsArgs and enables IDX.LcsArgs with IDX enabled.public static LcsArgs minMatchLen(int minMatchLen)
LcsArgs and sets MINMATCHLEN.minMatchLen - the minimal length of a match to be reported.LcsArgs with MINMATCHLEN set.Copyright © 2026 lettuce.io. All rights reserved.