Class LCSParams

java.lang.Object
redis.clients.jedis.params.LCSParams
All Implemented Interfaces:
IParams

public class LCSParams extends Object implements IParams
  • Field Details

    • len

      private boolean len
    • idx

      private boolean idx
    • minMatchLen

      private Long minMatchLen
    • withMatchLen

      private boolean withMatchLen
  • Constructor Details

    • LCSParams

      public LCSParams()
  • Method Details

    • LCSParams

      public static LCSParams LCSParams()
    • len

      public LCSParams len()
      When LEN is given the command returns the length of the longest common substring.
      Returns:
      LCSParams
    • idx

      public 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

      public LCSParams minMatchLen(long minMatchLen)
      Specify the minimum match length.
      Returns:
      LCSParams
    • withMatchLen

      public LCSParams withMatchLen()
      When WITHMATCHLEN is given each array representing a match will also have the length of the match.
      Returns:
      LCSParams
    • addParams

      public void addParams(CommandArguments args)
      Specified by:
      addParams in interface IParams