public class PostgresCatalog extends AbstractJdbcCatalog
AbstractJdbcCatalog.ResultSetConsumer<T>baseUrl, catalogName, connectionMap, defaultDatabase, defaultSchema, defaultUrl, pwd, suffix, SYS_DATABASES, username| 构造器和说明 |
|---|
PostgresCatalog(String catalogName,
String username,
String pwd,
org.apache.seatunnel.common.utils.JdbcUrlUtil.UrlInfo urlInfo,
String defaultSchema) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Column |
buildColumn(ResultSet resultSet) |
protected void |
createTableInternal(TablePath tablePath,
CatalogTable table) |
protected void |
dropDatabaseInternal(String databaseName) |
protected String |
getCreateDatabaseSql(String databaseName) |
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) |
boolean |
tableExists(TablePath tablePath) |
buildColumnsWithErrorCheck, buildConnectorOptions, close, closeDatabaseConnection, createDatabase, createDatabaseInternal, createTable, databaseExists, dropDatabase, dropTable, dropTableInternal, executeInternal, executeSql, getConnection, getConstraintKeys, getConstraintKeys, getCreateTableSql, getDefaultDatabase, getOptionTableName, getPrimaryKey, getPrimaryKey, getTable, getTableIdentifier, getTableName, getTableName, getUrlFromDatabaseName, 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 void createTableInternal(TablePath tablePath, CatalogTable table) throws CatalogException
createTableInternal 在类中 AbstractJdbcCatalogCatalogExceptionprotected String getDropTableSql(TablePath tablePath)
getDropTableSql 在类中 AbstractJdbcCatalogpublic String getExistDataSql(TablePath tablePath)
getExistDataSql 在类中 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 在类中 AbstractJdbcCatalogSQLExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.