ldbc.sql.ResultSetReader
See theResultSetReader companion trait
object ResultSetReader
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ResultSetReader.type
Members list
Type members
Types
type MapToTuple[F[_], T <: Tuple] = T match { case EmptyTuple => EmptyTuple case h *: t => ResultSetReader[F, h] *: MapToTuple[F, t] }
Value members
Concrete methods
def apply[F[_], T](readLabel: ResultSet[F] => String => F[T], readIndex: ResultSet[F] => Int => F[T]): ResultSetReader[F, T]
def mapping[F[_] : Functor, A, B](f: A => B)(implicit evidence$1: Functor[F], reader: ResultSetReader[F, A]): ResultSetReader[F, B]
A method to convert the specified Scala type to an arbitrary type so that it can be handled by ResultSetReader.
A method to convert the specified Scala type to an arbitrary type so that it can be handled by ResultSetReader.
Type parameters
- A
-
The Scala type to be converted from.
- B
-
The Scala type to be converted to.
- F
-
The effect type
Value parameters
- f
-
Function to convert from type A to B.
- reader
-
ResultSetReader to retrieve the DataType matching the type A information from the ResultSet.
Attributes
Givens
Givens
given given_ResultSetReader_F_BigInt[F[_] : Functor](implicit evidence$3: Functor[F], reader: ResultSetReader[F, String]): ResultSetReader[F, BigInt]
given given_ResultSetReader_F_Instant[F[_] : Functor](implicit evidence$4: Functor[F], reader: ResultSetReader[F, Timestamp]): ResultSetReader[F, Instant]
given given_ResultSetReader_F_LocalDate[F[_] : Functor](implicit evidence$8: Functor[F], reader: ResultSetReader[F, Date]): ResultSetReader[F, LocalDate]
given given_ResultSetReader_F_LocalDateTime[F[_] : Functor](implicit evidence$9: Functor[F], reader: ResultSetReader[F, Timestamp]): ResultSetReader[F, LocalDateTime]
given given_ResultSetReader_F_LocalTime[F[_] : Functor](implicit evidence$7: Functor[F], reader: ResultSetReader[F, Time]): ResultSetReader[F, LocalTime]
given given_ResultSetReader_F_Option[F[_] : Monad, A](implicit evidence$10: Monad[F], reader: ResultSetReader[F, A]): given_ResultSetReader_F_Option[F, A]
given given_ResultSetReader_F_UtilDate[F[_] : Functor](implicit evidence$5: Functor[F], reader: ResultSetReader[F, Timestamp]): ResultSetReader[F, Date]
given given_ResultSetReader_F_ZonedDateTime[F[_] : Functor](implicit evidence$6: Functor[F], reader: ResultSetReader[F, Instant]): ResultSetReader[F, ZonedDateTime]
In this article