Package io.deephaven.jdbc
Class Driver
java.lang.Object
io.deephaven.jdbc.Driver
- All Implemented Interfaces:
Driver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
acceptsURL
(String url) connect
(String url, Properties info) static void
Deregister the Deephaven JDBC driver.int
int
getPropertyInfo
(String url, Properties info) static boolean
boolean
JDBC compliance requires full support for the JDBC API and full support for SQL 92 Entry Level.
-
Constructor Details
-
Driver
public Driver()
-
-
Method Details
-
connect
- Specified by:
connect
in interfaceDriver
- Throws:
SQLException
-
acceptsURL
- Specified by:
acceptsURL
in interfaceDriver
- Throws:
SQLException
-
getPropertyInfo
- Specified by:
getPropertyInfo
in interfaceDriver
- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersion
in interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersion
in interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()JDBC compliance requires full support for the JDBC API and full support for SQL 92 Entry Level. Deephaven is not yet compliant with SQL so we must return false.- Specified by:
jdbcCompliant
in interfaceDriver
- Returns:
- false since Deephaven is not JDBC compliant
-
getParentLogger
- Specified by:
getParentLogger
in interfaceDriver
- Throws:
SQLFeatureNotSupportedException
-
deregister
Deregister the Deephaven JDBC driver. Public for testing.- Throws:
SQLException
- if deregistration fails
-
isRegistered
public static boolean isRegistered()
-