Package com.tibco.patterns.deduplication
Class Pair
- java.lang.Object
-
- com.tibco.patterns.deduplication.Pair
-
public class Pair extends java.lang.ObjectIdentifies two matching records, with their TIBCO Patterns - Search similarity score.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetResultKey()KeyedgetSearchObject()com.netrics.likeit.NetricsSearchResultgetSearchResult()
-
-
-
Constructor Detail
-
Pair
public Pair(Keyed searchObject, com.netrics.likeit.NetricsSearchResult searchResult)
- Parameters:
searchObject- Object that was used to build the Patterns query.searchResult- Result that was found by the Patterns query.
-
-
Method Detail
-
getSearchObject
public Keyed getSearchObject()
- Returns:
- The object that was used to build the Patterns query.
-
getSearchResult
public com.netrics.likeit.NetricsSearchResult getSearchResult()
- Returns:
- Result that was found by the Patterns query.
-
getResultKey
public java.lang.String getResultKey()
- Returns:
- The "root" key of the search result.
For a regular (non-join) search, this is just the key of the underlying NetricsRecord. For a join search, this is the key of the top-level (parent) record.
-
-