flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aljos...@apache.org
Subject [2/2] flink git commit: [doc] Add ProcessWindowFunction to side output doc
Date Thu, 12 Oct 2017 09:13:53 GMT
[doc] Add ProcessWindowFunction to side output doc

Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/4f8d01fb
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/4f8d01fb
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/4f8d01fb

Branch: refs/heads/master
Commit: 4f8d01fba49664c4557083b599f42f56a0e665a5
Parents: 39682c4
Author: Bowen Li <bowenli86@gmail.com>
Authored: Thu Oct 12 11:11:27 2017 +0200
Committer: Aljoscha Krettek <aljoscha.krettek@gmail.com>
Committed: Thu Oct 12 11:13:06 2017 +0200

 docs/dev/stream/side_output.md | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/docs/dev/stream/side_output.md b/docs/dev/stream/side_output.md
index 0f144d4..39ead7e 100644
--- a/docs/dev/stream/side_output.md
+++ b/docs/dev/stream/side_output.md
@@ -55,9 +55,15 @@ val outputTag = OutputTag[String]("side-output")
 Notice how the `OutputTag` is typed according to the type of elements that the side output
-Emitting data to a side output is only possible from within a
-[ProcessFunction]({{ site.baseurl }}/dev/stream/operators/process_function.html). You can
use the `Context` parameter
-to emit data to a side output identified by an `OutputTag`:
+Emitting data to a side output is possible from the following functions:
+- [ProcessFunction]({{ site.baseurl }}/dev/stream/operators/process_function.html)
+- [ProcessWindowFunction]({{ site.baseurl }}/dev/windows.html#processwindowfunction)
+- ProcessAllWindowFunction
+You can use the `Context` parameter, which is exposed to users in the above functions, to
+data to a side output identified by an `OutputTag`. Here is an example of emitting side output
+data from a `ProcessFunction`:
 <div class="codetabs" markdown="1">
 <div data-lang="java" markdown="1">

View raw message