Class MatchType

java.lang.Object
com.aquima.interactions.matching.MatchType

public final class MatchType extends Object
This class contains the default supported match types.
Since:
6.2
Author:
O. Kerpershoek
  • Field Details

    • ENTITY

      public static final MatchType ENTITY
      This member defines the Entity match type, which can be used to match relation attributes.
    • NUMBER_RAMP

      public static final MatchType NUMBER_RAMP
      This member defines the NUMBER_RAMP match type.
    • DATE_RAMP

      public static final MatchType DATE_RAMP
      This member defines the DATE_RAMP match type.
    • NORMDIST

      public static final MatchType NORMDIST
      This member defines the NORMDIST match type.
    • EXACT_NUMBER

      public static final MatchType EXACT_NUMBER
      This member defines the EXACT_NUMBER match type.
    • EXACT_STRING

      public static final MatchType EXACT_STRING
      This member defines the EXACT_STRING match type.
    • CROSSTABLE

      public static final MatchType CROSSTABLE
      This member defines the CROSSTABLE match type.
    • TRIGRAM

      public static final MatchType TRIGRAM
      This member defines the TRIGRAM match type.
    • RANGE

      public static final MatchType RANGE
      This member defines the RANGE match type.
    • FULLTEXT

      public static final MatchType FULLTEXT
      This member defines the FULLTEXT match type.
    • LEVENSHTEIN

      public static final MatchType LEVENSHTEIN
      This member defines the LEVENSHTEIN match type.
  • Method Details

    • getSupportedTypes

      public static MatchType[] getSupportedTypes()
      This method can be used to retrieve all the match types that are supported by default.
      Returns:
      Array containing all the match types that are supported by default.
    • valueOf

      public static MatchType valueOf(String name)
      This method retrieves the match type for the specified name.
      Parameters:
      name - The name for which the match type is requested.
      Returns:
      The match type for the specified name, or null is there is none defined for the specified name.
    • getName

      public String getName()
      This method returns the name of the match type.
      Returns:
      the name of the match type.
    • getDescription

      public String getDescription()
      This method returns a description of the match type.
      Returns:
      a description of the match type.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object