Tabnine Logo
ComputationState.getCurrentStateName
Code IndexAdd Tabnine to your IDE (free)

How to use
getCurrentStateName
method
in
org.apache.flink.cep.nfa.ComputationState

Best Java code snippets using org.apache.flink.cep.nfa.ComputationState.getCurrentStateName (Showing top 20 results out of 315)

origin: apache/flink

private State<T> getState(ComputationState state) {
  return states.get(state.getCurrentStateName());
}
origin: apache/flink

private boolean isStopState(ComputationState state) {
  State<T> stateObject = getState(state);
  if (stateObject == null) {
    throw new FlinkRuntimeException("State " + state.getCurrentStateName() + " does not exist in the NFA. NFA has states "
      + states.values());
  }
  return stateObject.isStop();
}
origin: apache/flink

private boolean isStartState(ComputationState state) {
  State<T> stateObject = getState(state);
  if (stateObject == null) {
    throw new FlinkRuntimeException("State " + state.getCurrentStateName() + " does not exist in the NFA. NFA has states "
      + states.values());
  }
  return stateObject.isStart();
}
origin: apache/flink

private boolean isFinalState(ComputationState state) {
  State<T> stateObject = getState(state);
  if (stateObject == null) {
    throw new FlinkRuntimeException("State " + state.getCurrentStateName() + " does not exist in the NFA. NFA has states "
      + states.values());
  }
  return stateObject.isFinal();
}
origin: apache/flink

private void serializeSingleComputationState(
    ComputationState computationState,
    DataOutputView target) throws IOException {
  StringValue.writeString(computationState.getCurrentStateName(), target);
  nodeIdSerializer.serialize(computationState.getPreviousBufferEntry(), target);
  versionSerializer.serialize(computationState.getVersion(), target);
  target.writeLong(computationState.getStartTimestamp());
  serializeStartEvent(computationState.getStartEventID(), target);
}
origin: apache/flink

assertEquals("start", nfaState.getPartialMatches().peek().getCurrentStateName());
origin: apache/flink

));
assertEquals(1, nfaState.getPartialMatches().size());
assertEquals("a", nfaState.getPartialMatches().peek().getCurrentStateName());
origin: apache/flink

assertEquals("start", nfaState.getPartialMatches().peek().getCurrentStateName());
origin: apache/flink

assertEquals("start", nfaState.getPartialMatches().peek().getCurrentStateName());
origin: apache/flink

));
assertEquals(1, nfaState.getPartialMatches().size());
assertEquals("start", nfaState.getPartialMatches().peek().getCurrentStateName());
origin: apache/flink

assertEquals("start", nfaState.getPartialMatches().peek().getCurrentStateName());
origin: apache/flink

));
assertEquals(1, nfaState.getPartialMatches().size());
assertEquals("start", nfaState.getPartialMatches().peek().getCurrentStateName());
origin: apache/flink

));
assertEquals(1, nfaState.getPartialMatches().size());
assertEquals("start", nfaState.getPartialMatches().peek().getCurrentStateName());
origin: apache/flink

));
assertEquals(1, nfaState.getPartialMatches().size());
assertEquals("start", nfaState.getPartialMatches().peek().getCurrentStateName());
origin: apache/flink

));
assertEquals(1, nfaState.getPartialMatches().size());
assertEquals("start", nfaState.getPartialMatches().peek().getCurrentStateName());
origin: apache/flink

));
assertEquals(1, nfaState.getPartialMatches().size());
assertEquals("start", nfaState.getPartialMatches().peek().getCurrentStateName());
origin: apache/flink

assertEquals("start", nfaState.getPartialMatches().peek().getCurrentStateName());
origin: apache/flink

assertEquals("start", nfaState.getPartialMatches().peek().getCurrentStateName());
origin: apache/flink

assertEquals("start", nfaState.getPartialMatches().peek().getCurrentStateName());
origin: apache/flink

assertEquals("start", nfaState.getPartialMatches().peek().getCurrentStateName());
org.apache.flink.cep.nfaComputationStategetCurrentStateName

Popular methods of ComputationState

  • <init>
  • createStartState
  • createState
  • getStartTimestamp
  • getVersion
  • equals
  • getPreviousBufferEntry
  • getStartEventID
  • getConditionContext
  • getCounter
  • getEvent
  • getPreviousState
  • getEvent,
  • getPreviousState,
  • getState,
  • getTimestamp,
  • isFinalState,
  • isStartState,
  • isStopState

Popular in Java

  • Reading from database using SQL prepared statement
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now