public class AsyncOntologyAnnotator extends Object implements OntologyAnnotator, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
AsyncOntologyAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
annotate(Integer dataSetId,
List<String> documentTypes) |
List<String> |
annotateDataItem(Database db,
String documentType,
ObservableFeature feature,
String description,
org.tartarus.snowball.ext.PorterStemmer stemmer) |
ObservableFeature |
copyObject(ObservableFeature feature) |
float |
finishedPercentage() |
void |
initComplete() |
boolean |
isComplete() |
boolean |
isRunning() |
void |
removeAnnotations(Integer dataSetId) |
List<String> |
searchAllOntologies() |
void |
setSearchService(SearchService searchService) |
QueryRule[] |
toNestedQuery(List<QueryRule> rules) |
void |
updateIndex(UpdateIndexRequest request) |
@Autowired public void setSearchService(SearchService searchService)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic boolean isRunning()
isRunning in interface OntologyAnnotatorpublic boolean isComplete()
isComplete in interface OntologyAnnotatorpublic void initComplete()
initComplete in interface OntologyAnnotatorpublic void removeAnnotations(Integer dataSetId)
removeAnnotations in interface OntologyAnnotatorpublic ObservableFeature copyObject(ObservableFeature feature) throws Exception
Exceptionpublic void annotate(Integer dataSetId, List<String> documentTypes)
annotate in interface OntologyAnnotatorpublic void updateIndex(UpdateIndexRequest request)
updateIndex in interface OntologyAnnotatorpublic List<String> annotateDataItem(Database db, String documentType, ObservableFeature feature, String description, org.tartarus.snowball.ext.PorterStemmer stemmer) throws DatabaseException
DatabaseExceptionpublic float finishedPercentage()
finishedPercentage in interface OntologyAnnotatorCopyright © 2013. All Rights Reserved.