CountColumn

case class CountColumn(col: SqlColumn, cols: List[SqlColumn]) extends SqlColumn

Representation of COUNT aggregation

trait Serializable
trait Product
trait Equals
trait SqlColumn
class Object
trait Matchable
class Any

Value members

Concrete methods

def pos: SourcePos

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.

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

Definition Classes
SqlColumn -> Any
Inherited from:
SqlColumn
override def hashCode(): Int
Definition Classes
SqlColumn -> Any
Inherited from:
SqlColumn
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

Inherited from:
SqlColumn

Is this column a reference to a column of a table

Is this column a reference to a column of a table

Inherited from:
SqlColumn

The named owner of this column, if any

The named owner of this column, if any

Inherited from:
SqlColumn
Inherited from:
Product
override def toString: String
Definition Classes
SqlColumn -> Any
Inherited from:
SqlColumn

This column as a Term which can appear in a Predicate

This column as a Term which can appear in a Predicate

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

Inherited from:
SqlColumn