public class RegexNFAStateOneToMany extends RegexNFAStateBase implements RegexNFAState
Constructor and Description |
---|
RegexNFAStateOneToMany(java.lang.String nodeNum,
java.lang.String variableName,
int streamNum,
boolean multiple,
boolean isGreedy,
ExprNode exprNode,
boolean exprRequiresMultimatchState)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isExprRequiresMultimatchState()
Whether or not the match-expression requires multimatch state
|
boolean |
matches(EventBean[] eventsPerStream,
ExprEvaluatorContext exprEvaluatorContext)
Evaluate a match.
|
java.lang.String |
toString() |
addState, getNextStates, getNodeNumFlat, getNodeNumNested, getStreamNum, getVariableName, isGreedy, isMultiple, setNodeNumFlat
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNextStates, getNodeNumFlat, getNodeNumNested, getStreamNum, getVariableName, isGreedy, isMultiple
public RegexNFAStateOneToMany(java.lang.String nodeNum, java.lang.String variableName, int streamNum, boolean multiple, boolean isGreedy, ExprNode exprNode, boolean exprRequiresMultimatchState)
nodeNum
- node numvariableName
- variable namestreamNum
- stream numbermultiple
- true for multiple matchesisGreedy
- true for greedyexprNode
- filter expressionpublic boolean matches(EventBean[] eventsPerStream, ExprEvaluatorContext exprEvaluatorContext)
RegexNFAState
matches
in interface RegexNFAState
eventsPerStream
- variabele valuesexprEvaluatorContext
- expression evaluation contextpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean isExprRequiresMultimatchState()
RegexNFAState
isExprRequiresMultimatchState
in interface RegexNFAState