JdbcCursor

class JdbcCursor(val resultSet: ResultSet) : SqlCursor

Iterate each row in resultSet and map the columns to Kotlin classes by calling getString, getLong etc. Use next to retrieve the next row and close to close the connection.

Constructors

Link copied to clipboard
constructor(resultSet: ResultSet)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun <T> getArray(index: Int): Array<T>?
Link copied to clipboard
Link copied to clipboard
open override fun getBoolean(index: Int): Boolean?
Link copied to clipboard
fun getByte(index: Int): Byte?
Link copied to clipboard
open override fun getBytes(index: Int): ByteArray?
Link copied to clipboard
fun getDate(index: Int): Date?
Link copied to clipboard
open override fun getDouble(index: Int): Double?
Link copied to clipboard
fun getFloat(index: Int): Float?
Link copied to clipboard
fun getInt(index: Int): Int?
Link copied to clipboard
open override fun getLong(index: Int): Long?
Link copied to clipboard
inline fun <T : Any> getObject(index: Int): T?
Link copied to clipboard
fun getShort(index: Int): Short?
Link copied to clipboard
open override fun getString(index: Int): String?
Link copied to clipboard
fun getTime(index: Int): Time?
Link copied to clipboard
fun getTimestamp(index: Int): Timestamp?
Link copied to clipboard
open override fun next(): QueryResult.Value<Boolean>