IExternalSQLite

Functions

Link copied to clipboard
open fun bindBlob(statement: StatementHandle, index: Int, blob: ByteArray, length: Int): SQLCode
abstract fun bindBlob(statement: Long, index: Int, blob: ByteArray, length: Int): SQLCode
Link copied to clipboard
open fun bindDouble(statement: StatementHandle, index: Int, value: Double): SQLCode
abstract fun bindDouble(statement: Long, index: Int, value: Double): SQLCode
Link copied to clipboard
open fun bindInt(statement: StatementHandle, index: Int, value: Int): SQLCode
abstract fun bindInt(statement: Long, index: Int, value: Int): SQLCode
Link copied to clipboard
open fun bindInt64(statement: StatementHandle, index: Int, value: Long): SQLCode
abstract fun bindInt64(statement: Long, index: Int, value: Long): SQLCode
Link copied to clipboard
open fun bindNull(statement: StatementHandle, index: Int): SQLCode
abstract fun bindNull(statement: Long, index: Int): SQLCode
Link copied to clipboard
open fun bindParameterCount(statement: StatementHandle): Int
abstract fun bindParameterCount(statement: Long): Int
Link copied to clipboard
open fun bindParameterIndex(statement: StatementHandle, name: String): Int
abstract fun bindParameterIndex(statement: Long, name: String): Int
Link copied to clipboard
open fun bindRow(statement: StatementHandle, args: Array<out Any?>): SQLCode

open fun bindRow(statement: Long, args: Array<out Any?>): SQLCode

Bind all arguments to a prepared statement.

