Class SharedHiveMetastoreCache.CachingHiveMetastoreFactory
java.lang.Object
io.trino.plugin.hive.metastore.cache.SharedHiveMetastoreCache.CachingHiveMetastoreFactory
- All Implemented Interfaces:
HiveMetastoreFactory
- Enclosing class:
SharedHiveMetastoreCache
public static class SharedHiveMetastoreCache.CachingHiveMetastoreFactory
extends Object
implements HiveMetastoreFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.plugin.hive.metastore.HiveMetastoreFactory
HiveMetastoreFactory.StaticHiveMetastoreFactory -
Method Summary
Modifier and TypeMethodDescriptioncreateMetastore(Optional<ConnectorIdentity> identity) Create a metastore instance for the identity.booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.plugin.hive.metastore.HiveMetastoreFactory
hasBuiltInCaching
-
Method Details
-
isImpersonationEnabled
public boolean isImpersonationEnabled()- Specified by:
isImpersonationEnabledin interfaceHiveMetastoreFactory
-
createMetastore
Description copied from interface:HiveMetastoreFactoryCreate a metastore instance for the identity. An empty identity will only be provided when impersonation is disabled, and global caching is enabled.- Specified by:
createMetastorein interfaceHiveMetastoreFactory
-
getMetastore
-