Packages

case class EmbeddedColumn(owner: ColumnOwner, col: SqlColumn) extends SqlColumn with Product with Serializable

Representation of a column of an embedded subobject

Columns of embedded subobjects have a different context path from columns of their enclosing object, however they resolve to columns of the same SqlSelect. To satisfy the SqlSelect invariant that all its columns must share the same context path we have to wrap the embedded column so that its context path conforms.

Source
SqlMapping.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EmbeddedColumn
  2. Serializable
  3. Product
  4. Equals
  5. SqlColumn
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new EmbeddedColumn(owner: ColumnOwner, col: SqlColumn)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def codec: SqlMappingLike.Codec
    Definition Classes
    EmbeddedColumnSqlColumn
  7. val col: SqlColumn
  8. def column: String
    Definition Classes
    EmbeddedColumnSqlColumn
  9. def derive(other: ColumnOwner): SqlColumn

    Derives a new column with a different owner with this column as underlying.

    Derives a new column with a different owner with this column as underlying.

    Used to represent columns on the outside of subqueries and common table expressions. Note that column aliases are tracked across derivation so that derived columns will continue to refer to the same underlying data irrespective of renaming.

    Definition Classes
    SqlColumn
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(other: Any): Boolean

    Equality on SqlColumns

    Equality on SqlColumns

    Two SqlColumns are equal if their underlyings have the same name and owner.

    Definition Classes
    SqlColumn → AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    SqlColumn → AnyRef → Any
  15. def in(other: ColumnOwner): SqlColumn

    Yields a copy of this column in other

    Yields a copy of this column in other

    Only well defined if the move doesn't lose an owner name

    Definition Classes
    SqlColumn
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isRef: Boolean

    Is this column a reference to a column of a table

    Is this column a reference to a column of a table

    Definition Classes
    EmbeddedColumnSqlColumn
  18. def namedOwner: Option[TableExpr]

    The named owner of this column, if any

    The named owner of this column, if any

    Definition Classes
    SqlColumn
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val owner: ColumnOwner
    Definition Classes
    EmbeddedColumnSqlColumn
  23. def pos: SourcePos
    Definition Classes
    EmbeddedColumnSqlColumn
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. def resultPath: List[String]
    Definition Classes
    EmbeddedColumnSqlColumn
  26. def scalaTypeName: String
    Definition Classes
    EmbeddedColumnSqlColumn
  27. def subst(from: ColumnOwner, to: ColumnOwner): SqlColumn

    Yields a copy of this column with all occurences of from replaced by to

    Yields a copy of this column with all occurences of from replaced by to

    Definition Classes
    EmbeddedColumnSqlColumn
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toDefFragment(collated: Boolean): Aliased[SqlMappingLike.Fragment]

    Render a defining occurence of this SqlColumn

    Render a defining occurence of this SqlColumn

    Definition Classes
    EmbeddedColumnSqlColumn
  30. def toRefFragment(collated: Boolean): Aliased[SqlMappingLike.Fragment]

    Render a reference to this SqlColumn

    Render a reference to this SqlColumn

    Definition Classes
    EmbeddedColumnSqlColumn
  31. def toString(): String
    Definition Classes
    SqlColumn → AnyRef → Any
  32. def toTerm: Term[Option[Unit]]

    This column as a Term which can appear in a Predicate

    This column as a Term which can appear in a Predicate

    Definition Classes
    SqlColumn
  33. def underlying: SqlColumn

    If this column is derived, the column it was derived from, itself otherwise

    If this column is derived, the column it was derived from, itself otherwise

    Definition Classes
    EmbeddedColumnSqlColumn
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SqlColumn

Inherited from AnyRef

Inherited from Any

Ungrouped