Class ThriftHiveMetastoreFactory
- java.lang.Object
-
- io.trino.plugin.hive.metastore.thrift.ThriftHiveMetastoreFactory
-
- All Implemented Interfaces:
ThriftMetastoreFactory
public class ThriftHiveMetastoreFactory extends Object implements ThriftMetastoreFactory
-
-
Constructor Summary
Constructors Constructor Description ThriftHiveMetastoreFactory(TokenDelegationThriftMetastoreFactory metastoreFactory, boolean hideDeltaLakeTables, boolean translateHiveViews, ThriftMetastoreConfig thriftConfig, HdfsEnvironment hdfsEnvironment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThriftMetastorecreateMetastore(Optional<ConnectorIdentity> identity)ThriftMetastoreStatsgetStats()booleanisImpersonationEnabled()
-
-
-
Constructor Detail
-
ThriftHiveMetastoreFactory
@Inject public ThriftHiveMetastoreFactory(TokenDelegationThriftMetastoreFactory metastoreFactory, boolean hideDeltaLakeTables, boolean translateHiveViews, ThriftMetastoreConfig thriftConfig, HdfsEnvironment hdfsEnvironment)
-
-
Method Detail
-
getStats
public ThriftMetastoreStats getStats()
-
isImpersonationEnabled
public boolean isImpersonationEnabled()
- Specified by:
isImpersonationEnabledin interfaceThriftMetastoreFactory
-
createMetastore
public ThriftMetastore createMetastore(Optional<ConnectorIdentity> identity)
- Specified by:
createMetastorein interfaceThriftMetastoreFactory
-
-