public class ExclamationWithBolt extends Object
StormTopology
.
The input is a plain text file with lines separated by newline characters.
Usage:
ExclamationWithmBolt <text path> <result path> <number of exclamation marks>
If no parameters are provided, the program is run with default data from WordCountData
with x=2.
This example shows how to:
Constructor and Description |
---|
ExclamationWithBolt() |
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.