Interface HiveMetastoreFactory

All Known Implementing Classes:
BridgingHiveMetastoreFactory, FileHiveMetastoreFactory, GlueHiveMetastoreFactory, HiveMetastoreFactory.StaticHiveMetastoreFactory, SharedHiveMetastoreCache.CachingHiveMetastoreFactory, SharedHiveMetastoreCache.ImpersonationCachingHiveMetastoreFactory

public interface HiveMetastoreFactory
  • Method Details

    • isImpersonationEnabled

      boolean isImpersonationEnabled()
    • createMetastore

      HiveMetastore createMetastore(Optional<ConnectorIdentity> identity)
      Create a metastore instance for the identity. An empty identity will only be provided when impersonation is disabled, and global caching is enabled.
    • ofInstance

      static HiveMetastoreFactory ofInstance(HiveMetastore metastore)