Package com.clickhouse.jdbc.internal
Class JdbcConfiguration
java.lang.Object
com.clickhouse.jdbc.internal.JdbcConfiguration
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJdbcConfiguration(String url, Properties info) Parses URL to get property and target host. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanacceptsURL(String url) applyClientProperties(Client.Builder builder) static StringgetDriverProperty(String key, String defaultValue) Returns a list of driver property information.booleanbooleanvoidupdateUserClient(String clientName, Client client)
-
Field Details
-
PREFIX_CLICKHOUSE
- See Also:
-
PREFIX_CLICKHOUSE_SHORT
- See Also:
-
USE_SSL_PROP
- See Also:
-
-
Constructor Details
-
JdbcConfiguration
Parses URL to get property and target host. Properties that are passed in theinfoparameter will override that are set in theurl.- Parameters:
url- - JDBC urlinfo- - Driver and Client properties.- Throws:
SQLException
-
-
Method Details
-
isDisableFrameworkDetection
public boolean isDisableFrameworkDetection() -
isIgnoreUnsupportedRequests
public boolean isIgnoreUnsupportedRequests() -
acceptsURL
-
getConnectionUrl
-
getDriverPropertyInfo
Returns a list of driver property information.- Returns:
- a list of driver property information for the driver
-
getDriverProperty
-
applyClientProperties
-
updateUserClient
-
getDefaultClientName
-