ResultSetReader

ldbc.sql.ResultSetReader
See theResultSetReader companion object
trait ResultSetReader[F[_], T]

Trait to get the DataType that matches the Scala type information from the ResultSet.

Type parameters

F

The effect type

T

Scala types that match SQL DataType

Attributes

Companion
object
Source
ResultSetReader.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def read(resultSet: ResultSet[F], columnLabel: String): F[T]

Method to retrieve data from a ResultSet using column names.

Method to retrieve data from a ResultSet using column names.

Value parameters

columnLabel

Column name of the data to be retrieved from the ResultSet.

resultSet

A table of data representing a database result set, which is usually generated by executing a statement that queries the database.

Attributes

Source
ResultSetReader.scala
def read(resultSet: ResultSet[F], index: Int): F[T]

Method to retrieve data from a ResultSet using an Index number.

Method to retrieve data from a ResultSet using an Index number.

Value parameters

index

Index number of the data to be retrieved from the ResultSet.

resultSet

A table of data representing a database result set, which is usually generated by executing a statement that queries the database.

Attributes

Source
ResultSetReader.scala