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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.iceberg.catalog.Catalog
    createCatalog(org.apache.polaris.core.connection.ConnectionConfigInfoDpo connectionConfigInfoDpo, org.apache.polaris.core.credentials.PolarisCredentialManager polarisCredentialManager)
     
    org.apache.polaris.core.catalog.GenericTableCatalog
    createGenericCatalog(org.apache.polaris.core.connection.ConnectionConfigInfoDpo connectionConfig, org.apache.polaris.core.credentials.PolarisCredentialManager polarisCredentialManager)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      createCatalog in interface org.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:
      createGenericCatalog in interface org.apache.polaris.core.catalog.ExternalCatalogFactory