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