Package-level declarations

Types

Link copied to clipboard
@ThreadSafe
class CancellationSignal(instructionCount: Int = DEFAULT_INSTRUCTION_COUNT)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@NotThreadSafe
class ContentValues : IContentValues
Link copied to clipboard
Link copied to clipboard
interface IContentValues
Link copied to clipboard
interface ICursor : Closeable
Link copied to clipboard
Link copied to clipboard
interface IRandom
Link copied to clipboard
Link copied to clipboard
interface ISQLTransactor
Link copied to clipboard
typealias Pointer = Long
Link copied to clipboard
@ThreadSafe
abstract class SharedCloseable : SharedResource, Closeable
Link copied to clipboard
@ThreadSafe
abstract class SharedResource

A thread-safe reference-counted resource. The resource starts with a retain count of 1. Each call to retain increments the count; each call to release decrements it. When the count reaches zero, onReleased is invoked exactly once.

Link copied to clipboard
class SimpleSQLQuery(val sql: String, bindArgs: Array<out Any?> = EMPTY_ARRAY) : ISQLQuery
Link copied to clipboard
@ThreadSafe
class SQLDatabase(val path: String, sqlite: SQLite, configuration: DatabaseConfiguration, key: ByteArray?, random: IRandom = CommonThreadLocalRandom) : IDatabase, SharedCloseable

The use of ThreadLocal underpins SQLDatabase's thread-safety.

Link copied to clipboard
open class SQLite(sqlite: IExternalSQLite)
Link copied to clipboard
typealias SQLOpenOperation = Int
Link copied to clipboard

Properties

Link copied to clipboard
const val NULL: Pointer = 0
Link copied to clipboard
const val SQL_BLOB: Int = 4
Link copied to clipboard
const val SQL_FLOAT: Int = 2
Link copied to clipboard
const val SQL_INTEGER: Int = 1
Link copied to clipboard
const val SQL_NULL: Int = 5
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val SQL_TEXT: Int = 3