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