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) static voidconnect(String url, Properties info) intintgetPropertyInfo(String url, Properties info) booleanstatic booleanstatic boolean
-
Field Details
-
DUCKDB_READONLY_PROPERTY
- See Also:
-
DUCKDB_ACCESS_MODE_PROPERTY
- See Also:
-
DUCKDB_ACCESS_MODE_READ_ONLY
- See Also:
-
DUCKDB_ACCESS_MODE_READ_WRITE
- See Also:
-
DUCKDB_ACCESS_MODE_AUTOMATIC
- See Also:
-
DUCKDB_USER_AGENT_PROPERTY
- See Also:
-
JDBC_STREAM_RESULTS
- See Also:
-
JDBC_AUTO_COMMIT
- 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
-
shutdownQueryCancelScheduler
public static boolean shutdownQueryCancelScheduler() -
registeredFunctions
-
clearFunctionsRegistry
public static void clearFunctionsRegistry()
-