提交 5c43d2b8 编写于 作者: A Aljoscha Krettek

[FLINK-5363] Clarify Trigger behaviour for empty windows

上级 fdce4b2e
......@@ -22,6 +22,10 @@ package org.apache.flink.streaming.api.windowing.triggers;
* Result type for trigger methods. This determines what happens with the window,
* for example whether the window function should be called, or the window
* should be discarded.
*
* <p>If a {@link Trigger} returns {@link #FIRE} or {@link #FIRE_AND_PURGE} but the window does not
* contain any data the window function will not be invoked, i.e. no data will be produced for the
* window.
*/
public enum TriggerResult {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册