Class GlueHiveMetastoreFactory
- java.lang.Object
-
- io.trino.plugin.hive.metastore.glue.GlueHiveMetastoreFactory
-
- All Implemented Interfaces:
HiveMetastoreFactory
public class GlueHiveMetastoreFactory extends Object implements HiveMetastoreFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.trino.plugin.hive.metastore.HiveMetastoreFactory
HiveMetastoreFactory.StaticHiveMetastoreFactory
-
-
Constructor Summary
Constructors Constructor Description GlueHiveMetastoreFactory(GlueHiveMetastore metastore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HiveMetastorecreateMetastore(Optional<ConnectorIdentity> identity)Create a metastore instance for the identity.GlueHiveMetastoregetMetastore()booleanisImpersonationEnabled()
-
-
-
Constructor Detail
-
GlueHiveMetastoreFactory
@Inject public GlueHiveMetastoreFactory(GlueHiveMetastore metastore)
-
-
Method Detail
-
getMetastore
public GlueHiveMetastore getMetastore()
-
isImpersonationEnabled
public boolean isImpersonationEnabled()
- Specified by:
isImpersonationEnabledin interfaceHiveMetastoreFactory
-
createMetastore
public HiveMetastore createMetastore(Optional<ConnectorIdentity> identity)
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
-
-