Package org.h2.command.query
Class TableValueConstructor.TableValueColumnResolver
- java.lang.Object
-
- org.h2.command.query.TableValueConstructor.TableValueColumnResolver
-
- All Implemented Interfaces:
ColumnResolver
- Enclosing class:
- TableValueConstructor
private final class TableValueConstructor.TableValueColumnResolver extends java.lang.Object implements ColumnResolver
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Value[]
currentRow
-
Constructor Summary
Constructors Constructor Description TableValueColumnResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Column
findColumn(java.lang.String name)
Get the column with the specified name.Column[]
getColumns()
Get the column list.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
-
Methods inherited from interface org.h2.table.ColumnResolver
getColumnName, getRowIdColumn, getSchemaName, getSelect, getSystemColumns, getTableAlias, getTableFilter, hasDerivedColumnList
-
-
-
-
Field Detail
-
currentRow
Value[] currentRow
-
-
Method Detail
-
getColumns
public Column[] getColumns()
Description copied from interface:ColumnResolver
Get the column list.- Specified by:
getColumns
in interfaceColumnResolver
- Returns:
- the column list
-
findColumn
public Column findColumn(java.lang.String name)
Description copied from interface:ColumnResolver
Get the column with the specified name.- Specified by:
findColumn
in interfaceColumnResolver
- Parameters:
name
- the column name, must be a derived name if this column resolver has a derived column list- Returns:
- the column with the specified name, or
null
-
getValue
public Value getValue(Column column)
Description copied from interface:ColumnResolver
Get the value for the given column.- Specified by:
getValue
in interfaceColumnResolver
- Parameters:
column
- the column- Returns:
- the value
-
optimize
public Expression optimize(ExpressionColumn expressionColumn, Column column)
Description copied from interface:ColumnResolver
Get the expression that represents this column.- Specified by:
optimize
in interfaceColumnResolver
- Parameters:
expressionColumn
- the expression columncolumn
- the column- Returns:
- the optimized expression
-
-