Package org.apache.calcite.materialize
Class Lattice.BaseColumn
java.lang.Object
org.apache.calcite.materialize.Lattice.Column
org.apache.calcite.materialize.Lattice.BaseColumn
- All Implemented Interfaces:
Comparable<Lattice.Column>
- Enclosing class:
Lattice
Column in a lattice. Columns are identified by table alias and
column name, and may have an additional alias that is unique
within the entire lattice.
-
Field Summary
Modifier and TypeFieldDescriptionfinal String
Name of the column.final String
Alias of the table reference that the column belongs to.Fields inherited from class org.apache.calcite.materialize.Lattice.Column
alias, ordinal
-
Method Summary
Modifier and TypeMethodDescriptionThe alias that SQL would give to this expression.void
toSql
(Lattice.SqlWriter writer) toString()
Methods inherited from class org.apache.calcite.materialize.Lattice.Column
compareTo, equals, hashCode
-
Field Details
-
table
Alias of the table reference that the column belongs to. -
column
Name of the column. Unique within the table reference, but not necessarily within the lattice.
-
-
Method Details
-
toString
-
identifiers
-
toSql
- Specified by:
toSql
in classLattice.Column
-
defaultAlias
Description copied from class:Lattice.Column
The alias that SQL would give to this expression.- Specified by:
defaultAlias
in classLattice.Column
-