Class Matching

    • Constructor Detail

      • Matching

        public Matching()
        Creates a matching of type "text"
    • Method Detail

      • getCase

        public Case getCase()
      • setCase

        public void setCase​(Case casing)
      • maxLength

        public Integer maxLength()
      • maxLength

        public Matching maxLength​(int maxLength)
      • isTypeUserSet

        public boolean isTypeUserSet()
      • isAlgorithmUserSet

        public boolean isAlgorithmUserSet()
      • isPrefix

        public boolean isPrefix()
      • isSubstring

        public boolean isSubstring()
      • isSuffix

        public boolean isSuffix()
      • getGramSize

        public int getGramSize()
        Returns the gram size, or -1 if not set. Should only be set with gram matching.
      • setGramSize

        public void setGramSize​(int gramSize)
      • merge

        public void merge​(Matching m)
        Merge data from another matching object
      • getExactMatchTerminator

        public String getExactMatchTerminator()
        If exact matching is used, this returns the terminator string which terminates an exact matched sequence in queries. If exact matching is not used, or no terminator is set, this is null
      • setExactMatchTerminator

        public void setExactMatchTerminator​(String exactMatchTerminator)
        Sets the terminator string which terminates an exact matched sequence in queries (used if type is EXACT).
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object