public abstract class Provider extends Object
| 构造器和说明 |
|---|
Provider() |
public abstract List<String[]> getData(DatasourceRequest datasourceRequest) throws Exception
Exceptionpublic abstract List<TableDesc> getTables(DatasourceRequest datasourceRequest) throws Exception
Exceptionpublic abstract String checkStatus(DatasourceRequest datasourceRequest) throws Exception
Exceptionpublic List<String[]> fetchResult(DatasourceRequest datasourceRequest) throws Exception
Exceptionpublic abstract List<TableField> fetchResultField(DatasourceRequest datasourceRequest) throws Exception
Exceptionpublic abstract Map<String,List> fetchResultAndField(DatasourceRequest datasourceRequest) throws Exception
Exceptionpublic void handleDatasource(DatasourceRequest datasourceRequest, String type) throws Exception
Exceptionpublic List<String> getSchema(DatasourceRequest datasourceRequest) throws Exception
Exceptionpublic List<TableField> getTableFields(DatasourceRequest datasourceRequest) throws Exception
Exceptionpublic String getTablesSql(DatasourceRequest datasourceRequest) throws Exception
Exceptionpublic String getViewSql(DatasourceRequest datasourceRequest) throws Exception
Exceptionpublic String getSchemaSql(DatasourceRequest datasourceRequest) throws Exception
Exceptionpublic Connection getConnection(DatasourceRequest datasourceRequest) throws Exception
Exceptionpublic JdbcConfiguration setCredential(DatasourceRequest datasourceRequest, com.alibaba.druid.pool.DruidDataSource dataSource) throws Exception
Exceptionpublic Connection getConnectionFromPool(DatasourceRequest datasourceRequest) throws Exception
Exceptionpublic void addToPool(DatasourceRequest datasourceRequest) throws PropertyVetoException, SQLException, Exception
public void checkConfiguration(Datasource datasource) throws Exception
Exceptionpublic String dsVersion(Datasource datasource) throws Exception
ExceptionCopyright © 2023 Pivotal Software, Inc.. All rights reserved.