Class PropertyUtil

java.lang.Object
com.firebolt.jdbc.util.PropertyUtil

public class PropertyUtil extends Object
  • Constructor Details

    • PropertyUtil

      public PropertyUtil()
  • Method Details

    • getPropertyInfo

      public DriverPropertyInfo[] getPropertyInfo(String url, Properties properties)
      Returns an array containing the properties used by the driver
      Parameters:
      url - the JDBC url
      properties - the properties
      Returns:
      an array containing the properties used by the driver
    • isLocalDb

      public boolean isLocalDb(FireboltProperties fireboltProperties)
      Returns true if the host property is localhost
      Parameters:
      fireboltProperties - the properties
      Returns:
      true if the host property is localhost
    • mergeProperties

      public static Properties mergeProperties(Properties... properties)