com.espertech.esper.rowregex
Class RegexNFAStateFilter
java.lang.Object
com.espertech.esper.rowregex.RegexNFAStateBase
com.espertech.esper.rowregex.RegexNFAStateFilter
- All Implemented Interfaces:
- RegexNFAState
public class RegexNFAStateFilter
- extends RegexNFAStateBase
- implements RegexNFAState
NFA state for a single match that applies a filter.
Constructor Summary |
RegexNFAStateFilter(java.lang.String nodeNum,
java.lang.String variableName,
int streamNum,
boolean multiple,
ExprNode exprNode)
Ctor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RegexNFAStateFilter
public RegexNFAStateFilter(java.lang.String nodeNum,
java.lang.String variableName,
int streamNum,
boolean multiple,
ExprNode exprNode)
- Ctor.
- Parameters:
nodeNum
- node numvariableName
- variable namestreamNum
- stream numbermultiple
- true for multiple matchesexprNode
- filter expression
matches
public boolean matches(EventBean[] eventsPerStream,
ExprEvaluatorContext exprEvaluatorContext)
- Description copied from interface:
RegexNFAState
- Evaluate a match.
- Specified by:
matches
in interface RegexNFAState
- Parameters:
eventsPerStream
- variabele valuesexprEvaluatorContext
- expression evaluation context
- Returns:
- match indicator
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object