Interface RuleCondition.Builder

  • Method Details

    • ruleName

      RuleCondition.Builder ruleName(String ruleName)

      A name for the matching rule.

      For example: Rule1

      Parameters:
      ruleName - A name for the matching rule.

      For example: Rule1

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • condition

      RuleCondition.Builder condition(String condition)

      A statement that specifies the conditions for a matching rule.

      If your data is accurate, use an Exact matching function: Exact or ExactManyToMany.

      If your data has variations in spelling or pronunciation, use a Fuzzy matching function: Cosine, Levenshtein, or Soundex.

      Use operators if you want to combine (AND), separate (OR), or group matching functions (...).

      For example: (Cosine(a, 10) AND Exact(b, true)) OR ExactManyToMany(c, d)

      Parameters:
      condition - A statement that specifies the conditions for a matching rule.

      If your data is accurate, use an Exact matching function: Exact or ExactManyToMany.

      If your data has variations in spelling or pronunciation, use a Fuzzy matching function: Cosine, Levenshtein, or Soundex.

      Use operators if you want to combine (AND), separate (OR), or group matching functions (...).

      For example: (Cosine(a, 10) AND Exact(b, true)) OR ExactManyToMany(c, d)

      Returns:
      Returns a reference to this object so that method calls can be chained together.