|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.driver.hive.RemoteThriftConnection
public class RemoteThriftConnection
Connect to a remote Hive Server 2 service to run driver queries.
Field Summary | |
---|---|
static org.apache.commons.logging.Log |
LOG
The Constant LOG. |
Constructor Summary | |
---|---|
RemoteThriftConnection()
Instantiates a new remote thrift connection. |
Method Summary | |
---|---|
void |
close()
|
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 class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.commons.logging.Log LOG
Constructor Detail |
---|
public RemoteThriftConnection()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |