public class WordCount
extends java.lang.Object
Concepts: Reading/writing text files; counting a PCollection; user-defined PTransforms
To execute this pipeline locally, specify general pipeline configuration:
--project=
| Modifier and Type | Class and Description |
|---|---|
static class |
WordCount.CountWords
A PTransform that converts a PCollection containing lines of text into a PCollection of
formatted word counts.
|
static interface |
WordCount.Options
Options supported by
WordCount. |
| Constructor and Description |
|---|
WordCount() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |