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

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

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

origin: org.apache.flink/flink-cep_2.10

if (computationState.getPreviousState() == null) {
  return new HashMap<>();
        computationState.getPreviousState().getName()),
    computationState.getEvent(),
    computationState.getTimestamp(),
origin: org.apache.flink/flink-cep_2.10

  NFAStateNameHandler.getOriginalNameFromInternal(computationState.getPreviousState().getName()),
  computationState.getEvent(),
  computationState.getTimestamp(),
        newComputationState.getPreviousState().getName()),
    newComputationState.getEvent(),
    newComputationState.getTimestamp(),
eventSharedBuffer.release(
    NFAStateNameHandler.getOriginalNameFromInternal(
        newComputationState.getPreviousState().getName()),
    newComputationState.getEvent(),
    newComputationState.getTimestamp(),
eventSharedBuffer.release(
    NFAStateNameHandler.getOriginalNameFromInternal(
        state.getPreviousState().getName()),
    state.getEvent(),
    state.getTimestamp(),
origin: org.apache.flink/flink-cep_2.10

@Override
public void serialize(NFA<T> record, DataOutputView target) throws IOException {
  serializeStates(record.states, target);
  target.writeLong(record.windowTime);
  target.writeBoolean(record.handleTimeout);
  sharedBufferSerializer.serialize(record.eventSharedBuffer, target);
  target.writeInt(record.computationStates.size());
  StringSerializer stateNameSerializer = StringSerializer.INSTANCE;
  LongSerializer timestampSerializer = LongSerializer.INSTANCE;
  DeweyNumber.DeweyNumberSerializer versionSerializer = new DeweyNumber.DeweyNumberSerializer();
  for (ComputationState<T> computationState: record.computationStates) {
    stateNameSerializer.serialize(computationState.getState().getName(), target);
    stateNameSerializer.serialize(computationState.getPreviousState() == null
        ? null : computationState.getPreviousState().getName(), target);
    timestampSerializer.serialize(computationState.getTimestamp(), target);
    versionSerializer.serialize(computationState.getVersion(), target);
    timestampSerializer.serialize(computationState.getStartTimestamp(), target);
    target.writeInt(computationState.getCounter());
    if (computationState.getEvent() == null) {
      target.writeBoolean(false);
    } else {
      target.writeBoolean(true);
      eventSerializer.serialize(computationState.getEvent(), target);
    }
  }
}
origin: org.apache.flink/flink-cep_2.10

      resultingComputationStates,
      edge.getTargetState(),
      computationState.getPreviousState(),
      computationState.getEvent(),
      computationState.getCounter(),
final State<T> nextState = edge.getTargetState();
final State<T> currentState = edge.getSourceState();
final State<T> previousState = computationState.getPreviousState();
    computationState.getPreviousState().getName()),
computationState.getEvent(),
computationState.getTimestamp(),
org.apache.flink.cep.nfaComputationStategetPreviousState

Popular methods of ComputationState

  • <init>
  • createStartState
  • createState
  • getCurrentStateName
  • getStartTimestamp
  • getVersion
  • equals
  • getPreviousBufferEntry
  • getStartEventID
  • getConditionContext
  • getCounter
  • getEvent
  • getCounter,
  • getEvent,
  • 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 Vim 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