case class DerivedColumn(owner: ColumnOwner, col: SqlColumn) extends SqlColumn with Product with Serializable
Representation of a derived column
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.
- Source
- SqlMapping.scala
- Alphabetic
- By Inheritance
- DerivedColumn
- Serializable
- Product
- Equals
- SqlColumn
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DerivedColumn(owner: ColumnOwner, col: SqlColumn)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def codec: SqlMappingLike.Codec
- Definition Classes
- DerivedColumn → SqlColumn
- val col: SqlColumn
- def column: String
- Definition Classes
- DerivedColumn → SqlColumn
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- SqlColumn → AnyRef → Any
- 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
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- DerivedColumn → SqlColumn
- def namedOwner: Option[TableExpr]
The named owner of this column, if any
The named owner of this column, if any
- Definition Classes
- SqlColumn
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val owner: ColumnOwner
- Definition Classes
- DerivedColumn → SqlColumn
- def pos: SourcePos
- Definition Classes
- DerivedColumn → SqlColumn
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def resultPath: List[String]
- Definition Classes
- DerivedColumn → SqlColumn
- def scalaTypeName: String
- Definition Classes
- DerivedColumn → SqlColumn
- def subst(from: ColumnOwner, to: ColumnOwner): SqlColumn
Yields a copy of this column with all occurences of
from
replaced byto
Yields a copy of this column with all occurences of
from
replaced byto
- Definition Classes
- DerivedColumn → SqlColumn
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toDefFragment(collated: Boolean): Aliased[SqlMappingLike.Fragment]
Render a defining occurence of this
SqlColumn
Render a defining occurence of this
SqlColumn
- Definition Classes
- DerivedColumn → SqlColumn
- def toRefFragment(collated: Boolean): Aliased[SqlMappingLike.Fragment]
Render a reference to this
SqlColumn
Render a reference to this
SqlColumn
- Definition Classes
- DerivedColumn → SqlColumn
- def toString(): String
- Definition Classes
- SqlColumn → AnyRef → Any
- def toTerm: Term[Option[Unit]]
This column as a
Term
which can appear in aPredicate
This column as a
Term
which can appear in aPredicate
- Definition Classes
- SqlColumn
- 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
- DerivedColumn → SqlColumn
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()