SQLiteStatic

interface SQLiteStatic(source)

SQLite API available without initializing a SQLite instance first.

Inheritors

Properties

Link copied to clipboard

Comparator for UTF-8 strings that compares them case-independently, using the same definition of case independence SQLite uses internally when comparing identifiers.

Link copied to clipboard
abstract val compileOptions: List<String>

Options SQLite was compiled with, each with its SQLITE_ prefix omitted.

Link copied to clipboard
abstract val isThreadSafe: Boolean

Whether this SQLite build has mutexing code omitted because the SQLITE_THREADSAFE compile-time option was set to 0. When true, this library and its host application must not use SQLite from more than one thread at a time.

Link copied to clipboard
abstract val keywordCount: Int

Number of distinct keywords SQLite understands.

Link copied to clipboard

Version of SQLite Multiple Ciphers.

Link copied to clipboard
abstract val sourceId: String

Identifier of the check-in this SQLite build was produced from in its source control system.

Link copied to clipboard
abstract val version: String

SQLite version, for example 3.45.0.

Link copied to clipboard
abstract val versionNumber: Int

SQLite version encoded as a single integer, for example 3045000 for version 3.45.0.

Functions

Link copied to clipboard

Returns a comparator for UTF-8 strings that compares them case-independently, the same way caseIndependentComparator does, but only looking at the first maxBytes bytes.

Link copied to clipboard
abstract fun getKeyword(index: Int): String

Returns the keyword at index, out of the keywordCount keywords SQLite understands.

Link copied to clipboard

Returns true if sql looks like a complete SQL statement, or false if more input would be needed before SQLite could parse it. Whitespace and comments after the final statement do not count as needing more input.

Link copied to clipboard
abstract fun isKeyword(word: String): Boolean

Returns whether word is an SQLite keyword.

Link copied to clipboard
abstract fun log(errorCode: Int, message: String)

Sends message through SQLite's logging mechanism, invoking the currently configured ksqlite.kapi.config.Logger, if any, with errorCode.

Link copied to clipboard
abstract fun matchGlob(pattern: String, input: String): Boolean

Returns whether input matches the GLOB pattern.

Link copied to clipboard
abstract fun matchLike(pattern: String, input: String, escape: Char): Boolean

Returns whether input matches the LIKE pattern, using escape as the escape character.