@Internal public abstract class AbstractCatalog extends Object implements Catalog
Constructor and Description |
---|
AbstractCatalog(String name,
String defaultDatabase) |
Modifier and Type | Method and Description |
---|---|
String |
getDefaultDatabase()
Get the name of the default database for this catalog.
|
String |
getName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
alterDatabase, alterFunction, alterPartition, alterPartitionColumnStatistics, alterPartitionStatistics, alterTable, alterTable, alterTableColumnStatistics, alterTableStatistics, bulkGetPartitionColumnStatistics, bulkGetPartitionStatistics, close, createDatabase, createFunction, createPartition, createTable, databaseExists, dropDatabase, dropDatabase, dropFunction, dropPartition, dropTable, functionExists, getDatabase, getFactory, getFunction, getFunctionDefinitionFactory, getPartition, getPartitionColumnStatistics, getPartitionStatistics, getProcedure, getTable, getTable, getTableColumnStatistics, getTableFactory, getTableStatistics, listDatabases, listFunctions, listPartitions, listPartitions, listPartitionsByFilter, listProcedures, listTables, listViews, open, partitionExists, renameTable, supportsManagedTable, tableExists
public String getName()
public String getDefaultDatabase()
Catalog
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.
getDefaultDatabase
in interface Catalog
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.