This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/asf-site by this push: new 8a1d7cb8a8f Publishing website 2023/01/05 04:17:22 at commit 9cd76ea 8a1d7cb8a8f is described below commit 8a1d7cb8a8f8d5c2dab771b1ba515f6163874bc1 Author: jenkins <bui...@apache.org> AuthorDate: Thu Jan 5 04:17:23 2023 +0000 Publishing website 2023/01/05 04:17:22 at commit 9cd76ea --- website/generated-content/documentation/index.xml | 6 +++--- .../generated-content/documentation/programming-guide/index.html | 8 ++++---- website/generated-content/sitemap.xml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/website/generated-content/documentation/index.xml b/website/generated-content/documentation/index.xml index f6159c59b2e..74d627d55f6 100644 --- a/website/generated-content/documentation/index.xml +++ b/website/generated-content/documentation/index.xml @@ -5667,7 +5667,7 @@ or the framework will raise an error.</p> <span class="p">}</span></code></pre></div> </div> </div> -<p><span class="language-go" ></p> +<span class="language-go"> <blockquote> <p><strong>Note:</strong> Whether using a structural <code>DoFn</code> type or a functional <code>DoFn</code>, they should be registered with beam in an <code>init</code> block. Otherwise they may not execute on distributed runners.</p> @@ -5850,13 +5850,13 @@ Java 8 lambda function for additional brevity.</span></p> </code></pre></div> </div> </div> -<p><span class="language-java" ></p> +<span class="language-java"> <blockquote> <p><strong>Note:</strong> You can use Java 8 lambda functions with several other Beam transforms, including <code>Filter</code>, <code>FlatMapElements</code>, and <code>Partition</code>.</p> </blockquote> </span> -<p><span class="language-go" ></p> +<span class="language-go"> <blockquote> <p><strong>Note:</strong> Anonymous function DoFns may not work on distributed runners. It&rsquo;s recommended to use named functions and register them with <code>register.FunctionXxY</code> in diff --git a/website/generated-content/documentation/programming-guide/index.html b/website/generated-content/documentation/programming-guide/index.html index 78652d7c0b1..07def984ed1 100644 --- a/website/generated-content/documentation/programming-guide/index.html +++ b/website/generated-content/documentation/programming-guide/index.html @@ -616,7 +616,7 @@ or the framework will raise an error.</p><div class="language-java snippet"><div </span><span class=c1></span> <span class=c1>// Input/output types are included in order in the brackets </span><span class=c1></span> <span class=nx>register</span><span class=p>.</span><span class=nx>DoFn2x0</span><span class=p>[</span><span class=kt>string</span><span class=p>,</span> <span class=kd>func</span><span class=p>(</span><span class=kt>int</span><span class=p>)](</span><span class=o>&</span><span class=nx>ComputeWordLengthFn</span><span class=p>{})</span> <span class=nx>register</span><span class=p>.</span><span class=nx>Emitter1</span><span class=p>[</span><span class=kt>int</span><span class=p>]()</span> -<span class=p>}</span></code></pre></div></div></div><p><span class=language-go></p><blockquote><p><strong>Note:</strong> Whether using a structural <code>DoFn</code> type or a functional <code>DoFn</code>, they should be registered with +<span class=p>}</span></code></pre></div></div></div><span class=language-go><blockquote><p><strong>Note:</strong> Whether using a structural <code>DoFn</code> type or a functional <code>DoFn</code>, they should be registered with beam in an <code>init</code> block. Otherwise they may not execute on distributed runners.</p></blockquote></span><span class=language-java><blockquote><p><strong>Note:</strong> If the elements in your input <code>PCollection</code> are key/value pairs, you can access the key or value by using <code>element.getKey()</code> or <code>element.getValue()</code>, respectively.</p></blockquote></span><span class=language-go><blockquote><p><strong>Note:</strong> If the elements in your input <code>PCollection</code> are key/value pairs, your @@ -706,8 +706,8 @@ Java 8 lambda function for additional brevity.</span></p><p>Here’s the pre </span><span class=c1></span><span class=nx>words</span> <span class=o>=</span> <span class=p>...</span> <span class=kr>const</span> <span class=nx>result</span> <span class=o>=</span> <span class=nx>words</span><span class=p>.</span><span class=nx>map</span><span class=p>((</span><span class=nx>word</span><span class=p>)</span> <span class=o>=></span> <span class=nx>word</span><span class=p>.</span><span class=nx>length</span><span class=p>);</span> -</code></pre></div></div></div><p><span class=language-java></p><blockquote><p><strong>Note:</strong> You can use Java 8 lambda functions with several other Beam -transforms, including <code>Filter</code>, <code>FlatMapElements</code>, and <code>Partition</code>.</p></blockquote></span><p><span class=language-go></p><blockquote><p><strong>Note:</strong> Anonymous function DoFns may not work on distributed runners. +</code></pre></div></div></div><span class=language-java><blockquote><p><strong>Note:</strong> You can use Java 8 lambda functions with several other Beam +transforms, including <code>Filter</code>, <code>FlatMapElements</code>, and <code>Partition</code>.</p></blockquote></span><span class=language-go><blockquote><p><strong>Note:</strong> Anonymous function DoFns may not work on distributed runners. It’s recommended to use named functions and register them with <code>register.FunctionXxY</code> in an <code>init()</code> block.</p></blockquote></span><h5 id=dofn>4.2.1.4. DoFn lifecycle</h5><p>Here is a sequence diagram that shows the lifecycle of the DoFn during the execution of the ParDo transform. The comments give useful @@ -5271,7 +5271,7 @@ implementations. This information can be accessed by using the conventional <span class=o>...</span> <span class=k>def</span> <span class=nf>infer_output_type</span><span class=p>(</span><span class=bp>self</span><span class=p>,</span> <span class=n>input_type</span><span class=p>):</span> - <span class=k>return</span> <span class=n>input_type</span></code></pre></div></div></div><div class=feedback><p class=update>Last updated on 2022/12/21</p><h3>Have you found everything you were looking for?</h3><p class=description>Was it all useful and clear? Is there anything that you would like to change? Let us know!</p><button class=load-button><a href="mailto:d...@beam.apache.org?subject=Beam Website Feedback">SEND FEEDBACK</a></button></div></div></div><footer class=footer><di [...] + <span class=k>return</span> <span class=n>input_type</span></code></pre></div></div></div><div class=feedback><p class=update>Last updated on 2023/01/04</p><h3>Have you found everything you were looking for?</h3><p class=description>Was it all useful and clear? Is there anything that you would like to change? Let us know!</p><button class=load-button><a href="mailto:d...@beam.apache.org?subject=Beam Website Feedback">SEND FEEDBACK</a></button></div></div></div><footer class=footer><di [...] <a href=https://www.apache.org>The Apache Software Foundation</a> | <a href=/privacy_policy>Privacy Policy</a> | <a href=/feed.xml>RSS Feed</a><br><br>Apache Beam, Apache, Beam, the Beam logo, and the Apache feather logo are either registered trademarks or trademarks of The Apache Software Foundation. All other products or name brands are trademarks of their respective holders, including The Apache Software Foundation.</div></div><div class="footer__cols__col footer__cols__col__logos"><div class=footer__cols__col--group><div class=footer__cols__col__logo><a href=https://github.com/apache/beam><im [...] \ No newline at end of file diff --git a/website/generated-content/sitemap.xml b/website/generated-content/sitemap.xml index c26337e2c52..c6602b86d0e 100644 --- a/website/generated-content/sitemap.xml +++ b/website/generated-content/sitemap.xml @@ -1 +1 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/blog/apacheplayground/</loc><lastmod>2022-12-21T18:16:18+06:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2022-12-21T18:16:18+06:00</lastmod></url><url><loc>/blog/</loc><lastmod>2022-12-21T18:16:18+06:00</lastmod></url><url><loc>/categories/</loc><lastmod>2022-12-21T18:16:18+06:00</lastmod></url><url><loc>/b [...] \ No newline at end of file +<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/blog/apacheplayground/</loc><lastmod>2022-12-21T18:16:18+06:00</lastmod></url><url><loc>/categories/blog/</loc><lastmod>2022-12-21T18:16:18+06:00</lastmod></url><url><loc>/blog/</loc><lastmod>2022-12-21T18:16:18+06:00</lastmod></url><url><loc>/categories/</loc><lastmod>2022-12-21T18:16:18+06:00</lastmod></url><url><loc>/b [...] \ No newline at end of file