This is an automated email from the ASF dual-hosted git repository. tangyun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push: new d3623c9fccb [FLINK-27278][docs] Fix wrong indentation in windows docs d3623c9fccb is described below commit d3623c9fccbf0a7bee59b5ffdc67c3f7fa0cdf7c Author: Mingliang Liu <lium...@apache.org> AuthorDate: Sun Apr 17 23:59:18 2022 -0700 [FLINK-27278][docs] Fix wrong indentation in windows docs --- .../docs/dev/datastream/operators/windows.md | 54 ++++++++++----------- .../docs/dev/datastream/operators/windows.md | 56 +++++++++++----------- 2 files changed, 55 insertions(+), 55 deletions(-) diff --git a/docs/content.zh/docs/dev/datastream/operators/windows.md b/docs/content.zh/docs/dev/datastream/operators/windows.md index cc6e4b9d8e3..9441dc82876 100644 --- a/docs/content.zh/docs/dev/datastream/operators/windows.md +++ b/docs/content.zh/docs/dev/datastream/operators/windows.md @@ -681,33 +681,33 @@ public abstract class ProcessWindowFunction<IN, OUT, KEY, W extends Window> impl public void clear(Context context) throws Exception {} /** - * The context holding window metadata. - */ - public abstract class Context implements java.io.Serializable { - /** - * Returns the window that is being evaluated. - */ - public abstract W window(); - - /** Returns the current processing time. */ - public abstract long currentProcessingTime(); - - /** Returns the current event-time watermark. */ - public abstract long currentWatermark(); - - /** - * State accessor for per-key and per-window state. - * - * <p><b>NOTE:</b>If you use per-window state you have to ensure that you clean it up - * by implementing {@link ProcessWindowFunction#clear(Context)}. - */ - public abstract KeyedStateStore windowState(); - - /** - * State accessor for per-key global state. - */ - public abstract KeyedStateStore globalState(); - } + * The context holding window metadata. + */ + public abstract class Context implements java.io.Serializable { + /** + * Returns the window that is being evaluated. + */ + public abstract W window(); + + /** Returns the current processing time. */ + public abstract long currentProcessingTime(); + + /** Returns the current event-time watermark. */ + public abstract long currentWatermark(); + + /** + * State accessor for per-key and per-window state. + * + * <p><b>NOTE:</b>If you use per-window state you have to ensure that you clean it up + * by implementing {@link ProcessWindowFunction#clear(Context)}. + */ + public abstract KeyedStateStore windowState(); + + /** + * State accessor for per-key global state. + */ + public abstract KeyedStateStore globalState(); + } } ``` diff --git a/docs/content/docs/dev/datastream/operators/windows.md b/docs/content/docs/dev/datastream/operators/windows.md index f27cb2dd4d3..12c723eab4d 100644 --- a/docs/content/docs/dev/datastream/operators/windows.md +++ b/docs/content/docs/dev/datastream/operators/windows.md @@ -708,34 +708,34 @@ public abstract class ProcessWindowFunction<IN, OUT, KEY, W extends Window> impl */ public void clear(Context context) throws Exception {} - /** - * The context holding window metadata. - */ - public abstract class Context implements java.io.Serializable { - /** - * Returns the window that is being evaluated. - */ - public abstract W window(); - - /** Returns the current processing time. */ - public abstract long currentProcessingTime(); - - /** Returns the current event-time watermark. */ - public abstract long currentWatermark(); - - /** - * State accessor for per-key and per-window state. - * - * <p><b>NOTE:</b>If you use per-window state you have to ensure that you clean it up - * by implementing {@link ProcessWindowFunction#clear(Context)}. - */ - public abstract KeyedStateStore windowState(); - - /** - * State accessor for per-key global state. - */ - public abstract KeyedStateStore globalState(); - } + /** + * The context holding window metadata. + */ + public abstract class Context implements java.io.Serializable { + /** + * Returns the window that is being evaluated. + */ + public abstract W window(); + + /** Returns the current processing time. */ + public abstract long currentProcessingTime(); + + /** Returns the current event-time watermark. */ + public abstract long currentWatermark(); + + /** + * State accessor for per-key and per-window state. + * + * <p><b>NOTE:</b>If you use per-window state you have to ensure that you clean it up + * by implementing {@link ProcessWindowFunction#clear(Context)}. + */ + public abstract KeyedStateStore windowState(); + + /** + * State accessor for per-key global state. + */ + public abstract KeyedStateStore globalState(); + } } ```