|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface a match engine adapter has to implement to enable communication between the framework and the specific match engine.
Method Summary | |
java.util.ArrayList |
findWeights(SystemObject base,
QueryResults block,
MatchOptions matchOptions)
Find all the match weights comparing the bases systemobject to the 'block' records retrieved from the DB |
void |
initialize(MatchEngineConfiguration config)
Initialize the match engine and the adapter called once upon startup for each adapter instance |
void |
shutdown()
Shutdown and release any resources associated with the match engine and the adapter Called once per adapter instance before the adapter is discarded by the framework |
Method Detail |
public java.util.ArrayList findWeights(SystemObject base, QueryResults block, MatchOptions matchOptions) throws MatchingException
base
- the system object to match againstblock
- the block of DB records to compare withmatchOptions
- controls any matcher options such as minimum score
MatchingException
- if the Matching failedpublic void initialize(MatchEngineConfiguration config) throws MatchingException
config
- the match engine configuration configured
MatchingException
- if the initialization failedpublic void shutdown() throws MatchingException
MatchingException
- if the shutdown failed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.