RowMapper

internal fun interface RowMapper<T>

An interface used by JdbcTemplate for mapping rows of a ResultSet on a per-row basis. Implementations of this interface perform the actual work of mapping each row to a result object.

Parameters

the result type

See also

Functions

Link copied to clipboard
abstract fun mapRow(rs: ResultSet, rowNum: Int): T

Implementations must implement this method to map each row of data in the ResultSet. This method should not call next() on the ResultSet; it is only supposed to map values of the current row.