ColumnResolver

A column resolver is list of column (for example, a table) that can map a column name to an actual column.

Methods
Column[] getColumns()
Get the column list.
Column[] getColumns()
Get the column list.
Returns:
the column list
String getDerivedColumnName(Column column)
Get derived column name, or
String getDerivedColumnName(Column column)
Get derived column name, or {@code null}.
Parameters:
column - column
Returns:
derived column name, or {@code null}
Column getRowIdColumn()
Get the row id pseudo column, if there is one.
Column getRowIdColumn()
Get the row id pseudo column, if there is one.
Returns:
the row id column or null
String getSchemaName()
Get the schema name.
String getSchemaName()
Get the schema name.
Returns:
the schema name
Select getSelect()
Get the select statement.
Select getSelect()
Get the select statement.
Returns:
the select statement
Column[] getSystemColumns()
Get the list of system columns, if any.
Column[] getSystemColumns()
Get the list of system columns, if any.
Returns:
the system columns or null
String getTableAlias()
Get the table alias.
String getTableAlias()
Get the table alias.
Returns:
the table alias
TableFilter getTableFilter()
Get the table filter.
TableFilter getTableFilter()
Get the table filter.
Returns:
the table filter
Value getValue(Column column)
Get the value for the given column.
Value getValue(Column column)
Get the value for the given column.
Parameters:
column - the column
Returns:
the value
Expression optimize(ExpressionColumn expressionColumn, Column column)
Get the expression that represents this column.
Expression optimize(ExpressionColumn expressionColumn, Column column)
Get the expression that represents this column.
Parameters:
expressionColumn - the expression column
column - the column
Returns:
the optimized expression