ResultSet

interface ResultSet : Closeable

Provides set of rows Can fetch row fields

Functions

Link copied to clipboard
abstract fun close()

Closes current class

Link copied to clipboard
abstract fun findColumn(columnName: String): Int

Search column index by name

Link copied to clipboard
abstract fun getInt(columnIndex: Int): Int
open fun getInt(columnName: String): Int

Get row value by column index

Link copied to clipboard
abstract fun getLong(columnIndex: Int): Long
open fun getLong(columnName: String): Long

Get row value by column index

Link copied to clipboard
abstract fun getObject(columnIndex: Int): Any
open fun getObject(columnName: String): Any

Get row value by column index

Link copied to clipboard
abstract fun getString(columnIndex: Int): String
open fun getString(columnName: String): String

Get row value by column index

Link copied to clipboard
abstract fun next(): Boolean

Selects next or first row of result.