beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tg...@apache.org
Subject [2/2] beam git commit: Remove reference to the isStreaming flag
Date Mon, 17 Apr 2017 20:07:14 GMT
Remove reference to the isStreaming flag

Remove references to DataflowPipelineOptions in PipelineOptions javadoc.


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

Branch: refs/heads/master
Commit: 4ae4e7dc196d526aed3c64128db74f716f7bf38f
Parents: 8302783
Author: Thomas Groh <tgroh@google.com>
Authored: Mon Apr 17 11:42:33 2017 -0700
Committer: Thomas Groh <tgroh@google.com>
Committed: Mon Apr 17 13:06:59 2017 -0700

----------------------------------------------------------------------
 .../org/apache/beam/sdk/options/PipelineOptions.java    | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/4ae4e7dc/sdks/java/core/src/main/java/org/apache/beam/sdk/options/PipelineOptions.java
----------------------------------------------------------------------
diff --git a/sdks/java/core/src/main/java/org/apache/beam/sdk/options/PipelineOptions.java
b/sdks/java/core/src/main/java/org/apache/beam/sdk/options/PipelineOptions.java
index 47d5aa9..4e7bc89 100644
--- a/sdks/java/core/src/main/java/org/apache/beam/sdk/options/PipelineOptions.java
+++ b/sdks/java/core/src/main/java/org/apache/beam/sdk/options/PipelineOptions.java
@@ -79,18 +79,18 @@ import org.joda.time.format.DateTimeFormatter;
  *     PipelineOptionsFactory.as(DirectOptions.class);
  *
  * // To cast from one type to another using the as(Class) method:
- * DataflowPipelineOptions dataflowPipelineOptions =
- *     directPipelineOptions.as(DataflowPipelineOptions.class);
+ * ApplicationNameOptions applicationNameOptions =
+ *     directPipelineOptions.as(ApplicationNameOptions.class);
  *
  * // Options for the same property are shared between types
- * // The statement below will print out "true"
- * System.out.println(dataflowPipelineOptions.isStreaming());
+ * // The statement below will print out the name of the enclosing class by default
+ * System.out.println(applicationNameOptions.getApplicationName());
  *
  * // Prints out registered options.
  * PipelineOptionsFactory.printHelp(System.out);
  *
- * // Prints out options which are available to be set on DataflowPipelineOptions
- * PipelineOptionsFactory.printHelp(System.out, DataflowPipelineOptions.class);
+ * // Prints out options which are available to be set on ApplicationNameOptions
+ * PipelineOptionsFactory.printHelp(System.out, ApplicationNameOptions.class);
  * }</pre>
  *
  * <h2>Defining Your Own PipelineOptions</h2>


Mime
View raw message