Packages

c

slick.lifted

RepOption

final case class RepOption[T](base: ShapedValue[_, _], toNode: Node) extends Rep[Option[T]] with Product with Serializable

Represents Rep[Option[T]] in all cases where T is not a column base type. This special representation is necessary so that a non-Option Rep value can be retrieved for encoding Option-based operations. This base value is of type T if T <: Rep[_], otherwise of type Rep[T].

Source
Rep.scala
Linear Supertypes
Serializable, Product, Equals, Rep[Option[T]], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RepOption
  2. Serializable
  3. Product
  4. Equals
  5. Rep
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RepOption(base: ShapedValue[_, _], toNode: Node)

Value Members

  1. val base: ShapedValue[_, _]
  2. def encodeRef(path: Node): Rep[Option[T]]

    Encode a reference into this Rep.

    Encode a reference into this Rep.

    Definition Classes
    RepOptionRep
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product
  4. val toNode: Node

    Get the Node for this Rep.

    Get the Node for this Rep.

    Definition Classes
    RepOptionRep
  5. def toString(): String
    Definition Classes
    Rep → AnyRef → Any