skunk.util

package skunk.util

Members list

Type members

Classlikes

final case class CallSite(methodName: String, origin: Origin)

Attributes

Source
Origin.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class Located[A](a: A, origin: Option[A])

A value, paired with an optional Origin.

A value, paired with an optional Origin. We use this to trace user-supplied values back to where they were defined or introduced.

Attributes

Source
Origin.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait Namer[F[_]]

Attributes

Companion
object
Source
Namer.scala
Supertypes
class Object
trait Matchable
class Any
object Namer

Attributes

Companion
trait
Source
Namer.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Namer.type
final case class Origin(file: String, line: Int)

Attributes

Companion
object
Source
Origin.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Origin

Attributes

Companion
class
Source
Origin.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Origin.type
object Pool

Attributes

Source
Pool.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Pool.type
object Pretty

Attributes

Source
Pretty.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Pretty.type
final case class Recycler[F[_], A](run: A => F[Boolean]) extends A => F[Boolean]

Encapsulates a function that consumes a value and produces a computation that peforms some operation and yields true on success and false on failure.

Encapsulates a function that consumes a value and produces a computation that peforms some operation and yields true on success and false on failure. Intended use is with resource pools, where you may wish to do a health check or reset some state when a value is handed back in (or yield false, indicating that the value should be discarded). The only point to this encapsulation is that it allows us to define a monoid!

Attributes

Companion
object
Source
Recycler.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait A => F[Boolean]
class Object
trait Matchable
class Any
Show all
object Recycler

Attributes

Companion
class
Source
Recycler.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Recycler.type
sealed trait StatementCache[F[_], V]

An LRU (by access) cache, keyed by statement CacheKey.

An LRU (by access) cache, keyed by statement CacheKey.

Attributes

Companion
object
Source
StatementCache.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
trait
Source
StatementCache.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final class Text

Attributes

Companion
object
Source
Text.scala
Supertypes
class Object
trait Matchable
class Any
object Text

Attributes

Companion
class
Source
Text.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Text.type
trait Twiddler[A]

Witness that type A is isomorphic to a twiddle list.

Witness that type A is isomorphic to a twiddle list.

Attributes

Companion
object
Source
Twiddler.scala
Supertypes
class Object
trait Matchable
class Any
trait Typer

Attributes

Companion
object
Source
Typer.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object Typer

Attributes

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

Deprecated classlikes

object Twiddler

Attributes

Companion
trait
Deprecated
true
Source
Twiddler.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Twiddler.type