Package org.duckdb
Class DuckDBDriver
java.lang.Object
org.duckdb.DuckDBDriver
- All Implemented Interfaces:
Driver
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) connect(String url, Properties info) intintgetPropertyInfo(String url, Properties info) booleanstatic boolean
-
Field Details
-
DUCKDB_READONLY_PROPERTY
- See Also:
-
DUCKDB_USER_AGENT_PROPERTY
- See Also:
-
JDBC_STREAM_RESULTS
- See Also:
-
JDBC_PIN_DB
- See Also:
-
JDBC_IGNORE_UNSUPPORTED_OPTIONS
- See Also:
-
-
Constructor Details
-
DuckDBDriver
public DuckDBDriver()
-
-
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()- Specified by:
jdbcCompliantin interfaceDriver
-
getParentLogger
- Specified by:
getParentLoggerin interfaceDriver- Throws:
SQLFeatureNotSupportedException
-
releaseDB
- Throws:
SQLException
-