Class GeneratedColumnResolver
java.lang.Object
org.h2.table.GeneratedColumnResolver
- All Implemented Interfaces:
ColumnResolver
Column resolver for generated columns.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Column[]findColumn(String name) Get the column with the specified name.Column[]Get the column list.Get the row id pseudo column, if there is one.Get the value for the given column.(package private) voidSet the current row.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ColumnResolver
getColumnName, getSchemaName, getSelect, getSystemColumns, getTableAlias, getTableFilter, hasDerivedColumnList, optimize
-
Field Details
-
table
-
columns
-
columnMap
-
current
-
-
Constructor Details
-
GeneratedColumnResolver
GeneratedColumnResolver(Table table) Column resolver for generated columns.- Parameters:
table- the table
-
-
Method Details
-
set
-
getColumns
Description copied from interface:ColumnResolverGet the column list.- Specified by:
getColumnsin interfaceColumnResolver- Returns:
- the column list
-
createColumns
-
findColumn
Description copied from interface:ColumnResolverGet the column with the specified name.- Specified by:
findColumnin 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
Description copied from interface:ColumnResolverGet the value for the given column.- Specified by:
getValuein interfaceColumnResolver- Parameters:
column- the column- Returns:
- the value
-
getRowIdColumn
Description copied from interface:ColumnResolverGet the row id pseudo column, if there is one.- Specified by:
getRowIdColumnin interfaceColumnResolver- Returns:
- the row id column or null
-