public interface CasConsumer extends ConfigurableResource, CasObjectProcessor
CAS Consumers may be registered with a CollectionProcessingManager
(CPM). During
collection processing, the CPM will pass each CAS from its Analysis Engine to each CAS consumer's
process method. The CAS consumer can extract information from the CAS and do anything it wants
with that information; commonly CAS consumers will build aggregate data structures such as search
engine indexes or glossaries.
CasConsumer
s are also UIMA ConfigurableResource
s, and can be
instantiated from descriptors. See
XMLParser.parseCasConsumerDescription(XMLInputSource)
and
UIMAFramework.produceCasConsumer(ResourceSpecifier,Map)
for more
information.
PARAM_AGGREGATE_SOFA_MAPPINGS, PARAM_CONFIG_MANAGER, PARAM_CONFIG_PARAM_SETTINGS, PARAM_EXTERNAL_OVERRIDE_SETTINGS, PARAM_PERFORMANCE_TUNING_SETTINGS, PARAM_RESOURCE_MANAGER, PARAM_UIMA_CONTEXT
Modifier and Type | Method and Description |
---|---|
boolean |
isReadOnly()
Must return true.
|
getConfigParameterValue, getConfigParameterValue, reconfigure, setConfigParameterValue, setConfigParameterValue
destroy, getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, initialize, setLogger
processCas, processCas, typeSystemInit
batchProcessComplete, collectionProcessComplete, getProcessingResourceMetaData, isStateless
boolean isReadOnly()
isReadOnly
in interface CasProcessor
CasProcessor.isReadOnly()
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.