public interface ThriftConnection extends Closeable
Modifier and Type | Method and Description |
---|---|
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.
|
org.apache.hive.service.cli.CLIServiceClient getClient() throws LensException
LensException
- the lens exceptionvoid init(org.apache.hadoop.hive.conf.HiveConf conf, String user)
conf
- user
- Copyright © 2014–2018 Apache Software Foundation. All rights reserved.