Package com.clickhouse.jdbc
Class Driver
java.lang.Object
com.clickhouse.jdbc.Driver
- All Implemented Interfaces:
Driver
JDBC driver for ClickHouse.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) static StringchSettingKey(String key) connect(String url, Properties info) static intstatic intintintgetPropertyInfo(String url, Properties info) booleanstatic voidload()static voidunload()
-
Field Details
-
driverVersion
-
majorVersion
public static final int majorVersion -
minorVersion
public static final int minorVersion -
frameworksDetected
-
DRIVER_CLIENT_NAME
- See Also:
-
-
Constructor Details
-
Driver
public Driver() -
Driver
-
-
Method Details
-
load
public static void load() -
unload
public static void unload() -
connect
- Specified by:
connectin interfaceDriver- Throws:
SQLException
-
acceptsURL
- Specified by:
acceptsURLin interfaceDriver- Throws:
SQLException
-
getPropertyInfo
- Specified by:
getPropertyInfoin interfaceDriver- Throws:
SQLException
-
getDriverMajorVersion
public static int getDriverMajorVersion() -
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceDriver
-
getDriverMinorVersion
public static int getDriverMinorVersion() -
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliantin interfaceDriver
-
chSettingKey
-
getParentLogger
- Specified by:
getParentLoggerin interfaceDriver- Throws:
SQLFeatureNotSupportedException
-