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