public class PojoExample extends Object
Usage: WordCount --input <path> --output <path>
If no parameters are provided, the program is run with default data from
WordCountData
.
This example shows how to:
Modifier and Type | Class and Description |
---|---|
static class |
PojoExample.Tokenizer
Implements the string tokenizer that splits sentences into words as a
user-defined FlatMapFunction.
|
static class |
PojoExample.Word
This is the POJO (Plain Old Java Object) that is being used for all the
operations.
|
Constructor and Description |
---|
PojoExample() |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.