Package org.apache.flink.cep.nfa
Class NFAState
java.lang.Object
org.apache.flink.cep.nfa.NFAState
State kept for a
NFA.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNFAState(Iterable<ComputationState> states) NFAState(Queue<ComputationState> partialMatches, Queue<ComputationState> completedMatches) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanbooleanCheck if the matching status of the NFA has changed so far.voidvoidReset the changed bit checked viaisStateChanged()tofalse.voidsetNewPartialMatches(PriorityQueue<ComputationState> newPartialMatches) voidvoidSet the changed bit checked viaisStateChanged()totrue.toString()
-
Field Details
-
COMPUTATION_STATE_COMPARATOR
-
-
Constructor Details
-
NFAState
-
NFAState
-
-
Method Details
-
isStateChanged
public boolean isStateChanged()Check if the matching status of the NFA has changed so far.- Returns:
trueif matching status has changed,falseotherwise
-
resetStateChanged
public void resetStateChanged()Reset the changed bit checked viaisStateChanged()tofalse. -
setStateChanged
public void setStateChanged()Set the changed bit checked viaisStateChanged()totrue. -
getPartialMatches
-
getCompletedMatches
-
setNewPartialMatches
-
isNewStartPartialMatch
public boolean isNewStartPartialMatch() -
resetNewStartPartialMatch
public void resetNewStartPartialMatch() -
setNewStartPartiailMatch
public void setNewStartPartiailMatch() -
equals
-
hashCode
public int hashCode() -
toString
-