public final class SentenceWordCountTopology extends Twister2StormWorker
Modifier and Type | Class and Description |
---|---|
static class |
SentenceWordCountTopology.FastRandomSentenceSpout
A spout that emits a random word
|
static class |
SentenceWordCountTopology.SplitSentence |
static class |
SentenceWordCountTopology.WordCount |
computeEnvironment, config, persistentVolume, taskExecutor, volatileVolume, workerController, workerEnvironment, workerId
Constructor and Description |
---|
SentenceWordCountTopology() |
Modifier and Type | Method and Description |
---|---|
StormTopology |
buildTopology() |
static void |
main(java.lang.String[] args) |
execute
execute
public StormTopology buildTopology()
buildTopology
in class Twister2StormWorker
public static void main(java.lang.String[] args)