Interface HiveMetastoreFactory
- All Known Implementing Classes:
BridgingHiveMetastoreFactory,FileHiveMetastoreFactory,GlueHiveMetastoreFactory,GlueHiveMetastoreFactory,HiveMetastoreFactory.StaticHiveMetastoreFactory,SharedHiveMetastoreCache.CachingHiveMetastoreFactory,SharedHiveMetastoreCache.ImpersonationCachingHiveMetastoreFactory
public interface HiveMetastoreFactory
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptioncreateMetastore(Optional<ConnectorIdentity> identity) Create a metastore instance for the identity.default booleanbooleanstatic HiveMetastoreFactoryofInstance(HiveMetastore metastore)
-
Method Details
-
hasBuiltInCaching
default boolean hasBuiltInCaching() -
isImpersonationEnabled
boolean isImpersonationEnabled() -
createMetastore
Create a metastore instance for the identity. An empty identity will only be provided when impersonation is disabled, and global caching is enabled. -
ofInstance
-