@Internal
public class CrateDBCatalog
extends org.apache.flink.connector.jdbc.postgres.database.catalog.PostgresCatalog
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DEFAULT_DATABASE |
| 构造器和说明 |
|---|
CrateDBCatalog(ClassLoader userClassLoader,
String catalogName,
String defaultDatabase,
String baseUrl,
Properties connecProperties) |
CrateDBCatalog(ClassLoader userClassLoader,
String catalogName,
String defaultDatabase,
String username,
String pwd,
String baseUrl) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Set<String> |
getBuiltinSchemas() |
protected List<String> |
getPureTables(Connection conn,
List<String> schemas) |
protected String |
getSchemaName(org.apache.flink.table.catalog.ObjectPath tablePath) |
protected String |
getSchemaTableName(org.apache.flink.table.catalog.ObjectPath tablePath) |
protected String |
getTableName(org.apache.flink.table.catalog.ObjectPath tablePath) |
List<String> |
listDatabases() |
boolean |
tableExists(org.apache.flink.table.catalog.ObjectPath tablePath) |
fromJDBCType, listTablesalterDatabase, alterFunction, alterPartition, alterPartitionColumnStatistics, alterPartitionStatistics, alterTable, alterTableColumnStatistics, alterTableStatistics, close, createDatabase, createFunction, createPartition, createTable, databaseExists, dropDatabase, dropFunction, dropPartition, dropTable, equals, extractColumnValuesBySQL, extractColumnValuesByStatement, functionExists, getBaseUrl, getDatabase, getDatabaseUrl, getFactory, getFunction, getOptions, getPartition, getPartitionColumnStatistics, getPartitionStatistics, getPassword, getPrimaryKey, getTable, getTableColumnStatistics, getTableStatistics, getUsername, hashCode, listFunctions, listPartitions, listPartitions, listPartitionsByFilter, listViews, open, partitionExists, renameTable, validateJdbcUrl@VisibleForTesting public CrateDBCatalog(ClassLoader userClassLoader, String catalogName, String defaultDatabase, String username, String pwd, String baseUrl)
public CrateDBCatalog(ClassLoader userClassLoader, String catalogName, String defaultDatabase, String baseUrl, Properties connecProperties)
public List<String> listDatabases() throws org.apache.flink.table.catalog.exceptions.CatalogException
listDatabases 在接口中 org.apache.flink.table.catalog.CataloglistDatabases 在类中 org.apache.flink.connector.jdbc.postgres.database.catalog.PostgresCatalogorg.apache.flink.table.catalog.exceptions.CatalogExceptionprotected Set<String> getBuiltinSchemas()
getBuiltinSchemas 在类中 org.apache.flink.connector.jdbc.postgres.database.catalog.PostgresCatalogprotected List<String> getPureTables(Connection conn, List<String> schemas) throws SQLException
getPureTables 在类中 org.apache.flink.connector.jdbc.postgres.database.catalog.PostgresCatalogSQLExceptionpublic boolean tableExists(org.apache.flink.table.catalog.ObjectPath tablePath)
throws org.apache.flink.table.catalog.exceptions.CatalogException
tableExists 在接口中 org.apache.flink.table.catalog.CatalogtableExists 在类中 org.apache.flink.connector.jdbc.postgres.database.catalog.PostgresCatalogorg.apache.flink.table.catalog.exceptions.CatalogExceptionprotected String getTableName(org.apache.flink.table.catalog.ObjectPath tablePath)
getTableName 在类中 org.apache.flink.connector.jdbc.postgres.database.catalog.PostgresCatalogprotected String getSchemaName(org.apache.flink.table.catalog.ObjectPath tablePath)
getSchemaName 在类中 org.apache.flink.connector.jdbc.postgres.database.catalog.PostgresCatalogprotected String getSchemaTableName(org.apache.flink.table.catalog.ObjectPath tablePath)
getSchemaTableName 在类中 org.apache.flink.connector.jdbc.postgres.database.catalog.PostgresCatalogCopyright © 2022–2025 The Apache Software Foundation. All rights reserved.