Class GlueHiveMetastoreFactory
java.lang.Object
io.trino.plugin.hive.metastore.glue.GlueHiveMetastoreFactory
- All Implemented Interfaces:
HiveMetastoreFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.trino.plugin.hive.metastore.HiveMetastoreFactory
HiveMetastoreFactory.StaticHiveMetastoreFactory -
Constructor Summary
ConstructorsConstructorDescriptionGlueHiveMetastoreFactory(GlueHiveMetastore metastore, io.opentelemetry.api.trace.Tracer tracer) -
Method Summary
Modifier and TypeMethodDescriptioncreateMetastore(Optional<ConnectorIdentity> identity) Create a metastore instance for the identity.booleanboolean
-
Constructor Details
-
GlueHiveMetastoreFactory
@Inject public GlueHiveMetastoreFactory(GlueHiveMetastore metastore, io.opentelemetry.api.trace.Tracer tracer)
-
-
Method Details
-
hasBuiltInCaching
public boolean hasBuiltInCaching()- Specified by:
hasBuiltInCachingin interfaceHiveMetastoreFactory
-
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
-