Class JdbcConfiguration

java.lang.Object
com.clickhouse.jdbc.internal.JdbcConfiguration

public class JdbcConfiguration extends Object
  • Field Details

  • Constructor Details

    • JdbcConfiguration

      public JdbcConfiguration(String url, Properties info) throws SQLException
      Parses URL to get property and target host. Properties that are passed in the info parameter will override that are set in the url.
      Parameters:
      url - - JDBC url
      info - - Driver and Client properties.
      Throws:
      SQLException
  • Method Details

    • isDisableFrameworkDetection

      public boolean isDisableFrameworkDetection()
    • isIgnoreUnsupportedRequests

      public boolean isIgnoreUnsupportedRequests()
    • acceptsURL

      public static boolean acceptsURL(String url)
    • getConnectionUrl

      public String getConnectionUrl()
    • getDriverPropertyInfo

      public List<DriverPropertyInfo> getDriverPropertyInfo()
      Returns a list of driver property information.
      Returns:
      a list of driver property information for the driver
    • getDriverProperty

      public String getDriverProperty(String key, String defaultValue)
    • applyClientProperties

      public Client.Builder applyClientProperties(Client.Builder builder)
    • updateUserClient

      public void updateUserClient(String clientName, Client client)
    • getDefaultClientName

      public static String getDefaultClientName()