Link copied to clipboard
open fun bindRowTyped(statement: StatementHandle, tags: ByteArray, ints: IntArray, longs: LongArray, doubles: DoubleArray, objects: Array<out Any?>, size: Int): SQLCode
open fun bindRowTyped(statement: Long, tags: ByteArray, ints: IntArray, longs: LongArray, doubles: DoubleArray, objects: Array<out Any?>, size: Int): SQLCode
Link copied to clipboard
open fun bindText(statement: StatementHandle, index: Int, value: String): SQLCode
abstract fun bindText(statement: Long, index: Int, value: String): SQLCode
Link copied to clipboard
open fun bindZeroBlob(statement: StatementHandle, index: Int, length: Int): SQLCode
abstract fun bindZeroBlob(statement: Long, index: Int, length: Int): SQLCode
Link copied to clipboard
open fun blobBytes(blob: BlobHandle): Int
abstract fun blobBytes(blob: Long): Int
Link copied to clipboard
open fun blobClose(blob: BlobHandle): SQLCode
abstract fun blobClose(blob: Long): SQLCode
Link copied to clipboard
open fun blobOpen(db: DatabaseHandle, name: String, table: String, column: String, row: Long, flags: Int, holder: LongArray): SQLCode
abstract fun blobOpen(db: Long, name: String, table: String, column: String, row: Long, flags: Int, holder: LongArray): SQLCode
Link copied to clipboard
open fun blobRead(blob: BlobHandle, offset: Int, destination: ByteArray, destinationOffset: Int, length: Int): SQLCode
abstract fun blobRead(blob: Long, offset: Int, destination: ByteArray, destinationOffset: Int, length: Int): SQLCode
Link copied to clipboard
open fun blobReopen(blob: BlobHandle, row: Long): SQLCode
abstract fun blobReopen(blob: Long, row: Long): SQLCode
Link copied to clipboard
open fun blobWrite(blob: BlobHandle, offset: Int, source: ByteArray, sourceOffset: Int, length: Int): SQLCode
abstract fun blobWrite(blob: Long, offset: Int, source: ByteArray, sourceOffset: Int, length: Int): SQLCode
Link copied to clipboard
open fun busyTimeout(db: DatabaseHandle, millis: Int): SQLCode
abstract fun busyTimeout(db: Long, millis: Int): SQLCode
Link copied to clipboard
open fun changes(db: DatabaseHandle): Int
abstract fun changes(db: Long): Int
Link copied to clipboard
open fun clearBindings(statement: StatementHandle): SQLCode
abstract fun clearBindings(statement: Long): SQLCode
Link copied to clipboard
abstract fun closeV2(db: Long): SQLCode
Link copied to clipboard
open fun columnBlob(statement: StatementHandle, index: Int): ByteArray?
abstract fun columnBlob(statement: Long, index: Int): ByteArray?
Link copied to clipboard
open fun columnCount(statement: StatementHandle): Int
abstract fun columnCount(statement: Long): Int
Link copied to clipboard
open fun columnDouble(statement: StatementHandle, index: Int): Double
abstract fun columnDouble(statement: Long, index: Int): Double
Link copied to clipboard
open fun columnInt(statement: StatementHandle, index: Int): Int
abstract fun columnInt(statement: Long, index: Int): Int
Link copied to clipboard
open fun columnInt64(statement: StatementHandle, index: Int): Long
abstract fun columnInt64(statement: Long, index: Int): Long
Link copied to clipboard
open fun columnName(statement: StatementHandle, index: Int): String
abstract fun columnName(statement: Long, index: Int): String
Link copied to clipboard
open fun columnText(statement: StatementHandle, index: Int): String
abstract fun columnText(statement: Long, index: Int): String
Link copied to clipboard
open fun columnType(statement: StatementHandle, index: Int): SQLDataType
abstract fun columnType(statement: Long, index: Int): SQLDataType
Link copied to clipboard
open fun columnValue(statement: StatementHandle, index: Int): Long
abstract fun columnValue(statement: Long, index: Int): Long
Link copied to clipboard
open fun commitHook(db: DatabaseHandle, enabled: Boolean, listener: SQLCommitListener?): SQLCode
abstract fun commitHook(db: Long, enabled: Boolean, listener: SQLCommitListener?): SQLCode
Link copied to clipboard
open fun databaseConfig(db: DatabaseHandle, op: Int, value: Int): Int
abstract fun databaseConfig(db: Long, op: Int, value: Int): Int
Link copied to clipboard
open fun databaseHandle(statement: StatementHandle): Long
abstract fun databaseHandle(statement: Long): Long
Link copied to clipboard
abstract fun databaseReadOnly(db: Long, name: String): Int
Link copied to clipboard
Link copied to clipboard
abstract fun databaseStatus(db: Long, options: Int, reset: Boolean, holder: IntArray): SQLCode
Link copied to clipboard
abstract fun errorCode(db: Long): Int
Link copied to clipboard
abstract fun errorMessage(db: Long): String
Link copied to clipboard
open fun exec(db: DatabaseHandle, query: String): SQLCode
abstract fun exec(db: Long, query: String): SQLCode
Link copied to clipboard
open fun expandedSql(statement: StatementHandle): String
abstract fun expandedSql(statement: Long): String
Link copied to clipboard
Link copied to clipboard
open fun extendedResultCodes(db: DatabaseHandle, onOff: Int): Int
abstract fun extendedResultCodes(db: Long, onOff: Int): Int
Link copied to clipboard
open fun finalize(statement: StatementHandle): SQLCode
abstract fun finalize(statement: Long): SQLCode
Link copied to clipboard
abstract fun getAutocommit(db: Long): Int
Link copied to clipboard
abstract fun gitCommit(): String
Link copied to clipboard
abstract fun hardHeapLimit64(): Long
Link copied to clipboard
abstract fun interrupt(db: Long)
Link copied to clipboard
abstract fun isInterrupted(db: Long): Int
Link copied to clipboard
open fun key(db: DatabaseHandle, key: ByteArray, length: Int): SQLCode
abstract fun key(db: Long, key: ByteArray, length: Int): SQLCode
Link copied to clipboard
open fun keyConventionally(db: DatabaseHandle, key: ByteArray, length: Int): SQLCode
abstract fun keyConventionally(db: Long, key: ByteArray, length: Int): SQLCode
Link copied to clipboard
abstract fun keywordCount(): Int
Link copied to clipboard
abstract fun lastInsertRowId(db: Long): Long
Link copied to clipboard
abstract fun libVersion(): String
Link copied to clipboard
abstract fun libVersionNumber(): Int
Link copied to clipboard
abstract fun memoryUsed(): Long
Link copied to clipboard
open fun newBlobHandle(pointer: Long): BlobHandle
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun openV2(path: String, flags: Int, dbHolder: LongArray): SQLCode
Link copied to clipboard
open fun prepareV2(db: DatabaseHandle, sql: String, length: Int, statementHolder: LongArray): SQLCode
abstract fun prepareV2(db: Long, sql: String, length: Int, statementHolder: LongArray): SQLCode
Link copied to clipboard
open fun progressHandler(db: DatabaseHandle, instructionCount: Int, handler: SQLProgressHandler?)
abstract fun progressHandler(db: Long, instructionCount: Int, handler: SQLProgressHandler?)
Link copied to clipboard
open fun rawKey(db: DatabaseHandle, key: ByteArray, length: Int): SQLCode
abstract fun rawKey(db: Long, key: ByteArray, length: Int): SQLCode
Link copied to clipboard
open fun rekey(db: DatabaseHandle, key: ByteArray, length: Int): SQLCode
abstract fun rekey(db: Long, key: ByteArray, length: Int): SQLCode
Link copied to clipboard
abstract fun releaseMemory(bytes: Int): Int
Link copied to clipboard
open fun reset(statement: StatementHandle): SQLCode
abstract fun reset(statement: Long): SQLCode
Link copied to clipboard
abstract fun resetAndClearBindings(statement: Long): SQLCode
Link copied to clipboard
abstract fun softHeapLimit64(): Long
Link copied to clipboard
open fun sql(statement: StatementHandle): String
abstract fun sql(statement: Long): String
Link copied to clipboard
open fun statementBusy(statement: StatementHandle): Int
abstract fun statementBusy(statement: Long): Int
Link copied to clipboard
open fun statementReadOnly(statement: StatementHandle): Int
abstract fun statementReadOnly(statement: Long): Int
Link copied to clipboard
open fun statementStatus(statement: StatementHandle, options: Int, reset: Boolean): Int
abstract fun statementStatus(statement: Long, options: Int, reset: Boolean): Int
Link copied to clipboard
open fun step(statement: StatementHandle): SQLCode
abstract fun step(statement: Long): SQLCode
Link copied to clipboard
abstract fun threadsafe(): Int
Link copied to clipboard
abstract fun totalChanges(db: Long): Int
Link copied to clipboard
open fun traceV2(db: DatabaseHandle, flag: Int)
abstract fun traceV2(db: Long, flag: Int)
Link copied to clipboard
abstract fun transactionState(db: Long): Int
Link copied to clipboard
abstract fun valueDup(value: Long): Long
Link copied to clipboard
abstract fun valueFree(value: Long)
Link copied to clipboard
abstract fun valueFromBind(value: Long): Int
Link copied to clipboard
abstract fun walAutoCheckpoint(db: Long, pages: Int): SQLCode
Link copied to clipboard
open fun walCheckpointV2(db: DatabaseHandle, name: String?, mode: Int): SQLCode
abstract fun walCheckpointV2(db: Long, name: String?, mode: Int): SQLCode
Link copied to clipboard
open fun <T> withScopedArena(block: () -> T): T