Row
A MapQueryResultIterator.
Provides convenience methods for converting to internal base types - String, Long, Double, and ByteArray.
session.query("SELECT name,ts,dur FROM slice WHERE name LIKE \"activityStart\"").forEach {
callback(it.string("name"), it.long("ts"), it.long("dur")
// or, used as a map:
//callback(it["name"] as String, it["ts"] as Long, it["dur"] as Long)
}
Nullable variants of each convenience method are also provided.
Summary
Public functions |
||
|---|---|---|
ByteArray |
Cmn
|
|
Double |
Cmn
|
|
open operator Boolean |
Cmn
|
|
open Int |
hashCode() |
Cmn
|
Long |
Cmn
|
|
ByteArray? |
nullableBytes(columnName: String) |
Cmn
|
Double? |
nullableDouble(columnName: String) |
Cmn
|
Long? |
nullableLong(columnName: String) |
Cmn
|
String? |
nullableString(columnName: String) |
Cmn
|
String |
Cmn
|
|
open String |
toString() |
Cmn
|
Inherited functions |
|---|
Inherited properties |
|---|