Tabnine Logo
NFACompiler$NFAFactoryCompiler.createStopState
Code IndexAdd Tabnine to your IDE (free)

How to use
createStopState
method
in
org.apache.flink.cep.nfa.compiler.NFACompiler$NFAFactoryCompiler

Best Java code snippets using org.apache.flink.cep.nfa.compiler.NFACompiler$NFAFactoryCompiler.createStopState (Showing top 12 results out of 315)

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

final State<T> stopState = createStopState(notCondition, currentPattern.getName());
origin: org.apache.flink/flink-cep_2.11

final State<T> notNext = createState(currentPattern.getName(), State.StateType.Normal);
final IterativeCondition<T> notCondition = getTakeCondition(currentPattern);
final State<T> stopState = createStopState(notCondition, currentPattern.getName());
origin: org.apache.flink/flink-cep

final State<T> notNext = createState(currentPattern.getName(), State.StateType.Normal);
final IterativeCondition<T> notCondition = getTakeCondition(currentPattern);
final State<T> stopState = createStopState(notCondition, currentPattern.getName());
origin: org.apache.flink/flink-cep

private void addStopStates(final State<T> state) {
  for (Tuple2<IterativeCondition<T>, String> notCondition: getCurrentNotCondition()) {
    final State<T> stopState = createStopState(notCondition.f0, notCondition.f1);
    state.addProceed(stopState, notCondition.f0);
  }
}
origin: org.apache.flink/flink-cep_2.10

private void addStopStates(final State<T> state) {
  for (Tuple2<IterativeCondition<T>, String> notCondition: getCurrentNotCondition()) {
    final State<T> stopState = createStopState(notCondition.f0, notCondition.f1);
    state.addProceed(stopState, notCondition.f0);
  }
}
origin: org.apache.flink/flink-cep_2.11

private void addStopStateToLooping(final State<T> loopingState) {
  if (followingPattern != null &&
      followingPattern.getQuantifier().getConsumingStrategy() == Quantifier.ConsumingStrategy.NOT_FOLLOW) {
    final IterativeCondition<T> notCondition = getTakeCondition(followingPattern);
    final State<T> stopState = createStopState(notCondition, followingPattern.getName());
    loopingState.addProceed(stopState, notCondition);
  }
}
origin: org.apache.flink/flink-cep_2.10

private void addStopStateToLooping(final State<T> loopingState) {
  if (followingPattern != null &&
      followingPattern.getQuantifier().getConsumingStrategy() == Quantifier.ConsumingStrategy.NOT_FOLLOW) {
    final IterativeCondition<T> notCondition = (IterativeCondition<T>) followingPattern.getCondition();
    final State<T> stopState = createStopState(notCondition, followingPattern.getName());
    loopingState.addProceed(stopState, notCondition);
  }
}
origin: org.apache.flink/flink-cep

private void addStopStateToLooping(final State<T> loopingState) {
  if (followingPattern != null &&
      followingPattern.getQuantifier().getConsumingStrategy() == Quantifier.ConsumingStrategy.NOT_FOLLOW) {
    final IterativeCondition<T> notCondition = getTakeCondition(followingPattern);
    final State<T> stopState = createStopState(notCondition, followingPattern.getName());
    loopingState.addProceed(stopState, notCondition);
  }
}
origin: org.apache.flink/flink-cep_2.11

private void addStopStates(final State<T> state) {
  for (Tuple2<IterativeCondition<T>, String> notCondition: getCurrentNotCondition()) {
    final State<T> stopState = createStopState(notCondition.f0, notCondition.f1);
    state.addProceed(stopState, notCondition.f0);
  }
}
origin: apache/flink

final State<T> notNext = createState(currentPattern.getName(), State.StateType.Normal);
final IterativeCondition<T> notCondition = getTakeCondition(currentPattern);
final State<T> stopState = createStopState(notCondition, currentPattern.getName());
origin: apache/flink

private void addStopStateToLooping(final State<T> loopingState) {
  if (followingPattern != null &&
      followingPattern.getQuantifier().getConsumingStrategy() == Quantifier.ConsumingStrategy.NOT_FOLLOW) {
    final IterativeCondition<T> notCondition = getTakeCondition(followingPattern);
    final State<T> stopState = createStopState(notCondition, followingPattern.getName());
    loopingState.addProceed(stopState, notCondition);
  }
}
origin: apache/flink

private void addStopStates(final State<T> state) {
  for (Tuple2<IterativeCondition<T>, String> notCondition: getCurrentNotCondition()) {
    final State<T> stopState = createStopState(notCondition.f0, notCondition.f1);
    state.addProceed(stopState, notCondition.f0);
  }
}
org.apache.flink.cep.nfa.compilerNFACompiler$NFAFactoryCompilercreateStopState

Popular methods of NFACompiler$NFAFactoryCompiler

  • <init>
  • compileFactory
    Compiles the given pattern into a NFAFactory. The NFA factory can be used to create multiple NFAs.
  • getStates
  • addStopStateToLooping
  • addStopStates
  • convertPattern
  • copyWithoutTransitiveNots
    This method creates an alternative state that is target for TAKE transition from an optional State.
  • createEndingState
    Creates the dummy Final State of the NFA graph.
  • createLooping
    Creates the given state as a looping one. Looping state is one with TAKE edge to itself and PROCEED
  • createMiddleStates
    Creates all the states between Start and Final state.
  • createSingletonState
    Creates a simple single state. For an OPTIONAL state it also consists of a similar state without the
  • createStartState
    Creates the Start State of the resulting NFA graph.
  • createSingletonState,
  • createStartState,
  • createState,
  • createTimesState,
  • getCurrentNotCondition,
  • getIgnoreCondition,
  • getInnerIgnoreCondition,
  • getWindowTime,
  • checkPatternNameUniqueness

Popular in Java

  • Parsing JSON documents to java classes using gson
  • requestLocationUpdates (LocationManager)
  • findViewById (Activity)
  • getExternalFilesDir (Context)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • 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