Interface RowRecogNFAState
- All Known Implementing Classes:
RowRecogNFAStateAnyOneEval
,RowRecogNFAStateBase
,RowRecogNFAStateEndEval
,RowRecogNFAStateFilterEval
,RowRecogNFAStateOneOptionalEvalCond
,RowRecogNFAStateOneOptionalEvalNoCond
,RowRecogNFAStateOneToManyEvalCond
,RowRecogNFAStateOneToManyEvalNoCond
,RowRecogNFAStateZeroToManyEvalCond
,RowRecogNFAStateZeroToManyEvalNoCond
public interface RowRecogNFAState
Match-recognize NFA states provides this information.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the next states.int
Returns the absolute node num.Returns the nested node number.int
Returns stream number.Returns the variable name.boolean
Whether or not the match-expression requires multimatch stateisGreedy()
Returns greedy indicator.boolean
For multiple-quantifiers.boolean
matches
(EventBean[] eventsPerStream, AgentInstanceContext agentInstanceContext) Evaluate a match.
-
Method Details
-
isMultiple
boolean isMultiple()For multiple-quantifiers.- Returns:
- indicator
-
getNodeNumNested
String getNodeNumNested()Returns the nested node number.- Returns:
- num
-
getNodeNumFlat
int getNodeNumFlat()Returns the absolute node num.- Returns:
- num
-
getVariableName
String getVariableName()Returns the variable name.- Returns:
- name
-
getStreamNum
int getStreamNum()Returns stream number.- Returns:
- stream num
-
isGreedy
Boolean isGreedy()Returns greedy indicator.- Returns:
- greedy indicator
-
matches
Evaluate a match.- Parameters:
eventsPerStream
- variable valuesagentInstanceContext
- expression evaluation context- Returns:
- match indicator
-
getNextStates
RowRecogNFAState[] getNextStates()Returns the next states.- Returns:
- states
-
isExprRequiresMultimatchState
boolean isExprRequiresMultimatchState()Whether or not the match-expression requires multimatch state- Returns:
- indicator
-