Class HiveFederatedCatalogFactory
java.lang.Object
org.apache.polaris.extensions.federation.hive.HiveFederatedCatalogFactory
- All Implemented Interfaces:
org.apache.polaris.core.catalog.ExternalCatalogFactory
@ApplicationScoped
@Identifier("hive")
public class HiveFederatedCatalogFactory
extends Object
implements org.apache.polaris.core.catalog.ExternalCatalogFactory
Factory class for creating a Hive catalog handle based on connection configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.iceberg.catalog.CatalogcreateCatalog(org.apache.polaris.core.connection.ConnectionConfigInfoDpo connectionConfigInfoDpo, org.apache.polaris.core.credentials.PolarisCredentialManager polarisCredentialManager) org.apache.polaris.core.catalog.GenericTableCatalogcreateGenericCatalog(org.apache.polaris.core.connection.ConnectionConfigInfoDpo connectionConfig, org.apache.polaris.core.credentials.PolarisCredentialManager polarisCredentialManager)
-
Constructor Details
-
HiveFederatedCatalogFactory
public HiveFederatedCatalogFactory()
-
-
Method Details
-
createCatalog
public org.apache.iceberg.catalog.Catalog createCatalog(org.apache.polaris.core.connection.ConnectionConfigInfoDpo connectionConfigInfoDpo, org.apache.polaris.core.credentials.PolarisCredentialManager polarisCredentialManager) - Specified by:
createCatalogin interfaceorg.apache.polaris.core.catalog.ExternalCatalogFactory
-
createGenericCatalog
public org.apache.polaris.core.catalog.GenericTableCatalog createGenericCatalog(org.apache.polaris.core.connection.ConnectionConfigInfoDpo connectionConfig, org.apache.polaris.core.credentials.PolarisCredentialManager polarisCredentialManager) - Specified by:
createGenericCatalogin interfaceorg.apache.polaris.core.catalog.ExternalCatalogFactory
-