public abstract class AbstractJdbcBolt extends BaseTickTupleAwareRichBolt
| Modifier and Type | Field and Description |
|---|---|
protected OutputCollector |
collector |
protected String |
configKey |
protected ConnectionProvider |
connectionProvider |
protected JdbcClient |
jdbcClient |
protected Integer |
queryTimeoutSecs |
| Constructor and Description |
|---|
AbstractJdbcBolt(ConnectionProvider connectionProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
prepare(Map map,
TopologyContext topologyContext,
OutputCollector collector) |
execute, onTickTuple, processgetComponentConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeclareOutputFields, getComponentConfigurationprotected OutputCollector collector
protected transient JdbcClient jdbcClient
protected String configKey
protected Integer queryTimeoutSecs
protected ConnectionProvider connectionProvider
public AbstractJdbcBolt(ConnectionProvider connectionProvider)
public void prepare(Map map, TopologyContext topologyContext, OutputCollector collector)
public void cleanup()
cleanup in interface IBoltcleanup in class BaseRichBoltCopyright © 2018 The Apache Software Foundation. All Rights Reserved.