Trait/Object

slick.lifted

Compiled

Related Docs: object Compiled | package lifted

Permalink

sealed trait Compiled[T] extends AnyRef

A possibly parameterized query that will be cached for repeated efficient execution without having to recompile it every time. The compiled state is computed on demand the first time a Cached value is executed. It is always tied to a specific profile.

Cached forms a limited monad which ensures that it can only contain values that are Compilable.

Source
Compiled.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Compiled
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def extract: T

    Permalink

    Return the underlying query or query function.

    Return the underlying query or query function. It can be safely extracted for reuse without caching the compiled representation.

  2. abstract def profile: BasicProfile

    Permalink

    The profile which is used for compiling the query.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Compiled[T] to any2stringadd[Compiled[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Compiled[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Compiled[T] to ArrowAssoc[Compiled[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def ensuring(cond: (Compiled[T]) ⇒ Boolean, msg: ⇒ Any): Compiled[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Compiled[T] to Ensuring[Compiled[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (Compiled[T]) ⇒ Boolean): Compiled[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Compiled[T] to Ensuring[Compiled[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): Compiled[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Compiled[T] to Ensuring[Compiled[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): Compiled[T]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Compiled[T] to Ensuring[Compiled[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def flatMap[U <: Compiled[_]](f: (T) ⇒ U): U

    Permalink

    Perform a transformation of the underlying value.

    Perform a transformation of the underlying value. The computed Compiled value is returned unmodified.

  16. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Compiled[T] to StringFormat[Compiled[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def map[U, C <: Compiled[U]](f: (T) ⇒ U)(implicit ucompilable: Compilable[U, C]): C

    Permalink

    Perform a transformation of the underlying value.

    Perform a transformation of the underlying value. The computed value must be Compilable. The resulting Compiled instance will be recompiled when needed. It does not benefit from this instance already containing the compiled state.

  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def [B](y: B): (Compiled[T], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Compiled[T] to ArrowAssoc[Compiled[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. final def driver: BasicProfile

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 3.2) Use profile instead of driver

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Compiled[T] to any2stringadd[Compiled[T]]

Inherited by implicit conversion StringFormat from Compiled[T] to StringFormat[Compiled[T]]

Inherited by implicit conversion Ensuring from Compiled[T] to Ensuring[Compiled[T]]

Inherited by implicit conversion ArrowAssoc from Compiled[T] to ArrowAssoc[Compiled[T]]

Ungrouped