Package com.aquima.interactions.matching
Class MatchType
java.lang.Object
com.aquima.interactions.matching.MatchType
This class contains the default supported match types.
- Since:
- 6.2
- Author:
- O. Kerpershoek
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MatchType
This member defines the CROSSTABLE match type.static final MatchType
This member defines the DATE_RAMP match type.static final MatchType
This member defines the Entity match type, which can be used to match relation attributes.static final MatchType
This member defines the EXACT_NUMBER match type.static final MatchType
This member defines the EXACT_STRING match type.static final MatchType
This member defines the FULLTEXT match type.static final MatchType
This member defines the LEVENSHTEIN match type.static final MatchType
This member defines the NORMDIST match type.static final MatchType
This member defines the NUMBER_RAMP match type.static final MatchType
This member defines the RANGE match type.static final MatchType
This member defines the TRIGRAM match type. -
Method Summary
Modifier and TypeMethodDescriptionboolean
This method returns a description of the match type.getName()
This method returns the name of the match type.static MatchType[]
This method can be used to retrieve all the match types that are supported by default.int
hashCode()
toString()
static MatchType
This method retrieves the match type for the specified name.
-
Field Details
-
ENTITY
This member defines the Entity match type, which can be used to match relation attributes. -
NUMBER_RAMP
This member defines the NUMBER_RAMP match type. -
DATE_RAMP
This member defines the DATE_RAMP match type. -
NORMDIST
This member defines the NORMDIST match type. -
EXACT_NUMBER
This member defines the EXACT_NUMBER match type. -
EXACT_STRING
This member defines the EXACT_STRING match type. -
CROSSTABLE
This member defines the CROSSTABLE match type. -
TRIGRAM
This member defines the TRIGRAM match type. -
RANGE
This member defines the RANGE match type. -
FULLTEXT
This member defines the FULLTEXT match type. -
LEVENSHTEIN
This member defines the LEVENSHTEIN match type.
-
-
Method Details
-
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
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
This method returns the name of the match type.- Returns:
- the name of the match type.
-
getDescription
This method returns a description of the match type.- Returns:
- a description of the match type.
-
hashCode
public int hashCode() -
equals
-
toString
-