|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.command.dml.SelectListColumnResolver
public class SelectListColumnResolver
This class represents a column resolver for the column list of a SELECT statement. It is used to resolve select column aliases in the HAVING clause. Example:
SELECT X/3 AS A, COUNT(*) FROM SYSTEM_RANGE(1, 10) GROUP BY A HAVING A>2;
| Method Summary | |
|---|---|
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. |
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 column)
Get the value for the given column. |
Expression |
optimize(ExpressionColumn expressionColumn,
Column column)
Get the expression that represents this column. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Column[] getColumns()
ColumnResolver
getColumns in interface ColumnResolverpublic java.lang.String getSchemaName()
ColumnResolver
getSchemaName in interface ColumnResolverpublic Select getSelect()
ColumnResolver
getSelect in interface ColumnResolverpublic Column[] getSystemColumns()
ColumnResolver
getSystemColumns in interface ColumnResolverpublic Column getRowIdColumn()
ColumnResolver
getRowIdColumn in interface ColumnResolverpublic java.lang.String getTableAlias()
ColumnResolver
getTableAlias in interface ColumnResolverpublic TableFilter getTableFilter()
ColumnResolver
getTableFilter in interface ColumnResolverpublic Value getValue(Column column)
ColumnResolver
getValue in interface ColumnResolvercolumn - the column
public Expression optimize(ExpressionColumn expressionColumn,
Column column)
ColumnResolver
optimize in interface ColumnResolverexpressionColumn - the expression columncolumn - the column
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||