public class WordCount extends Object
The input is a plain text file with lines separated by newline characters.
WordCount --input <path> --output <path>
If no parameters are provided, the program is run with default data from
This example shows how to:
|Modifier and Type||Class and Description|
Implements the string tokenizer that splits sentences into words as a user-defined FlatMapFunction.
|Constructor and Description|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.