DerivedColumn
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.
Attributes
- Source:
- SqlMapping.scala
- Graph
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Source:
- SqlMapping.scala
Attributes
- Source:
- SqlMapping.scala
Is this column a reference to a column of a table
Is this column a reference to a column of a table
Attributes
- Definition Classes
- Source:
- SqlMapping.scala
Attributes
- Source:
- SqlMapping.scala
Attributes
- Source:
- SqlMapping.scala
Attributes
- Source:
- SqlMapping.scala
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
Attributes
- Source:
- SqlMapping.scala
Render a defining occurence of this SqlColumn
Render a reference to this 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
Attributes
- Definition Classes
- Source:
- SqlMapping.scala
Inherited methods
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.
Attributes
- Inherited from:
- SqlColumn
- Source:
- SqlMapping.scala
Equality on SqlColumns
Equality on SqlColumns
Two SqlColumns
are equal if their underlyings have the same name and owner.
Attributes
- Definition Classes
- SqlColumn -> Any
- Inherited from:
- SqlColumn
- Source:
- SqlMapping.scala
Calculate a hash code value for the object.
Calculate a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet
not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
.
However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have
identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure
to verify that the behavior is consistent with the equals
method.
Attributes
- Returns:
the hash code value for this object.
- Definition Classes
- SqlColumn -> Any
- Inherited from:
- SqlColumn
- Source:
- SqlMapping.scala
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
Attributes
- Inherited from:
- SqlColumn
- Source:
- SqlMapping.scala
The named owner of this column, if any
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns:
a string representation of the object.
- Definition Classes
- SqlColumn -> Any
- Inherited from:
- SqlColumn
- Source:
- SqlMapping.scala