← Back to Stormify Documentation

ParsedJdbcUrl

data class ParsedJdbcUrl(val kind: KdbcDriverKind, val nativeUrl: String, val user: String?, val password: String?, val extraParams: Map<String, String>)

Parsed representation of a JDBC URL, normalized to what the kdbc C library expects.

Constructors

Link copied to clipboard
constructor(kind: KdbcDriverKind, nativeUrl: String, user: String?, password: String?, extraParams: Map<String, String>)

Properties

Link copied to clipboard

Unused key=value pairs from the original URL. These are logged as warnings by KdbcDataSource so the user can see what the native layer ignored.

Link copied to clipboard

Which C driver to use.

Link copied to clipboard

URL in the simplified format consumed by kdbc_connect:

Link copied to clipboard

Explicit password (same sources as user).

Link copied to clipboard
val user: String?

Explicit user (may come from URL query params or explicit override).