public interface AnalysisEngineProcessorStub
| Modifier and Type | Method and Description |
|---|---|
default void |
batchProcessComplete()
Notify the stub that all items in the batch have been processed.
|
default void |
collectionProcessComplete()
Notify the stub that all items in the collection have been processed.
|
default void |
destroy()
Called when this stub is no longer needed, so resources can be cleaned up.
|
ResourceMetaData |
getMetaData()
Performs service call to retrieve resource meta data.
|
void |
process(CAS aCAS)
Performs service call to process an entity.
|
ResourceMetaData getMetaData()
void process(CAS aCAS) throws AnalysisEngineProcessException
aCAS - the CAS to processAnalysisEngineProcessExceptiondefault void batchProcessComplete()
throws AnalysisEngineProcessException
AnalysisEngineProcessExceptiondefault void collectionProcessComplete()
throws AnalysisEngineProcessException
AnalysisEngineProcessExceptiondefault void destroy()
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.