Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before, there would be three different window() methods on KeyedDataStream: one that takes two policies, one that takes one policy and one that takes a window assigner. Now, there is only one window() method that takes a window assigner and creates a KeyedWindowDataStream. For conveniece, there are two methods timeWindows() that take either one argument (tumbling windows) or two arguments (sliding windows). These create a KeyedWindowDataStream with either a SlidingWindows or TumblingWindows assigner. When the window operator is created we pick the optimized aligned time windows operator if the combination of window assigner/trigger/evictor allows it. All of this behaviour is verified in tests. This closes #1195
- Loading branch information
1 parent
937793e
commit 5623c15
Showing
21 changed files
with
446 additions
and
1,005 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
255 changes: 0 additions & 255 deletions
255
...src/main/java/org/apache/flink/streaming/api/datastream/KeyedTriggerWindowDataStream.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.