public class SingleColumnResolver extends Object implements ColumnResolver
Modifier and Type | Method and Description |
---|---|
Column[] |
getColumns()
Get the column list.
|
String |
getDerivedColumnName(Column column)
Get derived column name, or
null . |
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 col)
Get the value for the given column.
|
Expression |
optimize(ExpressionColumn expressionColumn,
Column col)
Get the expression that represents this column.
|
public String getTableAlias()
ColumnResolver
getTableAlias
in interface ColumnResolver
public Value getValue(Column col)
ColumnResolver
getValue
in interface ColumnResolver
col
- the columnpublic Column[] getColumns()
ColumnResolver
getColumns
in interface ColumnResolver
public String getDerivedColumnName(Column column)
ColumnResolver
null
.getDerivedColumnName
in interface ColumnResolver
column
- columnnull
public String getSchemaName()
ColumnResolver
getSchemaName
in interface ColumnResolver
public TableFilter getTableFilter()
ColumnResolver
getTableFilter
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 Expression optimize(ExpressionColumn expressionColumn, Column col)
ColumnResolver
optimize
in interface ColumnResolver
expressionColumn
- the expression columncol
- the columnCopyright © 2020 JBoss by Red Hat. All rights reserved.