Repository: beam-site Updated Branches: refs/heads/asf-site 80fc7499d -> d9ade0584
Rename apache_beam.utils.options to apache_beam.utils.pipeline_options Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/69fead60 Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/69fead60 Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/69fead60 Branch: refs/heads/asf-site Commit: 69fead60fdbb721df705170a8557aedd5dd4cc6a Parents: 80fc749 Author: Maria Garcia Herrero <[email protected]> Authored: Wed Dec 28 23:12:37 2016 -0800 Committer: Dan Halperin <[email protected]> Committed: Wed Dec 28 23:44:41 2016 -0800 ---------------------------------------------------------------------- src/documentation/programming-guide.md | 4 ++-- src/documentation/runners/dataflow.md | 2 +- src/documentation/runners/direct.md | 2 +- src/documentation/runners/flink.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam-site/blob/69fead60/src/documentation/programming-guide.md ---------------------------------------------------------------------- diff --git a/src/documentation/programming-guide.md b/src/documentation/programming-guide.md index 15528c5..d743c49 100644 --- a/src/documentation/programming-guide.md +++ b/src/documentation/programming-guide.md @@ -77,7 +77,7 @@ To use Beam, your driver program must first create an instance of the Beam SDK c The pipeline configuration options determine, among other things, the `PipelineRunner` that determines where the pipeline gets executed: locally, or using a distributed back-end of your choice. Depending on where your pipeline gets executed and what your specifed Runner requires, the options can also help you specify other aspects of execution. -To set your pipeline's configuration options and create the pipeline, create an object of type <span class="language-java">[PipelineOptions]({{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/index.html?org/apache/beam/sdk/options/PipelineOptions.html)</span><span class="language-py">[PipelineOptions](https://github.com/apache/beam/blob/python-sdk/sdks/python/apache_beam/utils/options.py)</span> and pass it to `Pipeline.Create()`. The most common way to do this is by parsing arguments from the command-line: +To set your pipeline's configuration options and create the pipeline, create an object of type <span class="language-java">[PipelineOptions]({{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/index.html?org/apache/beam/sdk/options/PipelineOptions.html)</span><span class="language-py">[PipelineOptions](https://github.com/apache/beam/blob/python-sdk/sdks/python/apache_beam/utils/pipeline_options.py)</span> and pass it to `Pipeline.Create()`. The most common way to do this is by parsing arguments from the command-line: ```java public static void main(String[] args) { @@ -91,7 +91,7 @@ public static void main(String[] args) { ``` ```py -from apache_beam.utils.options import PipelineOptions +from apache_beam.utils.pipeline_options import PipelineOptions # Will parse the arguments passed into the application and construct a PipelineOptions # Note that --help will print registered options. http://git-wip-us.apache.org/repos/asf/beam-site/blob/69fead60/src/documentation/runners/dataflow.md ---------------------------------------------------------------------- diff --git a/src/documentation/runners/dataflow.md b/src/documentation/runners/dataflow.md index 14a133c..f707d47 100644 --- a/src/documentation/runners/dataflow.md +++ b/src/documentation/runners/dataflow.md @@ -101,7 +101,7 @@ When executing your pipeline with the Cloud Dataflow Runner, set these pipeline </tr> </table> -See the reference documentation for the <span class="language-java">[DataflowPipelineOptions]({{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/index.html?org/apache/beam/runners/dataflow/options/DataflowPipelineOptions.html)</span><span class="language-python">[PipelineOptions](https://github.com/apache/beam/blob/python-sdk/sdks/python/apache_beam/utils/options.py)</span> interface (and its subinterfaces) for the complete list of pipeline configuration options. +See the reference documentation for the <span class="language-java">[DataflowPipelineOptions]({{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/index.html?org/apache/beam/runners/dataflow/options/DataflowPipelineOptions.html)</span><span class="language-python">[PipelineOptions](https://github.com/apache/beam/blob/python-sdk/sdks/python/apache_beam/utils/pipeline_options.py)</span> interface (and its subinterfaces) for the complete list of pipeline configuration options. ## Additional information and caveats http://git-wip-us.apache.org/repos/asf/beam-site/blob/69fead60/src/documentation/runners/direct.md ---------------------------------------------------------------------- diff --git a/src/documentation/runners/direct.md b/src/documentation/runners/direct.md index b72b933..c96e7b8 100644 --- a/src/documentation/runners/direct.md +++ b/src/documentation/runners/direct.md @@ -37,7 +37,7 @@ You must specify your dependency on the Direct Runner. When executing your pipeline from the command-line, set `runner` to `direct`. The default values for the other pipeline options are generally sufficient. -See the reference documentation for the <span class="language-java">[`DirectOptions`]({{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/index.html?org/apache/beam/runners/direct/DirectOptions.html)</span><span class="language-python">[`PipelineOptions`](https://github.com/apache/beam/blob/python-sdk/sdks/python/apache_beam/utils/options.py)</span> interface (and its subinterfaces) for defaults and the complete list of pipeline configuration options. +See the reference documentation for the <span class="language-java">[`DirectOptions`]({{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/index.html?org/apache/beam/runners/direct/DirectOptions.html)</span><span class="language-python">[`PipelineOptions`](https://github.com/apache/beam/blob/python-sdk/sdks/python/apache_beam/utils/pipeline_options.py)</span> interface (and its subinterfaces) for defaults and the complete list of pipeline configuration options. ## Additional information and caveats http://git-wip-us.apache.org/repos/asf/beam-site/blob/69fead60/src/documentation/runners/flink.md ---------------------------------------------------------------------- diff --git a/src/documentation/runners/flink.md b/src/documentation/runners/flink.md index 3fcbf46..f2e59b5 100644 --- a/src/documentation/runners/flink.md +++ b/src/documentation/runners/flink.md @@ -129,7 +129,7 @@ When executing your pipeline with the Flink Runner, you can set these pipeline o </tr> </table> -See the reference documentation for the <span class="language-java">[FlinkPipelineOptions]({{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/index.html?org/apache/beam/runners/flink/FlinkPipelineOptions.html)</span><span class="language-python">[PipelineOptions](https://github.com/apache/beam/blob/python-sdk/sdks/python/apache_beam/utils/options.py)</span> interface (and its subinterfaces) for the complete list of pipeline configuration options. +See the reference documentation for the <span class="language-java">[FlinkPipelineOptions]({{ site.baseurl }}/documentation/sdks/javadoc/{{ site.release_latest }}/index.html?org/apache/beam/runners/flink/FlinkPipelineOptions.html)</span><span class="language-python">[PipelineOptions](https://github.com/apache/beam/blob/python-sdk/sdks/python/apache_beam/utils/pipeline_options.py)</span> interface (and its subinterfaces) for the complete list of pipeline configuration options. ## Additional information and caveats
