@Evolving public interface CatalogExtension extends TableCatalog, FunctionCatalog, SupportsNamespaces
setDelegateCatalog(CatalogPlugin), implement catalog functions with
some custom logic and call the built-in session catalog at the end. For example, they can
implement createTable, do something else before calling createTable of the
built-in session catalog.OPTION_PREFIX, PROP_COMMENT, PROP_EXTERNAL, PROP_IS_MANAGED_LOCATION, PROP_LOCATION, PROP_OWNER, PROP_PROVIDERPROP_COMMENT, PROP_LOCATION, PROP_OWNER| Modifier and Type | Method and Description |
|---|---|
void |
setDelegateCatalog(CatalogPlugin delegate)
This will be called only once by Spark to pass in the Spark built-in session catalog, after
CatalogPlugin.initialize(String, CaseInsensitiveStringMap) is called. |
alterTable, capabilities, createTable, createTable, dropTable, invalidateTable, listTables, loadTable, loadTable, loadTable, loadTable, purgeTable, renameTable, tableExists, useNullableQuerySchemafunctionExists, listFunctions, loadFunctionalterNamespace, createNamespace, dropNamespace, listNamespaces, listNamespaces, loadNamespaceMetadata, namespaceExistsdefaultNamespace, initialize, namevoid setDelegateCatalog(CatalogPlugin delegate)
CatalogPlugin.initialize(String, CaseInsensitiveStringMap) is called.