getValue

open override fun <T> getValue(row: Row, type: Class<T>?, index: Int, dialect: DatabaseDialect, columnType: IColumnType<*>): ValueContainer<T?>

Retrieves a value from the given row at the specified index. This method attempts to extract and convert a value from the database row to the requested type, taking into account the database dialect and column type.

Return

A ValueContainer containing either the retrieved value or indicating that no value could be provided. The default implementation returns TypeMapperGetValueContainer.NoValue, indicating that this mapper cannot handle the requested type conversion.

Parameters

T

The expected type of the value to retrieve.

row

The R2DBC Row containing the data.

type

The Java Class representing the expected type T.

index

The 1-based index of the column in the row.

dialect

The database dialect being used.

columnType

The column type definition from Exposed.