Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3319

Add or operator to CEP's pattern API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • None
    • Library / CEP
    • None

    Description

      Adding an or operator to CEP's pattern API would be beneficial. This would considerably extend the set of supported patterns. The or operator lets you define multiple succeeding pattern states for the next stage.

      Pattern.begin("start").next("middle1").where(...).or("middle2").where(...)
      

      In order to implement the or operator, one has to extend the Pattern class. Furthermore, the NFACompiler has to be extended to generate two resulting pattern states in case of an or operator.

      Attachments

        Issue Links

          Activity

            People

              rt2357 Robert Thorman
              trohrmann Till Rohrmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: