org.apache.uima.collection.metadata
Interface CasProcessorFilter

All Superinterfaces:
java.lang.Cloneable, MetaDataObject, java.io.Serializable, XMLizable

public interface CasProcessorFilter
extends MetaDataObject

Object containing a filter expression used by the CPE to route CAS's to CasProcessor. A CasProcessor can be configured in the CPE Descriptor to use filtering using an SQL-like WHERE clause: where featurespec [ and featurespec2 ...]. The featurespec can be one of these four forms and meanings:

The featurespecs are implicitly connected with and operators and precedence rules are currently not supported.


Method Summary
 java.lang.String getFilterString()
          Returns a filter expression as String
 void setFilterString(java.lang.String aFilterString)
          Sets filter expression
 
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
 
Methods inherited from interface org.apache.uima.util.XMLizable
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
 

Method Detail

setFilterString

void setFilterString(java.lang.String aFilterString)
Sets filter expression

Parameters:
aFilterString - - expression

getFilterString

java.lang.String getFilterString()
Returns a filter expression as String

Returns:
- filter expression


Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.