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