public class WordCount extends 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.ExtractWordsFn
Concept #2: You can make your pipeline code less verbose by defining your DoFns statically out-
of-line.
|
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() |
public static void main(String[] args)
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.