|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.matching.MatchEngineControllerImpl
The match engine controller provides the main entry point to the Match Engine Functional Area (MEFA) and exposes the public functionality to Standardize and Match records. The strategy and means to do so are determined by the configured pluggable components such as the standardization and match engine, the BlockPicker and PassController.
Field Summary | |
(package private) static java.lang.String |
TAG_SBR
|
Constructor Summary | |
MatchEngineControllerImpl()
Constructor to create Match Engine Controller |
Method Summary | |
java.util.ArrayList |
findMatch(java.sql.Connection con,
EOSearchCriteria crit,
EOSearchOptions opts,
MatchOptions matchOptions)
Attempt to find a matching object by calculating the probabilities an object matches. |
java.util.ArrayList |
findMatch(EOSearchCriteria crit,
EOSearchOptions opts,
MatchOptions matchOptions)
Attempt to find a matching object by calculating the probabilities an object matches. |
(package private) BlockPicker |
getBlockPicker()
Get an instance of the configured BlockPicker. |
(package private) Matcher |
getMatcher()
Get the local interface instance of the Matcher session EJB. |
java.util.ArrayList |
getMatchFieldList(SystemObject sysObj)
Access the Matcher configuration and returns a list of field names First look for it in the cache, return it if found, look it up if its not. |
(package private) PassController |
getPassController()
Get an instance of the configured PassController. |
(package private) Standardizer |
getStandardizer()
Get the local interface instance of the Standardardizer session EJB. |
QueryResults |
retrieveBlock(java.sql.Connection con,
QueryBuilder qBuilder,
EOSearchOptions options,
java.lang.String[] queryIds,
SystemObject sysObj,
SystemObject sysObj2,
SystemObject sysObj3)
Retrieves a block matching the specified SearchOptions. |
QueryResults |
retrieveBlock(QueryBuilder qBuilder,
EOSearchOptions options,
java.lang.String[] queryIds,
SystemObject sysObj,
SystemObject sysObj2,
SystemObject sysObj3)
Retrieves a block matching the specified SearchOptions. |
SystemObject |
standardize(SystemObject objToStandardize)
Standardize the SystemObject. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final java.lang.String TAG_SBR
Constructor Detail |
public MatchEngineControllerImpl() throws java.lang.Exception
QueryBuilderException
- the QueryBuilderConfiguration could not be obtained
java.lang.Exception
Method Detail |
public java.util.ArrayList findMatch(java.sql.Connection con, EOSearchCriteria crit, EOSearchOptions opts, MatchOptions matchOptions) throws MatchingException, SystemObjectException, ObjectException, java.sql.SQLException, EPathException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, UserException
findMatch
in interface MatchEngineController
con
- The database connection.crit
- the criteria to find the match for, contains the
(already standardized) SystemObject to find match for.opts
- defines what enterprise objects to match against in the databasematchOptions
- the options to control the matching and the results to return
MatchingException
- matching failed
SystemObjectException
- accessing the configured fields required for standardization
or matching on the passed in SystemObject failed
ObjectException
- accessing the configured fields required for standardization
or matching on the passed in objects failed
java.sql.SQLException
- retrieving data from the database for matching failed
EPathException
- a configured ePath is invalid
java.lang.InstantiationException
- a configured implementation class for a component
could not be instantiated
java.lang.ClassNotFoundException
- a configured implementation class for a component
could not be found
java.lang.IllegalAccessException
- a configured implementation class for a component
refused access
UserException
public java.util.ArrayList findMatch(EOSearchCriteria crit, EOSearchOptions opts, MatchOptions matchOptions) throws MatchingException, SystemObjectException, ObjectException, java.sql.SQLException, EPathException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, UserException
findMatch
in interface MatchEngineController
crit
- the criteria to find the match for, contains the
(already standardized) SystemObject to find match for.opts
- defines what enterprise objects to match against in the databasematchOptions
- the options to control the matching and the results to return
MatchingException
- matching failed
SystemObjectException
- accessing the configured fields required for standardization
or matching on the passed in SystemObject failed
ObjectException
- accessing the configured fields required for standardization
or matching on the passed in objects failed
java.sql.SQLException
- retrieving data from the database for matching failed
EPathException
- a configured ePath is invalid
java.lang.InstantiationException
- a configured implementation class for a component
could not be instantiated
java.lang.ClassNotFoundException
- a configured implementation class for a component
could not be found
java.lang.IllegalAccessException
- a configured implementation class for a component
refused access
UserException
BlockPicker getBlockPicker() throws java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException
java.lang.InstantiationException
- the configured implementation class for a component
could not be instantiated
java.lang.InstantiationException
- the configured implementation class for a component
could not be found
java.lang.IllegalAccessException
- the configured implementation class for a component
refused access
java.lang.ClassNotFoundException
Matcher getMatcher()
public java.util.ArrayList getMatchFieldList(SystemObject sysObj) throws EPathException, ConfigurationException, java.lang.InstantiationException
sysObj
- a SystemObject defining the type of the object to find the match fields for
EPathException
- converting the ePaths to field names failed
ConfigurationException
- the configuration could not be retrieved
java.lang.InstantiationException
- a configured implementation class could not be instantiatedPassController getPassController() throws java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException
java.lang.InstantiationException
- the configured implementation class for a component
could not be instantiated
java.lang.InstantiationException
- the configured implementation class for a component
could not be found
java.lang.IllegalAccessException
- the configured implementation class for a component
refused access
java.lang.ClassNotFoundException
Standardizer getStandardizer()
public QueryResults retrieveBlock(java.sql.Connection con, QueryBuilder qBuilder, EOSearchOptions options, java.lang.String[] queryIds, SystemObject sysObj, SystemObject sysObj2, SystemObject sysObj3) throws QMException, SystemObjectException, ObjectException, MatchingException
con
- the database connectionsysObj
- The systemObject to retrive the block for
BlockerException
- a blocker operation failed
java.sql.SQLException
- retrieving the block from the database failed
SystemObjectException
- an operation on the SystemObject failed
EPathException
- using the configured ePaths for matching failed
ObjectException
- an operation on an ObjectNode failed
QMException
MatchingException
public QueryResults retrieveBlock(QueryBuilder qBuilder, EOSearchOptions options, java.lang.String[] queryIds, SystemObject sysObj, SystemObject sysObj2, SystemObject sysObj3) throws QMException, SystemObjectException, ObjectException, MatchingException
sysObj
- The systemObject to retrive the block for
BlockerException
- a blocker operation failed
java.sql.SQLException
- retrieving the block from the database failed
SystemObjectException
- an operation on the SystemObject failed
EPathException
- using the configured ePaths for matching failed
ObjectException
- an operation on an ObjectNode failed
QMException
MatchingException
public SystemObject standardize(SystemObject objToStandardize) throws StandardizationException, ObjectException, java.lang.InstantiationException
standardize
in interface MatchEngineController
objToStandardize
- the Object to standardize.
If calling this through the local interface, Warning: this method may modify
the passed in objToStandardized.
StandardizationException
- the SystemObject could not be standardized
ObjectException
- the configured fields to be standardized could not be
retrieved from the SystemObject
java.lang.InstantiationException
- the standardizer implementation could not be
created
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.