Package redis.clients.jedis.params
Class LCSParams
java.lang.Object
redis.clients.jedis.params.LCSParams
- All Implemented Interfaces:
IParams
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParams(CommandArguments args) idx()When IDX is given the command returns an array with the LCS length and all the ranges in both the strings, start and end offset for each string, where there are matches.static LCSParamslen()When LEN is given the command returns the length of the longest common substring.minMatchLen(long minMatchLen) Specify the minimum match length.When WITHMATCHLEN is given each array representing a match will also have the length of the match.
-
Field Details
-
len
private boolean len -
idx
private boolean idx -
minMatchLen
-
withMatchLen
private boolean withMatchLen
-
-
Constructor Details
-
LCSParams
public LCSParams()
-
-
Method Details
-
LCSParams
-
len
When LEN is given the command returns the length of the longest common substring.- Returns:
- LCSParams
-
idx
When IDX is given the command returns an array with the LCS length and all the ranges in both the strings, start and end offset for each string, where there are matches.- Returns:
- LCSParams
-
minMatchLen
Specify the minimum match length.- Returns:
- LCSParams
-
withMatchLen
When WITHMATCHLEN is given each array representing a match will also have the length of the match.- Returns:
- LCSParams
-
addParams
-