ResultSetReader

ldbc.dsl.ResultSetReader
See theResultSetReader companion trait

Attributes

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

Members list

Type members

Classlikes

Attributes

Source
ResultSetReader.scala
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Types

type MapToTuple[T <: Tuple] = T match { case EmptyTuple => EmptyTuple case h *: t => ResultSetReader[h] *: MapToTuple[t] }

Attributes

Source
ResultSetReader.scala

Value members

Concrete methods

def apply[T](readLabel: ResultSet => String => T, readIndex: ResultSet => Int => T): ResultSetReader[T]

Attributes

Source
ResultSetReader.scala
inline def fold[T <: Tuple]: MapToTuple[T]

Attributes

Source
ResultSetReader.scala
inline def infer[T]: ResultSetReader[T]

Attributes

Source
ResultSetReader.scala
def mapping[A, B](f: A => B)(using reader: ResultSetReader[A]): ResultSetReader[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.

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

Source
ResultSetReader.scala

Givens

Givens

given given_ResultSetReader_Option[A](using reader: ResultSetReader[A]): given_ResultSetReader_Option[A]

Attributes

Source
ResultSetReader.scala
given given_ResultSetReader_ZonedDateTime(using reader: ResultSetReader[Instant]): ResultSetReader[ZonedDateTime]

Attributes

Source
ResultSetReader.scala