public class EmbeddedThriftConnection extends Object implements ThriftConnection
| Constructor and Description |
|---|
EmbeddedThriftConnection() |
public org.apache.hive.service.cli.thrift.ThriftCLIServiceClient getClient()
throws LensException
ThriftConnectiongetClient in interface ThriftConnectionLensException - the lens exceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void init(org.apache.hadoop.hive.conf.HiveConf conf,
String user)
ThriftConnectioninit in interface ThriftConnectionCopyright © 2014–2015 Apache Software Foundation. All rights reserved.