This project has retired. For details please refer to its Attic page.
ThriftConnection (Lens 2.1.0-beta-incubating API)

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()
          Gets the client.
 void init(org.apache.hadoop.hive.conf.HiveConf conf, String user)
          Initializes connection with conf.
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

getClient

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

Returns:
the client
Throws:
LensException - the lens exception

init

void init(org.apache.hadoop.hive.conf.HiveConf conf,
          String user)
Initializes connection with conf.

Parameters:
conf -
user -


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