|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LinkageEngine
An instance of a LinkageEngine is responsible for comparing records from two data sources to determine if any of them are the same. This class
encapsulates most of the work involved in a linkage operation. This is where deterministic or probabilistic algorithms will be used to compare field values
from records in both the primary and secondary data sources. The most convenient way to implement this interface is to extend the
AbstractLinkageEngine class instead of implementing the interface directly.
Implementers of the LinkageEngine interface should extend the AbstractLinkageEngine convenience class instead of implementing
LinkageEngine directly.
| Method Summary | |
|---|---|
LinkageResultSet |
findLinkedRecords(LinkageDataSource primaryDataSource,
LinkageDataSource secondaryDataSource)
Primary workhorse method for a linkage operation, this is where deterministic and probabilistic methods are used to match records. |
java.lang.String |
getName()
|
void |
initialize(LinkageConfiguration linkageConfiguration)
This method is called immediately after the LinkageEngine is created, before findLinkedRecords(LinkageDataSource, LinkageDataSource) is called. |
| Method Detail |
|---|
void initialize(LinkageConfiguration linkageConfiguration)
findLinkedRecords(LinkageDataSource, LinkageDataSource) is called.
linkageConfiguration - Configuration object containing the BlockingConfiguration, MatchingConfiguration, and cutoff scores necessary for a
LinkageMatch to be determined by this engine.
LinkageResultSet findLinkedRecords(LinkageDataSource primaryDataSource,
LinkageDataSource secondaryDataSource)
throws LinkageException
primaryDataSource - A source of DataSourceRecords to be linked, typically the larger data set.secondaryDataSource - A second source of DataSourceRecords to be linked, typically the smaller data set.
LinkageMatch objects, as well as any
unmatched records.
LinkageExceptionjava.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||