public class SelectListColumnResolver extends Object implements ColumnResolver
SELECT X/3 AS A, COUNT(*) FROM SYSTEM_RANGE(1, 10) GROUP BY A HAVING A>2;
Modifier and Type | Method and Description |
---|---|
Column[] |
getColumns()
Get the column list.
|
Column |
getRowIdColumn()
Get the row id pseudo column, if there is one.
|
String |
getSchemaName()
Get the schema name.
|
Select |
getSelect()
Get the select statement.
|
Column[] |
getSystemColumns()
Get the list of system columns, if any.
|
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.
|
public Column[] getColumns()
ColumnResolver
getColumns
in interface ColumnResolver
public String getSchemaName()
ColumnResolver
getSchemaName
in interface ColumnResolver
public Select getSelect()
ColumnResolver
getSelect
in interface ColumnResolver
public Column[] getSystemColumns()
ColumnResolver
getSystemColumns
in interface ColumnResolver
public Column getRowIdColumn()
ColumnResolver
getRowIdColumn
in interface ColumnResolver
public String getTableAlias()
ColumnResolver
getTableAlias
in interface ColumnResolver
public TableFilter getTableFilter()
ColumnResolver
getTableFilter
in interface ColumnResolver
public Value getValue(Column column)
ColumnResolver
getValue
in interface ColumnResolver
column
- the columnpublic Expression optimize(ExpressionColumn expressionColumn, Column column)
ColumnResolver
optimize
in interface ColumnResolver
expressionColumn
- the expression columncolumn
- the columnCopyright © 2012 JBoss by Red Hat. All Rights Reserved.