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