public class DamengCatalog extends AbstractJdbcCatalog
AbstractJdbcCatalog.ResultSetConsumer<T>baseUrl, catalogName, connectionMap, defaultDatabase, defaultSchema, defaultUrl, pwd, suffix, SYS_DATABASES, username| 构造器和说明 |
|---|
DamengCatalog(String catalogName,
String username,
String pwd,
org.apache.seatunnel.common.utils.JdbcUrlUtil.UrlInfo urlInfo,
String defaultSchema) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Column |
buildColumn(ResultSet resultSet) |
protected String |
getCreateTableSql(TablePath tablePath,
CatalogTable table) |
protected String |
getDropTableSql(TablePath tablePath) |
protected String |
getListDatabaseSql() |
protected String |
getListTableSql(String databaseName) |
protected String |
getOptionTableName(TablePath tablePath) |
protected String |
getSelectColumnsSql(TablePath tablePath) |
CatalogTable |
getTable(String sqlQuery) |
protected String |
getTableName(ResultSet rs) |
protected String |
getTableName(TablePath tablePath) |
protected String |
getUrlFromDatabaseName(String databaseName) |
List<String> |
listTables(String databaseName) |
boolean |
tableExists(TablePath tablePath) |
buildColumnsWithErrorCheck, buildConnectorOptions, close, closeDatabaseConnection, createDatabase, createDatabaseInternal, createTable, createTableInternal, databaseExists, dropDatabase, dropDatabaseInternal, dropTable, dropTableInternal, executeInternal, executeSql, getConnection, getConstraintKeys, getConstraintKeys, getCreateDatabaseSql, getDefaultDatabase, getDropDatabaseSql, getExistDataSql, getPrimaryKey, getPrimaryKey, getTable, getTableIdentifier, getTruncateTableSql, isExistsData, listDatabases, name, open, queryString, truncateTable, truncateTableInternalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildCatalogTablesWithErrorCheck, buildColumnsWithErrorCheck, getFactory, getTablesprotected String getListDatabaseSql()
protected String getCreateTableSql(TablePath tablePath, CatalogTable table)
getCreateTableSql 在类中 AbstractJdbcCatalogprotected String getDropTableSql(TablePath tablePath)
getDropTableSql 在类中 AbstractJdbcCatalogprotected String getTableName(TablePath tablePath)
getTableName 在类中 AbstractJdbcCatalogprotected String getListTableSql(String databaseName)
getListTableSql 在类中 AbstractJdbcCatalogprotected String getTableName(ResultSet rs) throws SQLException
getTableName 在类中 AbstractJdbcCatalogSQLExceptionprotected Column buildColumn(ResultSet resultSet) throws SQLException
buildColumn 在类中 AbstractJdbcCatalogSQLExceptionpublic boolean tableExists(TablePath tablePath) throws CatalogException
tableExists 在接口中 CatalogtableExists 在类中 AbstractJdbcCatalogCatalogExceptionpublic List<String> listTables(String databaseName) throws CatalogException, DatabaseNotExistException
listTables 在接口中 CataloglistTables 在类中 AbstractJdbcCatalogCatalogExceptionDatabaseNotExistExceptionpublic CatalogTable getTable(String sqlQuery) throws SQLException
getTable 在类中 AbstractJdbcCatalogSQLExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.