Package org.apache.flink.table.catalog
Class AbstractCatalog
java.lang.Object
org.apache.flink.table.catalog.AbstractCatalog
- All Implemented Interfaces:
Catalog
Abstract class for catalogs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the default database for this catalog.getName()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.catalog.Catalog
alterDatabase, alterFunction, alterModel, alterPartition, alterPartitionColumnStatistics, alterPartitionStatistics, alterTable, alterTable, alterTableColumnStatistics, alterTableStatistics, bulkGetPartitionColumnStatistics, bulkGetPartitionStatistics, close, createDatabase, createFunction, createModel, createPartition, createTable, databaseExists, dropDatabase, dropDatabase, dropFunction, dropModel, dropPartition, dropTable, functionExists, getDatabase, getFactory, getFunction, getFunctionDefinitionFactory, getModel, getPartition, getPartitionColumnStatistics, getPartitionStatistics, getProcedure, getTable, getTable, getTableColumnStatistics, getTableStatistics, listDatabases, listFunctions, listModels, listPartitions, listPartitions, listPartitionsByFilter, listProcedures, listTables, listViews, modelExists, open, partitionExists, renameModel, renameTable, tableExists
-
Constructor Details
-
AbstractCatalog
-
-
Method Details
-
getName
-
getDefaultDatabase
Description copied from interface:CatalogGet the name of the default database for this catalog. The default database will be the current database for the catalog when user's session doesn't specify a current database. The value probably comes from configuration, will not change for the life time of the catalog instance.If the default database is null, users will need to set a current database themselves or qualify identifiers at least with the database name when using the catalog.
- Specified by:
getDefaultDatabasein interfaceCatalog- Returns:
- the name of the current database
-