MatchResult Class

Represents the duplicate results for a matching rule.

Namespace

Datacloud

MatchResult Methods

The following are methods for MatchResult.

  • getEntityType()
    Returns the entity type of the matching rule.
  • getErrors()
    Returns errors that occurred during matching for the matching rule.
  • getMatchEngine()
    Returns the match engine for the matching rule.
  • getMatchRecords()
    Returns information about the duplicates for the matching rule.
  • getRule()
    Returns the developer name of the matching rule.
  • getSize()
    Returns the number of duplicates detected by the matching rule.
  • isSuccess()
    Returns false if there’s an error with the matching rule, and true if the matching rule successfully ran.

getEntityType()

Returns the entity type of the matching rule.

Signature

public String getEntityType()

Return Value

Type: String

getErrors()

Returns errors that occurred during matching for the matching rule.

Signature

public List<Database.Error> getErrors()

Return Value

Type: List<Database.Error>

getMatchEngine()

Returns the match engine for the matching rule.

Signature

public String getMatchEngine()

Return Value

Type: String

getMatchRecords()

Returns information about the duplicates for the matching rule.

Signature

public List<Datacloud.MatchRecord> getMatchRecords()

Return Value

Type: List<Datacloud.MatchRecord>

getRule()

Returns the developer name of the matching rule.

Signature

public String getRule()

Return Value

Type: String

getSize()

Returns the number of duplicates detected by the matching rule.

Signature

public Integer getSize()

Return Value

Type: Integer

isSuccess()

Returns false if there’s an error with the matching rule, and true if the matching rule successfully ran.

Signature

public Boolean isSuccess()

Return Value

Type: Boolean