public class WordCount extends Object
The input is a plain text file with lines separated by newline characters.
This example shows how to:
| Modifier and Type | Class and Description |
|---|---|
static class |
WordCount.Tokenizer
Implements the string tokenizer that splits sentences into words as a user-defined
FlatMapFunction.
|
| Constructor and Description |
|---|
WordCount() |
Copyright © 2013–2014. All rights reserved.