Package org.apache.storm.starter
Class AnchoredWordCount
- java.lang.Object
-
- org.apache.storm.topology.ConfigurableTopology
-
- org.apache.storm.starter.AnchoredWordCount
-
public class AnchoredWordCount extends ConfigurableTopology
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnchoredWordCount.RandomSentenceSpout
static class
AnchoredWordCount.SplitSentence
static class
AnchoredWordCount.WordCount
-
Field Summary
-
Fields inherited from class org.apache.storm.topology.ConfigurableTopology
conf
-
-
Constructor Summary
Constructors Constructor Description AnchoredWordCount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
run(String[] args)
-
-
-
Method Detail
-
run
protected int run(String[] args) throws Exception
- Specified by:
run
in classConfigurableTopology
- Throws:
Exception
-
-