public class DBManager extends Object implements Destroyable
| Constructor and Description |
|---|
DBManager(ConnectionConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
ensureJDBCDriverIsAvailable(Class<? extends Driver> jdbcDriverClass)
Ensures that the JDBC Driver specified in configuration is available and can be loaded.
|
boolean |
tableExists(Class<? extends Driver> jdbcDriverClass,
String tableName) |
Class<? extends Driver> |
validateJDBCPluginPipeline(PipelineConfigurer pipelineConfigurer,
String jdbcPluginId) |
public DBManager(ConnectionConfig config)
public Class<? extends Driver> validateJDBCPluginPipeline(PipelineConfigurer pipelineConfigurer, String jdbcPluginId)
public void ensureJDBCDriverIsAvailable(Class<? extends Driver> jdbcDriverClass) throws IllegalAccessException, InstantiationException, SQLException
DriverManager if it is not already registered.public void destroy()
destroy in interface DestroyableCopyright © 2019 CDAP Licensed under the Apache License, Version 2.0.