public class MinimalWordCount extends Object
This class, MinimalWordCount, is the first in a series of three successively more
detailed 'word count' examples. Here, for simplicity, we don't show any error-checking or
argument processing, and focus on construction of the pipeline, which chains together the
application of core transforms.
Next, see the WordCount pipeline, and then the WindowedWordCount pipeline,
for more detailed examples that introduce additional concepts.
Concepts:
To execute this pipeline, first edit the code to set your project name and Google Cloud Storage values. The specified GCS bucket(s) must already exist.
Then, run the pipeline as described in the README. It will be deployed and run using the Dataflow service. No args are required to run the pipeline. You can see the results in your output bucket in the GCS browser.
| Constructor and Description |
|---|
MinimalWordCount() |
public static void main(String[] args)