Github user dawidwys commented on a diff in the pull request:
https://github.com/apache/flink/pull/4296#discussion_r129261577
--- Diff:
flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/pattern/Quantifier.java
---
@@ -105,6 +107,14 @@ public void optional() {
properties.add(Quantifier.QuantifierProperty.OPTIONAL);
}
+ public void greedy() {
+ greedy = true;
--- End diff --
How about applying greedy to SINGLETON state? I think it is illegal
combination. Also maybe change GREEDY into `QuantifierProperty`? It will
decrease the number of methods/fields.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---