[
https://issues.apache.org/jira/browse/FLINK-3319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15346584#comment-15346584
]
ASF GitHub Bot commented on FLINK-3319:
---------------------------------------
GitHub user thormanrd opened a pull request:
https://github.com/apache/flink/pull/2155
[FLINK-3319] Added Or function for where clause in CEP Pattern
Thanks for contributing to Apache Flink. Before you open your pull request,
please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your
pull request. For more information and/or questions please refer to the [How To
Contribute guide](http://flink.apache.org/how-to-contribute.html).
In addition to going through the list, please provide a meaningful
description of your changes.
- [ ] General
- The pull request references the related JIRA issue ("[FLINK-XXX] Jira
title text")
- The pull request addresses only one issue
- Each commit in the PR has a meaningful commit message (including the
JIRA id)
- [ ] Documentation
- Documentation has been added for new functionality
- Old documentation affected by the pull request has been updated
- JavaDoc for public methods has been added
- [ ] Tests & Build
- Functionality added by the pull request is covered by tests
- `mvn clean verify` has been executed successfully locally or a Travis
build has passed
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/thormanrd/flink feature/FLINK-3319
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2155.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2155
----
commit e71514574e6e7d5623eaf4e556d708c642ccb6f2
Author: Bob Thorman <[email protected]>
Date: 2016-06-16T12:48:53Z
FLINT-3839 Added the extraction of jar files from a URL spec that is a
directory in the form of file:///path/to/jars/<*>
commit 5705962613ea0e64bfbdfa1b544c3fd8870a4540
Author: Bob Thorman <[email protected]>
Date: 2016-06-22T00:54:02Z
FLINK-3319 Added OrFilterFunction class and the or method to the Pattern
class
commit 771f7029571db0345e0713c93f914ba945690c97
Author: Bob Thorman <[email protected]>
Date: 2016-06-22T13:23:48Z
FLINK-3319 Added or method to scala Pattern class
----
> Add or operator to CEP's pattern API
> ------------------------------------
>
> Key: FLINK-3319
> URL: https://issues.apache.org/jira/browse/FLINK-3319
> Project: Flink
> Issue Type: Improvement
> Components: CEP
> Affects Versions: 1.0.0
> Reporter: Till Rohrmann
> Assignee: Robert Thorman
> Priority: Minor
>
> 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.
> {code}
> Pattern.begin("start").next("middle1").where(...).or("middle2").where(...)
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)