SqlColumn

edu.gemini.grackle.sql.SqlMappingLike.SqlColumn
See theSqlColumn companion object
trait SqlColumn

Trait representing an SQL column

Attributes

Companion:
object
Source:
SqlMapping.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

Attributes

Source:
SqlMapping.scala

Attributes

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 defining occurence of this SqlColumn

Attributes

Source:
SqlMapping.scala

Render a reference to this SqlColumn

Render a reference to this SqlColumn

Attributes

Source:
SqlMapping.scala

Concrete 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

Source:
SqlMapping.scala
override def equals(other: Any): Boolean

Equality on SqlColumns

Equality on SqlColumns

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

Attributes

Definition Classes
Any
Source:
SqlMapping.scala
override def hashCode(): Int

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
Any
Source:
SqlMapping.scala
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

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

Source:
SqlMapping.scala

The named owner of this column, if any

The named owner of this column, if any

Attributes

Source:
SqlMapping.scala
override def toString: String

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
Any
Source:
SqlMapping.scala

This column as a Term which can appear in a Predicate

This column as a Term which can appear in a Predicate

Attributes

Source:
SqlMapping.scala

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

Source:
SqlMapping.scala