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<OntologyTerm> |
annotateDataItem(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) |
String |
uploadFeatures(File uploadFile,
String datasetName) |
@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 OntologyAnnotator@Transactional public String uploadFeatures(File uploadFile, String datasetName) throws IOException
uploadFeatures in interface OntologyAnnotatorIOException@Transactional public void removeAnnotations(Integer dataSetId)
removeAnnotations in interface OntologyAnnotatorpublic ObservableFeature copyObject(ObservableFeature feature)
@Transactional public void annotate(Integer dataSetId, List<String> documentTypes)
annotate in interface OntologyAnnotatorpublic void updateIndex(UpdateIndexRequest request)
updateIndex in interface OntologyAnnotatorpublic List<OntologyTerm> annotateDataItem(String documentType, ObservableFeature feature, String description, org.tartarus.snowball.ext.PorterStemmer stemmer)
public float finishedPercentage()
finishedPercentage in interface OntologyAnnotatorCopyright © 2015. All Rights Reserved.