public class RemoteThriftConnection extends Object implements ThriftConnection
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
LOG
The Constant LOG.
|
| Constructor and Description |
|---|
RemoteThriftConnection()
Instantiates a new remote thrift connection.
|
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–2015 Apache Software Foundation. All rights reserved.