Row
class Row(rawData: ByteArray, columnOffsets: IntArray, columnLengths: IntArray, val metadata: RowMetadata, typeRegistry: TypeRegistry, resultMapper: ResultMapper)
Represents a single row returned from a query execution.
Row holds the decoded raw data for each column and provides methods to access these values, either in their raw form or mapped to a specific Kotlin type using the configured ResultMapper.
Constructors
Link copied to clipboard
internal constructor(rawData: ByteArray, columnOffsets: IntArray, columnLengths: IntArray, metadata: RowMetadata, typeRegistry: TypeRegistry, resultMapper: ResultMapper)
Properties
Functions
Link copied to clipboard
Retrieves the value of the column with the specified columnName, mapped to the reified type T.
Retrieves the value of the column at the specified index, mapped to the specified targetType.
Retrieves the value of the column with the specified columnName, mapped to the specified targetType.
Link copied to clipboard
Retrieves the zero-based index of the column with the given columnName.