Package org.apache.flink.cep.nfa
Class ComputationState
java.lang.Object
org.apache.flink.cep.nfa.ComputationState
Helper class which encapsulates the currentStateName of the NFA computation. It points to the
current currentStateName, the previous entry of the pattern, the current version and the starting
timestamp of the overall pattern.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComputationStatecreateStartState(String state) static ComputationStatecreateStartState(String state, DeweyNumber version) static ComputationStatecreateState(String currentState, NodeId previousEntry, DeweyNumber version, long startTimestamp, long previousTimestamp, EventId startEventID) booleanlonglonginthashCode()toString()
-
Method Details
-
getStartEventID
-
getPreviousBufferEntry
-
getStartTimestamp
public long getStartTimestamp() -
getPreviousTimestamp
public long getPreviousTimestamp() -
getCurrentStateName
-
getVersion
-
equals
-
toString
-
hashCode
public int hashCode() -
createStartState
-
createStartState
-