public abstract class AbstractMongoBolt extends BaseRichBolt
| Modifier and Type | Field and Description |
|---|---|
protected OutputCollector |
collector |
protected MongoDBClient |
mongoClient |
| Constructor and Description |
|---|
AbstractMongoBolt(String url,
String collectionName) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
prepare(Map stormConf,
TopologyContext context,
OutputCollector collector) |
getComponentConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeclareOutputFields, getComponentConfigurationprotected OutputCollector collector
protected MongoDBClient mongoClient
public void prepare(Map stormConf, TopologyContext context, OutputCollector collector)
public void cleanup()
cleanup in interface IBoltcleanup in class BaseRichBoltCopyright © 2018 The Apache Software Foundation. All Rights Reserved.