Visitor

doobie.free.driver$.DriverOp$.Visitor
trait Visitor[F[_]] extends FunctionK[DriverOp, F]

Attributes

Source
driver.scala
Graph
Supertypes
trait FunctionK[DriverOp, F]
trait Serializable
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def acceptsURL(a: String): F[Boolean]

Attributes

Source
driver.scala
def canceled: F[Unit]

Attributes

Source
driver.scala
def connect(a: String, b: Properties): F[Connection]

Attributes

Source
driver.scala
def delay[A](thunk: => A): F[A]

Attributes

Source
driver.scala
def embed[A](e: Embedded[A]): F[A]

Attributes

Source
driver.scala
def forceR[A, B](fa: DriverIO[A])(fb: DriverIO[B]): F[B]

Attributes

Source
driver.scala
def fromFuture[A](fut: DriverIO[Future[A]]): F[A]

Attributes

Source
driver.scala
def fromFutureCancelable[A](fut: DriverIO[(Future[A], DriverIO[Unit])]): F[A]

Attributes

Source
driver.scala

Attributes

Source
driver.scala

Attributes

Source
driver.scala
def getParentLogger: F[Logger]

Attributes

Source
driver.scala
def getPropertyInfo(a: String, b: Properties): F[Array[DriverPropertyInfo]]

Attributes

Source
driver.scala
def handleErrorWith[A](fa: DriverIO[A])(f: Throwable => DriverIO[A]): F[A]

Attributes

Source
driver.scala

Attributes

Source
driver.scala

Attributes

Source
driver.scala
def onCancel[A](fa: DriverIO[A], fin: DriverIO[Unit]): F[A]

Attributes

Source
driver.scala
def performLogging(event: LogEvent): F[Unit]

Attributes

Source
driver.scala
def poll[A](poll: Any, fa: DriverIO[A]): F[A]

Attributes

Source
driver.scala
def raiseError[A](e: Throwable): F[A]

Attributes

Source
driver.scala
def raw[A](f: Driver => A): F[A]

Attributes

Source
driver.scala

Attributes

Source
driver.scala
def suspend[A](hint: Type)(thunk: => A): F[A]

Attributes

Source
driver.scala
def uncancelable[A](body: Poll[DriverIO] => DriverIO[A]): F[A]

Attributes

Source
driver.scala

Concrete methods

final def apply[A](fa: DriverOp[A]): F[A]

Applies this functor transformation from F to G

Applies this functor transformation from F to G

Attributes

Source
driver.scala

Inherited methods

def and[H[_]](h: FunctionK[DriverOp, H]): FunctionK[F, [_] =>> Tuple2K[G, 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[F, H]): FunctionK[F, 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
def compose[E[_]](f: FunctionK[E, DriverOp]): FunctionK[E, G]

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 <: (DriverOp)]: FunctionK[F0, G]

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, F]): FunctionK[[_] =>> EitherK[F, H, _$6], G]

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
def widen[G0[x]]: FunctionK[F, G0]

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