public static class WordCountTopologyNode.RandomSentence extends ShellSpout implements IRichSpout
LOG
Constructor and Description |
---|
RandomSentence() |
Modifier and Type | Method and Description |
---|---|
void |
declareOutputFields(OutputFieldsDeclarer declarer)
Declare the output schema for all the streams of this topology.
|
Map<String,Object> |
getComponentConfiguration()
Declare configuration specific to this component.
|
ack, activate, close, deactivate, fail, nextTuple, open, setEnv
public void declareOutputFields(OutputFieldsDeclarer declarer)
IComponent
declareOutputFields
in interface IComponent
declarer
- this is used to declare output stream ids, output fields, and whether or not each output stream is a direct streampublic Map<String,Object> getComponentConfiguration()
IComponent
TopologyBuilder
getComponentConfiguration
in interface IComponent
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.