SupportsNamespaces¶
SupportsNamespaces is an extension of the CatalogPlugin abstraction for catalogs with namespace support.
Contract (Subset)¶
Create Namespace¶
Creates a multi-part namespace in this catalog
Used when:
DelegatingCatalogExtensionis requested to createNamespaceCREATE NAMESPACEcommand is executed
List Namespaces¶
Lists the top-level namespaces from this catalog
Used when:
DelegatingCatalogExtensionis requested to listNamespacesSHOW NAMESPACEScommand is executed
Load Namespace Metadata¶
Loads metadata properties for the namespace
Used when:
DelegatingCatalogExtensionis requested to loadNamespaceMetadataSupportsNamespacesis requested to namespaceExistsDESCRIBE NAMESPACEcommand is executedCatalogImplis requested to getNamespace
Check If Namespace Exists¶
By default, namespaceExists tries to load the namespace metadata in this catalog. For a successful load, namespaceExists is positive (true).
Used when:
CatalogManageris requested to setCurrentNamespaceCatalogImplis requested to databaseExistsDelegatingCatalogExtensionis requested to namespaceExistsCREATE NAMESPACEcommand is executedDROP NAMESPACEcommand is executed