Visitor

doobie.free.blob.BlobOp.Visitor
trait Visitor[F[_]] extends FunctionK[BlobOp, F]

Attributes

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

Members list

Value members

Abstract methods

def canceled: F[Unit]

Attributes

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

Attributes

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

Attributes

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

Attributes

Source
blob.scala
def free: F[Unit]

Attributes

Source
blob.scala
def getBinaryStream: F[InputStream]

Attributes

Source
blob.scala
def getBinaryStream(a: Long, b: Long): F[InputStream]

Attributes

Source
blob.scala
def getBytes(a: Long, b: Int): F[Array[Byte]]

Attributes

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

Attributes

Source
blob.scala
def length: F[Long]

Attributes

Source
blob.scala
def monotonic: F[FiniteDuration]

Attributes

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

Attributes

Source
blob.scala
def poll[A](poll: Any, fa: BlobIO[A]): F[A]

Attributes

Source
blob.scala
def position(a: Array[Byte], b: Long): F[Long]

Attributes

Source
blob.scala
def position(a: Blob, b: Long): F[Long]

Attributes

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

Attributes

Source
blob.scala
def raw[A](f: Blob => A): F[A]

Attributes

Source
blob.scala
def realTime: F[FiniteDuration]

Attributes

Source
blob.scala
def setBinaryStream(a: Long): F[OutputStream]

Attributes

Source
blob.scala
def setBytes(a: Long, b: Array[Byte]): F[Int]

Attributes

Source
blob.scala
def setBytes(a: Long, b: Array[Byte], c: Int, d: Int): F[Int]

Attributes

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

Attributes

Source
blob.scala
def truncate(a: Long): F[Unit]

Attributes

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

Attributes

Source
blob.scala

Concrete methods

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

Applies this functor transformation from F to G

Applies this functor transformation from F to G

Attributes

Source
blob.scala

Inherited methods

def and[H[_]](h: FunctionK[BlobOp, 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, BlobOp]): 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 <: (BlobOp)]: 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