public class SingleColumnResolver extends java.lang.Object implements ColumnResolver
| Modifier and Type | Method and Description |
|---|---|
Column |
findColumn(java.lang.String name)
Get the column with the specified name.
|
java.lang.String |
getColumnName(Column column)
Get the name of the specified column.
|
Column[] |
getColumns()
Get the column list.
|
Column |
getRowIdColumn()
Get the row id pseudo column, if there is one.
|
java.lang.String |
getSchemaName()
Get the schema name or null.
|
Select |
getSelect()
Get the select statement.
|
Column[] |
getSystemColumns()
Get the list of system columns, if any.
|
java.lang.String |
getTableAlias()
Get the table alias.
|
TableFilter |
getTableFilter()
Get the table filter.
|
Value |
getValue(Column col)
Get the value for the given column.
|
boolean |
hasDerivedColumnList()
Returns whether this column resolver has a derived column list.
|
Expression |
optimize(ExpressionColumn expressionColumn,
Column col)
Get the expression that represents this column.
|
public java.lang.String getTableAlias()
ColumnResolvergetTableAlias in interface ColumnResolverpublic Value getValue(Column col)
ColumnResolvergetValue in interface ColumnResolvercol - the columnpublic Column[] getColumns()
ColumnResolvergetColumns in interface ColumnResolverpublic Column findColumn(java.lang.String name)
ColumnResolverfindColumn in interface ColumnResolvername - the column name, must be a derived name if this column
resolver has a derived column listnullpublic java.lang.String getColumnName(Column column)
ColumnResolvergetColumnName in interface ColumnResolvercolumn - columnpublic boolean hasDerivedColumnList()
ColumnResolverhasDerivedColumnList in interface ColumnResolvertrue if this column resolver has a derived column list,
false otherwisepublic java.lang.String getSchemaName()
ColumnResolvergetSchemaName in interface ColumnResolverpublic TableFilter getTableFilter()
ColumnResolvergetTableFilter in interface ColumnResolverpublic Select getSelect()
ColumnResolvergetSelect in interface ColumnResolverpublic Column[] getSystemColumns()
ColumnResolvergetSystemColumns in interface ColumnResolverpublic Column getRowIdColumn()
ColumnResolvergetRowIdColumn in interface ColumnResolverpublic Expression optimize(ExpressionColumn expressionColumn, Column col)
ColumnResolveroptimize in interface ColumnResolverexpressionColumn - the expression columncol - the column