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) voidsetColumnName(String newName) voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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: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
-
setColumnName
-
resetColumnName
void resetColumnName() -
getColumnName
Return column name to use or null.- Returns:
- column name to use or null
-
getValueType
-