RowMappers
Factory providing high-level RowMapper implementations for converting PostgreSQL ResultSet rows into Kotlin data structures.
This class coordinates between JDBC's mapping infrastructure and Octavius's custom type conversion logic provided by io.github.octaviusframework.db.core.type.ResultSetValueExtractor.
Parameters
typeRegistry
The registry containing OID-to-type mappings and custom type definitions.
Functions
Link copied to clipboard
Creates a mapper that converts each row into a Map<String, Any?>.
Link copied to clipboard
fun <T : Any> CustomObjectMapper(mapper: DataMapper<T>, options: InternalQueryOptions): RowMapper<T>
Creates a mapper that converts each row using a provided manual mapper.
Link copied to clipboard
Creates a mapper that converts each row into an instance of a specified Kotlin data class.
Link copied to clipboard
Creates a mapper that extracts a single value from the first column of the result set.