fetchAndConvertDataFromResultSet

internal fun fetchAndConvertDataFromResultSet(dbType: DbType, tableColumns: List<TableColumnMetadata>, rs: ResultSet, limit: Int?, inferNullability: Boolean): AnyFrame

Fetches and converts data from a ResultSet into a DataFrame.

Will handle data in the following order:

Return

A DataFrame containing the fetched and converted data.

Parameters

tableColumns

a list containing the column metadata for the table.

rs

the ResultSet object containing the data to be fetched and converted.

dbType

the type of the database.

limit

the maximum number of rows to retrieve from the table. null (default) means no limit - all available rows will be fetched.

inferNullability

indicates how the column nullability should be inferred.