public interface OperationalProperties
Modifier and Type | Method and Description |
---|---|
boolean |
getModifiesCas()
Gets whether this component will modify the CAS.
|
boolean |
getOutputsNewCASes()
Gets whether this AnalysisEngine may output new CASes.
|
boolean |
isMultipleDeploymentAllowed()
Gets whether multiple instances of this component can be run in parallel, each receiving a
subset of the documents from a collection.
|
void |
setModifiesCas(boolean aModifiesCas)
Sets whether this component will modify the CAS.
|
void |
setMultipleDeploymentAllowed(boolean aMultipleDeploymentAllowed)
Sets whether multiple instances of this component can be run in parallel, each receiving a
subset of the documents from a collection.
|
void |
setOutputsNewCASes(boolean aOutputsNewCASes)
Sets whether this AnalysisEngine may output new CASes.
|
boolean getModifiesCas()
void setModifiesCas(boolean aModifiesCas)
aModifiesCas
- true if this component modifies the CAS, false if it does not.boolean isMultipleDeploymentAllowed()
void setMultipleDeploymentAllowed(boolean aMultipleDeploymentAllowed)
aMultipleDeploymentAllowed
- true if multiple instances can be run in parallel, false if notboolean getOutputsNewCASes()
AnalysisEngine.processAndOutputNewCASes(CAS)
to pass a CAS to
this this AnalysisEngine and then step through all of the output CASes that it produces. For
example, such an AnalysisEngine could segment a CAS into smaller pieces, emitting each as a
separate CAS.void setOutputsNewCASes(boolean aOutputsNewCASes)
AnalysisEngine.processAndOutputNewCASes(CAS)
to pass a CAS to
this this AnalysisEngine and then step through all of the output CASes that it produces. For
example, such an AnalysisEngine could segment a CAS into smaller pieces, emitting each as a
separate CAS.aOutputsNewCASes
- true if this component may output new CASes, false if it does notCopyright © 2006–2017 The Apache Software Foundation. All rights reserved.