CountColumn

edu.gemini.grackle.sql.SqlMappingLike.SqlColumn$.CountColumn
case class CountColumn(col: SqlColumn, cols: List[SqlColumn]) extends SqlColumn

Representation of COUNT aggregation

Attributes

Source:
SqlMapping.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait SqlColumn
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete 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

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
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
SqlColumn -> Any
Inherited from:
SqlColumn
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
SqlColumn -> Any
Inherited from:
SqlColumn
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

Inherited from:
SqlColumn
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

Inherited from:
SqlColumn
Source:
SqlMapping.scala

The named owner of this column, if any

The named owner of this column, if any

Attributes

Inherited from:
SqlColumn
Source:
SqlMapping.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
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
SqlColumn -> Any
Inherited from:
SqlColumn
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

Inherited from:
SqlColumn
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

Inherited from:
SqlColumn
Source:
SqlMapping.scala