public class JdbcLookupBolt extends AbstractJdbcBolt
collector, configKey, connectionProvider, jdbcClient, queryTimeoutSecs
Constructor and Description |
---|
JdbcLookupBolt(ConnectionProvider connectionProvider,
String selectQuery,
JdbcLookupMapper jdbcLookupMapper) |
Modifier and Type | Method and Description |
---|---|
void |
declareOutputFields(OutputFieldsDeclarer outputFieldsDeclarer) |
void |
execute(Tuple tuple) |
JdbcLookupBolt |
withQueryTimeoutSecs(int queryTimeoutSecs) |
cleanup, prepare
getComponentConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComponentConfiguration
public JdbcLookupBolt(ConnectionProvider connectionProvider, String selectQuery, JdbcLookupMapper jdbcLookupMapper)
public JdbcLookupBolt withQueryTimeoutSecs(int queryTimeoutSecs)
public void execute(Tuple tuple)
public void declareOutputFields(OutputFieldsDeclarer outputFieldsDeclarer)
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.