Package org.apache.storm.jdbc.common
Class JdbcClient
- java.lang.Object
-
- org.apache.storm.jdbc.common.JdbcClient
-
public class JdbcClient extends Object
-
-
Constructor Summary
Constructors Constructor Description JdbcClient(ConnectionProvider connectionProvider, int queryTimeoutSecs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeInsertQuery(String query, List<List<Column>> columnLists)
void
executeSql(String sql)
List<Column>
getColumnSchema(String tableName)
void
insert(String tableName, List<List<Column>> columnLists)
List<List<Column>>
select(String sqlQuery, List<Column> queryParams)
-
-
-
Constructor Detail
-
JdbcClient
public JdbcClient(ConnectionProvider connectionProvider, int queryTimeoutSecs)
-
-
Method Detail
-
executeSql
public void executeSql(String sql)
-
-