Skip to content

DelegatingCatalogExtension

DelegatingCatalogExtension is an extension of the CatalogExtension abstraction for catalogs that delegate unsupported catalog extensions to the Delegate Catalog.

DelegatingCatalogExtension is a convenience abstraction so that Spark extensions developers can focus on a subset of the CatalogExtension features.

Delegate Catalog

DelegatingCatalogExtension can be given a CatalogPlugin to handle the following (unless overriden):

The CatalogPlugin is assigned at setDelegateCatalog.

setDelegateCatalog

CatalogExtension
void setDelegateCatalog(
  CatalogPlugin delegate)

setDelegateCatalog is part of the CatalogExtension abstraction.

setDelegateCatalog sets this CatalogPlugin.

Final Method

setDelegateCatalog is a Java final method to prevent subclasses from overriding or hiding it.

Learn more in the Java Language Specification.