| Package | Description |
|---|---|
| org.apache.hive.jdbc | |
| org.apache.hive.jdbc.saml |
| Modifier and Type | Method and Description |
|---|---|
static Utils.JdbcConnectionParams |
Utils.extractURLComponents(String uri,
Properties info)
This method handles the base parsing of the given jdbc uri.
|
Utils.JdbcConnectionParams |
HiveConnection.getConnParams() |
static Utils.JdbcConnectionParams |
Utils.parseURL(String uri) |
static Utils.JdbcConnectionParams |
Utils.parseURL(String uri,
Properties info)
Parse JDBC connection URL
The new format of the URL is:
jdbc:hive2://<host1>:<port1>,<host2>:<port2>/dbName;sess_var_list?hive_conf_list#hive_var_list
where the optional sess, conf and var lists are semicolon separated <key>=<val> pairs.
|
Utils.JdbcConnectionParams |
HiveConnection.setConnParams(Utils.JdbcConnectionParams jdbcConnectionParams) |
| Modifier and Type | Method and Description |
|---|---|
static List<Utils.JdbcConnectionParams> |
HiveConnection.getAllUrls(String zookeeperBasedHS2Url)
Get all direct HiveServer2 URLs from a ZooKeeper based HiveServer2 URL
|
| Modifier and Type | Method and Description |
|---|---|
Utils.JdbcConnectionParams |
HiveConnection.setConnParams(Utils.JdbcConnectionParams jdbcConnectionParams) |
void |
HiveConnection.updateServerHiveConf(Map<String,String> serverHiveConf,
Utils.JdbcConnectionParams connParams) |
| Constructor and Description |
|---|
JdbcConnectionParams(Utils.JdbcConnectionParams params) |
| Modifier and Type | Method and Description |
|---|---|
IJdbcBrowserClient |
IJdbcBrowserClientFactory.create(Utils.JdbcConnectionParams connectionParams)
Create a
IJdbcBrowserClient from a the given Utils.JdbcConnectionParams |
IJdbcBrowserClient |
HiveJdbcBrowserClientFactory.create(Utils.JdbcConnectionParams jdbcParams)
Returns an instance of
IJdbcBrowserClient as per the configuration. |
Copyright © 2024 The Apache Software Foundation. All rights reserved.