public class BoltTokenizerWordCountWithNames extends Object
Bolt
. In contrast to BoltTokenizerWordCount
the tokenizer's input is a Tuple
type and the single field is accessed by name.
The input is a plain text file with lines separated by newline characters.
Usage: WordCount <text path> <result path>
If no parameters are provided, the program is run with default data from WordCountData
.
This example shows how to:
Tuple
type input streams
Constructor and Description |
---|
BoltTokenizerWordCountWithNames() |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.