public class PersonTitleDBWriterCasConsumer extends 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 java.lang.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.
|
PARAM_AGGREGATE_SOFA_MAPPINGS, PARAM_CONFIG_MANAGER, PARAM_CONFIG_PARAM_SETTINGS, PARAM_PERFORMANCE_TUNING_SETTINGS, PARAM_RESOURCE_MANAGER, PARAM_UIMA_CONTEXT| Constructor and Description |
|---|
PersonTitleDBWriterCasConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
collectionProcessComplete(ProcessTrace arg0)
Completes the processing of an entire collection.
|
void |
initialize()
This method is called during initialization, and does nothing by default.
|
void |
processCas(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, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValuegetLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLoggerpublic static final java.lang.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 ResourceInitializationException
CasConsumer_ImplBaseinitialize in class CasConsumer_ImplBaseResourceInitializationException - if a failure occurs during initialization.public void processCas(CAS aCAS) throws ResourceProcessException
aCAS - CasContainer which has been populated by the TAEsResourceProcessException - if there is an error in processing the ResourceCasObjectProcessor.processCas(org.apache.uima.cas.CAS)public void collectionProcessComplete(ProcessTrace arg0) throws ResourceProcessException, java.io.IOException
CasProcessorcollectionProcessComplete in interface CasProcessorcollectionProcessComplete in class CasConsumer_ImplBasearg0 - an object that records information, such as timing, about this method's execution.ResourceProcessException - if an exception occurs during processingjava.io.IOException - if an I/O failure occursCasProcessor.collectionProcessComplete(org.apache.uima.util.ProcessTrace)Copyright © 2013. All Rights Reserved.