Package com.clickhouse.jdbc
Class DriverV1
java.lang.Object
com.clickhouse.jdbc.DriverV1
- All Implemented Interfaces:
Driver
Deprecated.
JDBC driver for ClickHouse. It takes a connection string like below for
connecting to ClickHouse server:
jdbc:(ch|clickhouse)[:<protocol>]://[<user>[:<password>]@]<host>[:<port>][/<db>][?<parameter=value>,[<parameter=value]]][#<tag>[,<tag>]]
For examples:
jdbc:clickhouse://localhost:8123/systemjdbc:clickhouse://admin:password@localhost/system?socket_time=30jdbc:clickhouse://localhost/system?protocol=grpc
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) Deprecated.connect(String url, Properties info) Deprecated.intDeprecated.intDeprecated.Deprecated.getPropertyInfo(String url, Properties info) Deprecated.booleanDeprecated.static voidload()Deprecated.static Map<ClickHouseOption,Serializable> toClientOptions(Properties props) Deprecated.static voidunload()Deprecated.
-
Field Details
-
frameworksDetected
Deprecated.
-
-
Constructor Details
-
DriverV1
public DriverV1()Deprecated.
-
-
Method Details
-
load
public static void load()Deprecated. -
unload
public static void unload()Deprecated. -
toClientOptions
Deprecated. -
acceptsURL
Deprecated.- Specified by:
acceptsURLin interfaceDriver- Throws:
SQLException
-
connect
Deprecated.- Specified by:
connectin interfaceDriver- Throws:
SQLException
-
getPropertyInfo
Deprecated.- Specified by:
getPropertyInfoin interfaceDriver- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()Deprecated.- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()Deprecated.- Specified by:
getMinorVersionin interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()Deprecated.- Specified by:
jdbcCompliantin interfaceDriver
-
getParentLogger
Deprecated.- Specified by:
getParentLoggerin interfaceDriver- Throws:
SQLFeatureNotSupportedException
-