Class NFAState

java.lang.Object
org.apache.flink.cep.nfa.NFAState

public class NFAState extends Object
State kept for a NFA.
  • Field Details

  • Constructor Details

  • Method Details

    • isStateChanged

      public boolean isStateChanged()
      Check if the matching status of the NFA has changed so far.
      Returns:
      true if matching status has changed, false otherwise
    • resetStateChanged

      public void resetStateChanged()
      Reset the changed bit checked via isStateChanged() to false.
    • setStateChanged

      public void setStateChanged()
      Set the changed bit checked via isStateChanged() to true.
    • getPartialMatches

      public Queue<ComputationState> getPartialMatches()
    • getCompletedMatches

      public Queue<ComputationState> getCompletedMatches()
    • setNewPartialMatches

      public void setNewPartialMatches(PriorityQueue<ComputationState> newPartialMatches)
    • isNewStartPartialMatch

      public boolean isNewStartPartialMatch()
    • resetNewStartPartialMatch

      public void resetNewStartPartialMatch()
    • setNewStartPartiailMatch

      public void setNewStartPartiailMatch()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object