Tabnine Logo
StateTransition.setCondition
Code IndexAdd Tabnine to your IDE (free)

How to use
setCondition
method
in
org.apache.flink.cep.nfa.StateTransition

Best Java code snippets using org.apache.flink.cep.nfa.StateTransition.setCondition (Showing top 3 results out of 315)

origin: apache/flink

  private void updateWithGreedyCondition(
    State<T> state,
    IterativeCondition<T> takeCondition) {
    for (StateTransition<T> stateTransition : state.getStateTransitions()) {
      stateTransition.setCondition(
        new RichAndCondition<>(stateTransition.getCondition(), new RichNotCondition<>(takeCondition)));
    }
  }
}
origin: org.apache.flink/flink-cep

  private void updateWithGreedyCondition(
    State<T> state,
    IterativeCondition<T> takeCondition) {
    for (StateTransition<T> stateTransition : state.getStateTransitions()) {
      stateTransition.setCondition(
        new AndCondition<>(stateTransition.getCondition(), new NotCondition<>(takeCondition)));
    }
  }
}
origin: org.apache.flink/flink-cep_2.11

  private void updateWithGreedyCondition(
    State<T> state,
    IterativeCondition<T> takeCondition) {
    for (StateTransition<T> stateTransition : state.getStateTransitions()) {
      stateTransition.setCondition(
        new AndCondition<>(stateTransition.getCondition(), new NotCondition<>(takeCondition)));
    }
  }
}
org.apache.flink.cep.nfaStateTransitionsetCondition

Popular methods of StateTransition

  • getAction
  • getTargetState
  • <init>
  • getCondition
  • getSourceState

Popular in Java

  • Finding current android device location
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getResourceAsStream (ClassLoader)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top plugins for WebStorm
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