public class AsyncOntologyMatcher extends Object implements OntologyMatcher, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncOntologyMatcher.OntologyTermContainer |
| Modifier and Type | Field and Description |
|---|---|
static String |
PROTOCOL_IDENTIFIER |
static String |
STORE_MAPPING_ALGORITHM_SCRIPT |
static String |
STORE_MAPPING_CONFIRM_MAPPING |
static String |
STORE_MAPPING_FEATURE |
static String |
STORE_MAPPING_MAPPED_FEATURE |
static String |
STORE_MAPPING_SCORE |
| Constructor and Description |
|---|
AsyncOntologyMatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
boolean |
checkExistingMappings(String dataSetIdentifier,
DataService dataService) |
static String |
createMappingDataSetIdentifier(String userName,
Integer targetDataSetId,
Integer sourceDataSetId) |
void |
deleteDocumentByIds(String documentType,
List<String> documentIds) |
SearchResult |
generateMapping(String userName,
Integer featureId,
Integer targetDataSetId,
Integer sourceDataSetId)
This method is to generate a list of candidate mappings for the chosen
feature by using ElasticSearch based on the information from ontology
terms
|
boolean |
isRunning() |
void |
match(String userName,
Integer selectedDataSetId,
List<Integer> dataSetIdsToMatch,
Integer featureId) |
Integer |
matchPercentage(String currentUserName) |
void |
setSearchService(SearchService searchService) |
Map<String,String> |
updateScript(String userName,
OntologyMatcherRequest request) |
public static final String PROTOCOL_IDENTIFIER
public static final String STORE_MAPPING_FEATURE
public static final String STORE_MAPPING_MAPPED_FEATURE
public static final String STORE_MAPPING_CONFIRM_MAPPING
public static final String STORE_MAPPING_SCORE
public static final String STORE_MAPPING_ALGORITHM_SCRIPT
@Autowired public void setSearchService(SearchService searchService)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic boolean isRunning()
isRunning in interface OntologyMatcherpublic Integer matchPercentage(String currentUserName)
matchPercentage in interface OntologyMatcherpublic void deleteDocumentByIds(String documentType, List<String> documentIds)
deleteDocumentByIds in interface OntologyMatcher@Transactional public void match(String userName, Integer selectedDataSetId, List<Integer> dataSetIdsToMatch, Integer featureId)
match in interface OntologyMatcher@Transactional public SearchResult generateMapping(String userName, Integer featureId, Integer targetDataSetId, Integer sourceDataSetId)
generateMapping in interface OntologyMatcherpublic boolean checkExistingMappings(String dataSetIdentifier, DataService dataService)
checkExistingMappings in interface OntologyMatcher@Transactional public Map<String,String> updateScript(String userName, OntologyMatcherRequest request)
updateScript in interface OntologyMatcherCopyright © 2015. All Rights Reserved.