Package io.deephaven.jdbc
Class Driver
java.lang.Object
io.deephaven.jdbc.Driver
- All Implemented Interfaces:
Driver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) connect(String url, Properties info) static voidDeregister the Deephaven JDBC driver.intintgetPropertyInfo(String url, Properties info) static booleanbooleanJDBC 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:
connectin interfaceDriver- Throws:
SQLException
-
acceptsURL
- Specified by:
acceptsURLin interfaceDriver- Throws:
SQLException
-
getPropertyInfo
- Specified by:
getPropertyInfoin interfaceDriver- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin 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:
jdbcCompliantin interfaceDriver- Returns:
- false since Deephaven is not JDBC compliant
-
getParentLogger
- Specified by:
getParentLoggerin interfaceDriver- Throws:
SQLFeatureNotSupportedException
-
deregister
Deregister the Deephaven JDBC driver. Public for testing.- Throws:
SQLException- if deregistration fails
-
isRegistered
public static boolean isRegistered()
-