[
https://issues.apache.org/jira/browse/FLINK-13870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
YufeiLiu closed FLINK-13870.
----------------------------
Resolution: Staged
> within method should applied in every individual pattern
> --------------------------------------------------------
>
> Key: FLINK-13870
> URL: https://issues.apache.org/jira/browse/FLINK-13870
> Project: Flink
> Issue Type: New Feature
> Components: Library / CEP
> Affects Versions: 1.8.0
> Reporter: YufeiLiu
> Priority: Major
>
> When I write a Pattern like this:
> {code:java}
> Pattern.begin("start").where()
> .followBy("middle0").where().within(Time.second(1))
> .followBy("middle1").where().within(Time.second(2))
> .followBy("middle2").where().within(Time.second(3))
> {code}
> the actual windowTime is the smallest time: 1 second.
> If I want having different windowTime in different part of pattern, is there
> a way to avoid this?
> Perhaps I can make "within" become a condition in Pattern, just a thought.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)