public class PersonTitleDBWriterCasConsumer
extends org.apache.uima.collection.CasConsumer_ImplBase
This CAS Consumer takes one parameters:
OutputDirectory - path to directory which is the "System" directory for the
derby DB. | Modifier and Type | Field and Description |
|---|---|
static int |
DB_LOAD_BATCH_SIZE |
static int |
MAX_TITLE_LENGTH |
static int |
MAX_URI_LENGTH |
static String |
PARAM_OUTPUTDIR
Name of configuration parameter that must be set to the path of a directory into which the
Derby Database will be written.
|
| Constructor and Description |
|---|
PersonTitleDBWriterCasConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
collectionProcessComplete(org.apache.uima.util.ProcessTrace arg0) |
void |
initialize() |
void |
processCas(org.apache.uima.cas.CAS aCAS)
Processes the CasContainer which was populated by the TextAnalysisEngines.
|
batchProcessComplete, destroy, getProcessingResourceMetaData, initialize, isReadOnly, isStateless, processCas, reconfigure, typeSystemInitgetConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValuegetCasManager, getLogger, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String PARAM_OUTPUTDIR
public static final int MAX_URI_LENGTH
public static final int MAX_TITLE_LENGTH
public static final int DB_LOAD_BATCH_SIZE
public void initialize()
throws org.apache.uima.resource.ResourceInitializationException
initialize in class org.apache.uima.collection.CasConsumer_ImplBaseorg.apache.uima.resource.ResourceInitializationExceptionpublic void processCas(org.apache.uima.cas.CAS aCAS)
throws org.apache.uima.resource.ResourceProcessException
aCAS - CasContainer which has been populated by the TAEsorg.apache.uima.resource.ResourceProcessException - if there is an error in processing the ResourceCasObjectProcessor.processCas(org.apache.uima.cas.CAS)public void collectionProcessComplete(org.apache.uima.util.ProcessTrace arg0)
throws org.apache.uima.resource.ResourceProcessException,
IOException
collectionProcessComplete in interface org.apache.uima.collection.base_cpm.CasProcessorcollectionProcessComplete in class org.apache.uima.collection.CasConsumer_ImplBaseorg.apache.uima.resource.ResourceProcessExceptionIOExceptionCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.