public class HS2ConnectionFileUtils extends Object
Constructor and Description |
---|
HS2ConnectionFileUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getNamedUrl(Properties userNamedConnectionURLs,
String urlName) |
static String |
getUrl(Properties props) |
static Properties |
mergeUserConnectionPropertiesAndBeelineSite(Properties userConnectionProperties,
Utils.JdbcConnectionParams jdbcConnectionParams)
Merge the connection properties read from beeline-hs2-connection.xml with the
JdbcConnectionParams extracted from the jdbc url specified in beeline.xml
|
public static String getUrl(Properties props) throws BeelineHS2ConnectionFileParseException
public static String getNamedUrl(Properties userNamedConnectionURLs, String urlName) throws BeelineSiteParseException
BeelineSiteParseException
public static Properties mergeUserConnectionPropertiesAndBeelineSite(Properties userConnectionProperties, Utils.JdbcConnectionParams jdbcConnectionParams) throws BeelineHS2ConnectionFileParseException
userConnectionProperties
- jdbcConnectionParams
- BeelineHS2ConnectionFileParseException
Copyright © 2022 The Apache Software Foundation. All rights reserved.