org.apache.lens.driver.hive
Interface ThriftConnection

All Superinterfaces:
Closeable
All Known Implementing Classes:
EmbeddedThriftConnection, RemoteThriftConnection

public interface ThriftConnection
extends Closeable

The Interface ThriftConnection.


Method Summary
 org.apache.hive.service.cli.CLIServiceClient getClient(org.apache.hadoop.hive.conf.HiveConf conf)
          Gets the client.
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

getClient

org.apache.hive.service.cli.CLIServiceClient getClient(org.apache.hadoop.hive.conf.HiveConf conf)
                                                       throws LensException
Gets the client.

Parameters:
conf - the conf
Returns:
the client
Throws:
LensException - the lens exception


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.