| Constructor and Description |
|---|
ClickHouseDriver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsURL(String url) |
ClickHouseConnection |
connect(String url,
ClickHouseProperties properties) |
ClickHouseConnection |
connect(String url,
Properties info) |
int |
getMajorVersion() |
int |
getMinorVersion() |
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info) |
boolean |
jdbcCompliant() |
void |
scheduleConnectionsCleaning(int rate,
TimeUnit timeUnit)
Schedules connections cleaning at a rate.
|
public ClickHouseConnection connect(String url, Properties info) throws SQLException
connect in interface DriverSQLExceptionpublic ClickHouseConnection connect(String url, ClickHouseProperties properties) throws SQLException
SQLExceptionpublic boolean acceptsURL(String url) throws SQLException
acceptsURL in interface DriverSQLExceptionpublic DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo in interface DriverSQLExceptionpublic int getMajorVersion()
getMajorVersion in interface Driverpublic int getMinorVersion()
getMinorVersion in interface Driverpublic boolean jdbcCompliant()
jdbcCompliant in interface Driverpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface DriverSQLFeatureNotSupportedExceptionpublic void scheduleConnectionsCleaning(int rate,
TimeUnit timeUnit)
rate - period when checking would be performedtimeUnit - time unit of rateCopyright © 2020. All rights reserved.