SqliteRow

interface SqliteRow : Map<String, String?> (source)

A named collection of values as they appear in a SQLite row.

We represent values as a Map<String, String?> to ensure compatible with earlier versions of the SDK, but the typed getter can be used to obtain a Map<String, Any> where values are either Strings, Ints or Doubles.

Properties

Link copied to clipboard
abstract val entries: Set<Map.Entry<String, String?>>
Link copied to clipboard
abstract val jsonValues: JsonObject

A JsonObject of all values in this row that can be represented as JSON.

Link copied to clipboard
abstract val keys: Set<String>
Link copied to clipboard
abstract val size: Int
Link copied to clipboard
abstract val typed: Map<String, Any?>

A typed view of the SQLite row.

Link copied to clipboard
abstract val values: Collection<String?>

Functions

Link copied to clipboard
abstract fun containsKey(key: String): Boolean
Link copied to clipboard
abstract fun containsValue(value: String?): Boolean
Link copied to clipboard
abstract operator fun get(key: String): String?
Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
fun Map<String, JsonParam?>.toJsonObject(): JsonObject