public class RemoteThriftConnection extends Object implements ThriftConnection
Constructor and Description |
---|
RemoteThriftConnection()
Instantiates a new remote thrift connection.
|
public RemoteThriftConnection()
public void init(org.apache.hadoop.hive.conf.HiveConf conf, String user)
ThriftConnection
init
in interface ThriftConnection
public org.apache.hive.service.cli.CLIServiceClient getClient() throws LensException
ThriftConnection
getClient
in interface ThriftConnection
LensException
- the lens exceptionpublic void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.