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