Package com.firebolt.jdbc.util
Class PropertyUtil
java.lang.Object
com.firebolt.jdbc.util.PropertyUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPropertyInfo
(String url, Properties properties) Returns an array containing the properties used by the driverboolean
isLocalDb
(FireboltProperties fireboltProperties) Returns true if the host property is localhoststatic Properties
mergeProperties
(Properties... properties)
-
Constructor Details
-
PropertyUtil
public PropertyUtil()
-
-
Method Details
-
getPropertyInfo
Returns an array containing the properties used by the driver- Parameters:
url
- the JDBC urlproperties
- the properties- Returns:
- an array containing the properties used by the driver
-
isLocalDb
Returns true if the host property is localhost- Parameters:
fireboltProperties
- the properties- Returns:
- true if the host property is localhost
-
mergeProperties
-