DuckDbDataSource

class DuckDbDataSource(var databaseName: String = "") : DataSource

The client should set the databaseName property appropriately before establishing a connection. The databaseName property should be a path to the file that represents the database on disk. If no database name is provided then an in-memory database is created.

Constructors

Link copied to clipboard
constructor(databaseName: String = "")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val url: String

Functions

Link copied to clipboard
open override fun getConnection(): DuckDBConnection
open override fun getConnection(username: String?, password: String?): DuckDBConnection
Link copied to clipboard
open override fun getLoginTimeout(): Int
Link copied to clipboard
open override fun getLogWriter(): PrintWriter
Link copied to clipboard
open override fun getParentLogger(): Logger
Link copied to clipboard
fun getReadOnlyConnection(): DuckDBConnection
Link copied to clipboard
open override fun isWrapperFor(iface: Class<*>): Boolean
Link copied to clipboard
open override fun setLoginTimeout(seconds: Int)
Link copied to clipboard
open override fun setLogWriter(out: PrintWriter)
Link copied to clipboard
open override fun <T> unwrap(iface: Class<T>): T