Package-level declarations

Types

Link copied to clipboard
fun interface Authorizer

Callback to use with DatabaseConnection.setAuthorizer.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun interface BusyHandler

Callback to use with DatabaseConnection.setBusyHandler.

Link copied to clipboard
fun interface Collation : AutoCloseable
Link copied to clipboard
fun interface CollationNeeded
Link copied to clipboard
fun interface CommitHook

Callback to use with DatabaseConnection.setCommitHook.

Link copied to clipboard
Link copied to clipboard

Exposes the database connection configuration API.

Link copied to clipboard
fun interface Exec

Callback to use with DatabaseConnection.execute.

Link copied to clipboard
interface FileControl

Exposes the file control APIs.

Link copied to clipboard
interface LastError

Provides access to the most recent database error information.

Link copied to clipboard
fun interface PreupdateHook
Link copied to clipboard

Scope for use with PreupdateHook.apply.

Link copied to clipboard
fun interface ProgressHandler
Link copied to clipboard
fun interface RollbackHook
Link copied to clipboard
sealed interface SerializeResult
Link copied to clipboard

Result of DatabaseConnection.tableColumnMetadata. Member fields are all already resolved.

Link copied to clipboard
fun interface Trace

Callback to use with DatabaseConnection.setTrace.

Link copied to clipboard
sealed interface TraceEvent

Event passed as parameter to Trace.

Link copied to clipboard
fun interface UpdateHook

Callback to use with DatabaseConnection.setUpdateHook.

Link copied to clipboard
interface WriteAheadLog

Exposes the Write-Ahead Log APIs of a database connection.

Link copied to clipboard

Result of a Write-Ahead Log checkpoint.

Link copied to clipboard
fun interface WriteAheadLogHook

Callback to use with WriteAheadLog.setHook.

Properties

Link copied to clipboard

Shorthand for FileControl.getDataVersion on the main database.

Link copied to clipboard

Shorthand for hasMoved on the main database.

Link copied to clipboard

Shorthand for isPersistWal and FileControl.setPersistWal on the main database.

Link copied to clipboard
Link copied to clipboard

Shorthand for FileControl.getMmapSize and FileControl.setMmapSize on the main database.

Link copied to clipboard

Shorthand for FileControl.getSizeLimit and FileControl.setSizeLimit on the main database.

Link copied to clipboard

Shorthand for FileControl.getSystemError on the main database.

Link copied to clipboard

Shorthand for FileControl.getTempFileName on the main database.

Link copied to clipboard

Shorthand for FileControl.getVfsName on the main database.

Functions

Link copied to clipboard

Convenience overload of createCollation using UTF-8 encoding, the only one currently supported.

Link copied to clipboard

Convenience overload of createFunction using UTF-8 encoding, the only one currently supported.

Link copied to clipboard

Shorthand for reserveBytes on the main database.

Link copied to clipboard

Shorthand for resetCache on the main database.

Link copied to clipboard

Sets a BusyHandler that sleeps for a specified amount of time when a table is locked. Any BusyHandler previously passed to DatabaseConnection.setBusyHandler is replaced.

Link copied to clipboard

Shorthand for setChunkSize on the main database.

Link copied to clipboard

Shorthand for setLockTimeout on the main database.

Link copied to clipboard

Shorthand for setOverwrite on the main database.

Link copied to clipboard

Shorthand for setSizeHint on the main database.