public class WordCount
extends java.lang.Object
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 class |
WordCount.FormatAsTextFn
A SimpleFunction that converts a Word and Count into a printable string.
|
static interface |
WordCount.WordCountOptions
Options supported by
WordCount . |
Constructor and Description |
---|
WordCount() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |