Back to Exposed

JdbcResult

docs/api/exposed-jdbc/org.jetbrains.exposed.v1.jdbc.statements.jdbc/-jdbc-result/index.html

1.2.05.3 KB
Original Source

JdbcResult

class JdbcResult(val result: ResultSet) : ResultApi, RowApi

Class responsible for wrapping a ResultSet generated by executing a statement that queries a JDBC database.

MembersMembers & Extensions

Constructors

JdbcResult

Link copied to clipboard

constructor(result: ResultSet)

Properties

origin

Link copied to clipboard

val RowApi.origin: ResultSet

Returns the actual underlying ResultSet at the current position in this result RowApi.

result

Link copied to clipboard

val result: ResultSet

The actual ResultSet returned by the database after statement execution.

Functions

close

Link copied to clipboard

open override fun close()

getObject

Link copied to clipboard

open fun <T> getObject(index: Int, type: Class<T>?, columnType: IColumnType<*>): T?

open fun <T> getObject(name: String, type: Class<T>, columnType: IColumnType<*>): T?

open override fun getObject(index: Int): Any?

open override fun getObject(name: String): Any?

open override fun <T> getObject(index: Int, type: Class<T>): T?

open override fun <T> getObject(name: String, type: Class<T>): T?

getString

Link copied to clipboard

open override fun getString(index: Int): String?

mapRows

Link copied to clipboard

open override fun <T> mapRows(block: (RowApi) -> T?): Flow<T?>

next

Link copied to clipboard

fun next(): Boolean

Moves from the current position in the ResultSet to the next row and returns true, or returns false if there are no more rows to move forward to.

releaseResult

Link copied to clipboard

fun releaseResult()

Releases the underlying statement object, and any database or driver resources, as well as its ResultSet.

toString

Link copied to clipboard

open override fun toString(): String

Generated by Dokka © 2026 Copyright