public class HiveMetastoreClientFactory extends Object
| Constructor and Description |
|---|
HiveMetastoreClientFactory(HiveConfig config,
HiveMetastoreAuthentication metastoreAuthentication) |
HiveMetastoreClientFactory(Optional<SSLContext> sslContext,
Optional<com.google.common.net.HostAndPort> socksProxy,
io.airlift.units.Duration timeout,
HiveMetastoreAuthentication metastoreAuthentication) |
| Modifier and Type | Method and Description |
|---|---|
ThriftMetastoreClient |
create(com.google.common.net.HostAndPort address) |
public HiveMetastoreClientFactory(Optional<SSLContext> sslContext, Optional<com.google.common.net.HostAndPort> socksProxy, io.airlift.units.Duration timeout, HiveMetastoreAuthentication metastoreAuthentication)
@Inject public HiveMetastoreClientFactory(HiveConfig config, HiveMetastoreAuthentication metastoreAuthentication)
public ThriftMetastoreClient create(com.google.common.net.HostAndPort address) throws org.apache.thrift.transport.TTransportException
org.apache.thrift.transport.TTransportExceptionCopyright © 2012–2019. All rights reserved.