Package org.h2.constraint
Class DomainColumnResolver
java.lang.Object
org.h2.constraint.DomainColumnResolver
- All Implemented Interfaces:
ColumnResolver
The single column resolver resolves the VALUE column.
It is used to parse a domain constraint.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindColumn(String name) Get the column with the specified name.Return column name to use or null.Column[]Get the column list.Get the value for the given column.Return the type of the column.voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.h2.table.ColumnResolver
getColumnName, getRowIdColumn, getSchemaName, getSelect, getSystemColumns, getTableAlias, getTableFilter, hasDerivedColumnList, optimize
-
Constructor Details
-
DomainColumnResolver
-
-
Method Details
-
setValue
-
getValue
Description copied from interface:ColumnResolverGet the value for the given column.- Specified by:
getValuein interfaceColumnResolver- Parameters:
col- the column- Returns:
- the value
-
getColumns
Description copied from interface:ColumnResolverGet the column list.- Specified by:
getColumnsin interfaceColumnResolver- Returns:
- the column list
-
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
-
getColumnName
Return column name to use or null.- Returns:
- column name to use or null
-
getValueType
Return the type of the column.- Returns:
- the type of the column
-