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.
-
Field Summary
Fields -
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.(package private) void
(package private) void
setColumnName
(String newName) void
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, optimize
-
Field Details
-
column
-
value
-
name
-
-
Constructor Details
-
DomainColumnResolver
-
-
Method Details
-
setValue
-
getValue
Description copied from interface:ColumnResolver
Get the value for the given column.- Specified by:
getValue
in interfaceColumnResolver
- Parameters:
col
- the column- Returns:
- the value
-
getColumns
Description copied from interface:ColumnResolver
Get the column list.- Specified by:
getColumns
in interfaceColumnResolver
- Returns:
- the column list
-
findColumn
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
-
setColumnName
-
resetColumnName
void resetColumnName() -
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
-