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
FieldsModifier and TypeFieldDescriptionfinal StringName of the column.final StringAlias 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.voidtoSql(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:
toSqlin classLattice.Column
-
defaultAlias
Description copied from class:Lattice.ColumnThe alias that SQL would give to this expression.- Specified by:
defaultAliasin classLattice.Column
-