Class HttpThriftMetastoreClientFactory
java.lang.Object
io.trino.plugin.hive.metastore.thrift.HttpThriftMetastoreClientFactory
- All Implemented Interfaces:
ThriftMetastoreClientFactory
public class HttpThriftMetastoreClientFactory
extends Object
implements ThriftMetastoreClientFactory
-
Constructor Summary
ConstructorsConstructorDescriptionHttpThriftMetastoreClientFactory(ThriftHttpMetastoreConfig httpMetastoreConfig, NodeManager nodeManager, io.opentelemetry.api.OpenTelemetry openTelemetry) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
HttpThriftMetastoreClientFactory
@Inject public HttpThriftMetastoreClientFactory(ThriftHttpMetastoreConfig httpMetastoreConfig, NodeManager nodeManager, io.opentelemetry.api.OpenTelemetry openTelemetry)
-
-
Method Details
-
create
public ThriftMetastoreClient create(URI uri, Optional<String> delegationToken) throws org.apache.thrift.transport.TTransportException - Specified by:
createin interfaceThriftMetastoreClientFactory- Throws:
org.apache.thrift.transport.TTransportException
-