public class RemoteThriftConnection extends Object implements ThriftConnection
| Constructor and Description |
|---|
RemoteThriftConnection()
Instantiates a new remote thrift connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.apache.hive.service.cli.CLIServiceClient |
getClient()
Gets the client.
|
void |
init(org.apache.hadoop.hive.conf.HiveConf conf,
String user)
Initializes connection with conf.
|
public RemoteThriftConnection()
public void init(org.apache.hadoop.hive.conf.HiveConf conf,
String user)
ThriftConnectioninit in interface ThriftConnectionpublic org.apache.hive.service.cli.CLIServiceClient getClient()
throws LensException
ThriftConnectiongetClient in interface ThriftConnectionLensException - the lens exceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2014–2018 Apache Software Foundation. All rights reserved.