Class UgiBasedMetastoreClientFactory
java.lang.Object
io.trino.plugin.hive.metastore.thrift.UgiBasedMetastoreClientFactory
- All Implemented Interfaces:
IdentityAwareMetastoreClientFactory
public class UgiBasedMetastoreClientFactory
extends Object
implements IdentityAwareMetastoreClientFactory
-
Constructor Summary
ConstructorsConstructorDescriptionUgiBasedMetastoreClientFactory(TokenAwareMetastoreClientFactory clientProvider, UserNameProvider userNameProvider, ThriftMetastoreConfig thriftConfig) -
Method Summary
-
Constructor Details
-
UgiBasedMetastoreClientFactory
@Inject public UgiBasedMetastoreClientFactory(TokenAwareMetastoreClientFactory clientProvider, UserNameProvider userNameProvider, ThriftMetastoreConfig thriftConfig)
-
-
Method Details
-
createMetastoreClientFor
public ThriftMetastoreClient createMetastoreClientFor(Optional<ConnectorIdentity> identity) throws org.apache.thrift.TException - Specified by:
createMetastoreClientForin interfaceIdentityAwareMetastoreClientFactory- Throws:
org.apache.thrift.TException
-