Package io.trino.hive.thrift.metastore
Class ThriftHiveMetastore.AsyncClient.Factory
java.lang.Object
io.trino.hive.thrift.metastore.ThriftHiveMetastore.AsyncClient.Factory
- All Implemented Interfaces:
org.apache.thrift.async.TAsyncClientFactory<ThriftHiveMetastore.AsyncClient>
- Enclosing class:
- ThriftHiveMetastore.AsyncClient
public static class ThriftHiveMetastore.AsyncClient.Factory
extends Object
implements org.apache.thrift.async.TAsyncClientFactory<ThriftHiveMetastore.AsyncClient>
-
Constructor Summary
ConstructorsConstructorDescriptionFactory(org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.protocol.TProtocolFactory protocolFactory) -
Method Summary
Modifier and TypeMethodDescriptiongetAsyncClient(org.apache.thrift.transport.TNonblockingTransport transport)
-
Constructor Details
-
Factory
public Factory(org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.protocol.TProtocolFactory protocolFactory)
-
-
Method Details
-
getAsyncClient
public ThriftHiveMetastore.AsyncClient getAsyncClient(org.apache.thrift.transport.TNonblockingTransport transport) - Specified by:
getAsyncClientin interfaceorg.apache.thrift.async.TAsyncClientFactory<ThriftHiveMetastore.AsyncClient>
-