StatementInterpreter

ldbc.free.KleisliInterpreter.StatementInterpreter
trait StatementInterpreter extends Visitor[[A] =>> Kleisli[F, Statement[F], A]]

Attributes

Source
KleisliInterpreter.scala
Graph
Supertypes
trait Visitor[[A] =>> Kleisli[F, Statement[F], A]]
trait FunctionK[StatementOp, [A] =>> Kleisli[F, Statement[F], A]]
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def addBatch(sql: String): Kleisli[F, Statement[F], Unit]

Attributes

Definition Classes
Source
KleisliInterpreter.scala
override def canceled: Kleisli[F, Statement[F], Unit]

Attributes

Definition Classes
Source
KleisliInterpreter.scala
override def embed[A](e: Embedded[A]): Kleisli[F, Statement[F], A]

Attributes

Definition Classes
Source
KleisliInterpreter.scala
override def executeBatch(): Kleisli[F, Statement[F], Array[Int]]

Attributes

Definition Classes
Source
KleisliInterpreter.scala
override def forceR[A, B](fa: StatementIO[A])(fb: StatementIO[B]): Kleisli[F, Statement[F], B]

Attributes

Definition Classes
Source
KleisliInterpreter.scala
override def handleErrorWith[A](fa: StatementIO[A])(f: Throwable => StatementIO[A]): Kleisli[F, Statement[F], A]

Attributes

Definition Classes
Source
KleisliInterpreter.scala
override def monotonic: Kleisli[F, Statement[F], FiniteDuration]

Attributes

Definition Classes
Source
KleisliInterpreter.scala
override def onCancel[A](fa: StatementIO[A], fin: StatementIO[Unit]): Kleisli[F, Statement[F], A]

Attributes

Definition Classes
Source
KleisliInterpreter.scala
override def poll[A](poll: Any, fa: StatementIO[A]): Kleisli[F, Statement[F], A]

Attributes

Definition Classes
Source
KleisliInterpreter.scala
override def raiseError[A](err: Throwable): Kleisli[F, Statement[F], A]

Attributes

Definition Classes
Source
KleisliInterpreter.scala
override def realTime: Kleisli[F, Statement[F], FiniteDuration]

Attributes

Definition Classes
Source
KleisliInterpreter.scala
override def suspend[A](hint: Type)(thunk: => A): Kleisli[F, Statement[F], A]

Attributes

Definition Classes
Source
KleisliInterpreter.scala
override def uncancelable[A](body: (Poll[StatementIO]) => StatementIO[A]): Kleisli[F, Statement[F], A]

Attributes

Definition Classes
Source
KleisliInterpreter.scala

Inherited methods

def and[H[_]](h: FunctionK[StatementOp, H]): FunctionK[StatementOp, [_] =>> Tuple2K[[A] =>> Kleisli[F, Statement[F], A], H, _$9]]

Composes two instances of FunctionK into a new FunctionK that transforms one single functor to a cats.data.Tuple2K of two functors.

Composes two instances of FunctionK into a new FunctionK that transforms one single functor to a cats.data.Tuple2K of two functors.

scala> import cats.arrow.FunctionK
scala> val list2option = λ[FunctionK[List, Option]](_.headOption)
scala> val list2vector = λ[FunctionK[List, Vector]](_.toVector)
scala> val optionAndVector = list2option and list2vector
scala> optionAndVector(List(1,2,3))
res0: cats.data.Tuple2K[Option,Vector,Int] = Tuple2K(Some(1),Vector(1, 2, 3))

Attributes

Inherited from:
FunctionK
Source
FunctionK.scala
def andThen[H[_]](f: FunctionK[[A] =>> Kleisli[F, Statement[F], A], H]): FunctionK[StatementOp, H]

Composes two instances of FunctionK into a new FunctionK with this transformation applied first.

Composes two instances of FunctionK into a new FunctionK with this transformation applied first.

Attributes

Inherited from:
FunctionK
Source
FunctionK.scala
final def apply[A](fa: StatementOp[A]): [A] =>> Kleisli[F, Statement[F], A][A]

Applies this functor transformation from F to G

Applies this functor transformation from F to G

Attributes

Inherited from:
Visitor
Source
StatementIO.scala
def compose[E[_]](f: FunctionK[E, StatementOp]): FunctionK[E, [A] =>> Kleisli[F, Statement[F], A]]

Composes two instances of FunctionK into a new FunctionK with this transformation applied last.

Composes two instances of FunctionK into a new FunctionK with this transformation applied last.

Attributes

Inherited from:
FunctionK
Source
FunctionK.scala
def narrow[F0 <: (StatementOp)]: FunctionK[F0, [A] =>> Kleisli[F, Statement[F], A]]

Narrows the input type of this FunctionK from F to F0

Narrows the input type of this FunctionK from F to F0

Attributes

Inherited from:
FunctionK
Source
FunctionK.scala
def or[H[_]](h: FunctionK[H, [A] =>> Kleisli[F, Statement[F], A]]): FunctionK[[_] =>> EitherK[StatementOp, H, _$6], [A] =>> Kleisli[F, Statement[F], A]]

Composes two instances of FunctionK into a new FunctionK that transforms a cats.data.EitherK to a single functor.

Composes two instances of FunctionK into a new FunctionK that transforms a cats.data.EitherK to a single functor.

This transformation will be used to transform left F values while h will be used to transform right H values.

Attributes

Inherited from:
FunctionK
Source
FunctionK.scala

Widens the output type of this FunctionK from G to G0

Widens the output type of this FunctionK from G to G0

Attributes

Inherited from:
FunctionK
Source
FunctionK.scala