public interface CasDataProcessor extends CasProcessor
CasData
. This works
best for simple processors that do not need the indexing or strong typing features provided by
the CAS container.Modifier and Type | Method and Description |
---|---|
CasData |
process(CasData aCAS)
Process a single CasData.
|
CasData[] |
process(CasData[] aCASes)
Process multiple CasData objects.
|
batchProcessComplete, collectionProcessComplete, getProcessingResourceMetaData, isReadOnly, isStateless
CasData process(CasData aCAS) throws ResourceProcessException
aCAS
- the input CasDataread-only
, this
will always be equivalent to aCAS
.ResourceProcessException
- if processing failsCasData[] process(CasData[] aCASes) throws ResourceProcessException
aCASes
- the input CasData objectsread-only
,
these will always be equivalent to aCASes
.ResourceProcessException
- if processing failsCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.