Class ThriftHttpMetastoreFactory
java.lang.Object
io.trino.plugin.hive.metastore.thrift.ThriftHttpMetastoreFactory
- All Implemented Interfaces:
ThriftMetastoreFactory
-
Constructor Summary
ConstructorsConstructorDescriptionThriftHttpMetastoreFactory(TrinoFileSystemFactory fileSystemFactory, IdentityAwareMetastoreClientFactory metastoreClientFactory, ExecutorService writeStatisticsExecutor) -
Method Summary
Modifier and TypeMethodDescriptioncreateMetastore(Optional<ConnectorIdentity> identity) getStats()boolean
-
Constructor Details
-
ThriftHttpMetastoreFactory
@Inject public ThriftHttpMetastoreFactory(TrinoFileSystemFactory fileSystemFactory, IdentityAwareMetastoreClientFactory metastoreClientFactory, ExecutorService writeStatisticsExecutor)
-
-
Method Details
-
isImpersonationEnabled
public boolean isImpersonationEnabled()- Specified by:
isImpersonationEnabledin interfaceThriftMetastoreFactory
-
createMetastore
- Specified by:
createMetastorein interfaceThriftMetastoreFactory
-
getStats
-