Class RowRecogNFAStateForgeBase
java.lang.Object
com.espertech.esper.common.internal.epl.rowrecog.nfa.RowRecogNFAStateForgeBase
- All Implemented Interfaces:
RowRecogNFAStateForge
- Direct Known Subclasses:
RowRecogNFAStateAnyOneForge
,RowRecogNFAStateEndForge
,RowRecogNFAStateFilterForge
,RowRecogNFAStateOneOptionalForge
,RowRecogNFAStateOneToManyForge
,RowRecogNFAStateZeroToManyForge
Base for states.
-
Constructor Summary
ConstructorDescriptionRowRecogNFAStateForgeBase
(String nodeNum, String variableName, int streamNum, boolean multiple, Boolean isGreedy, boolean exprRequiresMultimatchState) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a next state.protected abstract void
assignInline
(CodegenExpression eval, CodegenMethod method, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) protected abstract EPTypeClass
Returns 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
final CodegenExpression
make
(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) void
setNodeNumFlat
(int nodeNumFlat) Assign a node number.
-
Constructor Details
-
RowRecogNFAStateForgeBase
-
-
Method Details
-
getEvalClass
-
assignInline
protected abstract void assignInline(CodegenExpression eval, CodegenMethod method, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) -
make
public final CodegenExpression make(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) - Specified by:
make
in interfaceRowRecogNFAStateForge
-
getNodeNumFlat
public int getNodeNumFlat()Description copied from interface:RowRecogNFAStateForge
Returns the absolute node num.- Specified by:
getNodeNumFlat
in interfaceRowRecogNFAStateForge
- Returns:
- num
-
setNodeNumFlat
public void setNodeNumFlat(int nodeNumFlat) Assign a node number.- Parameters:
nodeNumFlat
- flat number
-
getNodeNumNested
Description copied from interface:RowRecogNFAStateForge
Returns the nested node number.- Specified by:
getNodeNumNested
in interfaceRowRecogNFAStateForge
- Returns:
- num
-
getNextStates
Description copied from interface:RowRecogNFAStateForge
Returns the next states.- Specified by:
getNextStates
in interfaceRowRecogNFAStateForge
- Returns:
- states
-
addState
Add a next state.- Parameters:
next
- state to add
-
isMultiple
public boolean isMultiple() -
getVariableName
Description copied from interface:RowRecogNFAStateForge
Returns the variable name.- Specified by:
getVariableName
in interfaceRowRecogNFAStateForge
- Returns:
- name
-
getStreamNum
public int getStreamNum()Description copied from interface:RowRecogNFAStateForge
Returns stream number.- Specified by:
getStreamNum
in interfaceRowRecogNFAStateForge
- Returns:
- stream num
-
isGreedy
Description copied from interface:RowRecogNFAStateForge
Returns greedy indicator.- Specified by:
isGreedy
in interfaceRowRecogNFAStateForge
- Returns:
- greedy indicator
-
isExprRequiresMultimatchState
public boolean isExprRequiresMultimatchState()Description copied from interface:RowRecogNFAStateForge
Whether or not the match-expression requires multimatch state- Specified by:
isExprRequiresMultimatchState
in interfaceRowRecogNFAStateForge
- Returns:
- indicator
-