com.espertech.esper.rowregex
Class RegexNFAStateOneToMany
java.lang.Object
com.espertech.esper.rowregex.RegexNFAStateBase
com.espertech.esper.rowregex.RegexNFAStateOneToMany
- All Implemented Interfaces:
- RegexNFAState
public class RegexNFAStateOneToMany
- extends RegexNFAStateBase
- implements RegexNFAState
The '+' state in the regex NFA states.
Constructor Summary |
RegexNFAStateOneToMany(java.lang.String nodeNum,
java.lang.String variableName,
int streamNum,
boolean multiple,
boolean isGreedy,
ExprNode exprNode)
Ctor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RegexNFAStateOneToMany
public RegexNFAStateOneToMany(java.lang.String nodeNum,
java.lang.String variableName,
int streamNum,
boolean multiple,
boolean isGreedy,
ExprNode exprNode)
- Ctor.
- Parameters:
nodeNum
- node numvariableName
- variable namestreamNum
- stream numbermultiple
- true for multiple matchesisGreedy
- true for greedyexprNode
- 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