SQLiteStatic

interface SQLiteStatic(source)

Exposes the SQLite API that does not require initialization.

Inheritors

Properties

Link copied to clipboard

Comparator that compare the contents of two buffers containing UTF-8 strings in a case-independent fashion, using the same definition of "case independence" that SQLite uses internally when comparing identifiers.

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

Returns the options that were defined at compile-time. The SQLITE_ prefix is omitted for each option.

Link copied to clipboard
abstract val isThreadSafe: Boolean

Whether SQLite was compiled with mutexing code omitted due to the SQLITE_THREADSAFE compile-time option being set to 0.

Link copied to clipboard
abstract val keywordCount: Int

Number of distinct keywords understood by SQLite.

Link copied to clipboard
abstract val sourceId: String

Identifier of the check-in of SQLite within its configuration management system.

Link copied to clipboard
abstract val version: String

SQLite version.

Link copied to clipboard
abstract val versionNumber: Int

SQLite version number.

Functions

Link copied to clipboard

Returns a comparator that compare the contents of two buffers containing UTF-8 strings in a case-independent fashion, using the same definition of "case independence" that SQLite uses internally when comparing identifiers.

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

Returns the keyword at given index.

Link copied to clipboard

Returns true if this seems to form a complete SQL statement. If additional input is needed before sending tbe text into SQLite for parsing, then false is returned.

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

Returns whether word is a keyword.

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

Logs content using SQLite logging interface.

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

Returns true if and only if input matches the GLOB pattern.

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

Returns true if and only if input matches the LIKE pattern with escape character.