public static class BlobStoreAPIWordCountTopology.SplitSentence extends ShellBolt implements IRichBolt
HEARTBEAT_STREAM_ID, LOG| Constructor and Description |
|---|
SplitSentence() |
| 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.
|
changeChildCWD, cleanup, execute, prepare, setEnv, shouldChangeChildCWDpublic void declareOutputFields(OutputFieldsDeclarer declarer)
IComponentDeclare the output schema for all the streams of this topology.
declareOutputFields in interface IComponentdeclarer - 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()
IComponentDeclare configuration specific to this component. Only a subset of the “topology.*” configs can be overridden. The component configuration can be further overridden when constructing the topology using TopologyBuilder
getComponentConfiguration in interface IComponentCopyright © 2020 The Apache Software Foundation. All rights reserved.