Package io.trino.plugin.hive.metastore
Interface HiveMetastoreFactory
-
- All Known Implementing Classes:
AlluxioHiveMetastoreFactory,BridgingHiveMetastoreFactory,FileHiveMetastoreFactory,GlueHiveMetastoreFactory,HiveMetastoreFactory.StaticHiveMetastoreFactory,SharedHiveMetastoreCache.CachingHiveMetastoreFactory,SharedHiveMetastoreCache.ImpersonationCachingHiveMetastoreFactory
public interface HiveMetastoreFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHiveMetastoreFactory.StaticHiveMetastoreFactory
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description HiveMetastorecreateMetastore(Optional<ConnectorIdentity> identity)Create a metastore instance for the identity.booleanisImpersonationEnabled()static HiveMetastoreFactoryofInstance(HiveMetastore metastore)
-
-
-
Method Detail
-
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)
-
-