ConstraintCheck
A check constraint.
Methods
void
checkExistingData
(Session session)
void
checkExistingData
(Session session)
void
checkRow
(Session session, Table t, Row oldRow, Row newRow)
void
checkRow
(Session session, Table t, Row oldRow, Row newRow)
Constraint.Type
getConstraintType
()
Constraint.Type
getConstraintType
()
String
getCreateSQL
()
String
getCreateSQL
()
String
getCreateSQLForCopy
(Table forTable, String quotedName)
String
getCreateSQLForCopy
(Table forTable, String quotedName)
String
getCreateSQLWithoutIndexes
()
String
getCreateSQLWithoutIndexes
()
Expression
getExpression
()
Expression
getExpression
()
HashSet
getReferencedColumns
(Table table)
HashSet
getReferencedColumns
(Table table)
Index
getUniqueIndex
()
Index
getUniqueIndex
()
boolean
isBefore
()
boolean
isBefore
()
boolean
isEverything
(ExpressionVisitor visitor)
boolean
isEverything
(ExpressionVisitor visitor)
void
rebuild
()
void
rebuild
()
void
removeChildrenAndResources
(Session session)
void
removeChildrenAndResources
(Session session)
void
setExpression
(Expression expr)
void
setExpression
(Expression expr)
void
setIndexOwner
(Index index)
void
setIndexOwner
(Index index)
void
setTableFilter
(TableFilter filter)
void
setTableFilter
(TableFilter filter)
boolean
usesIndex
(Index index)
boolean
usesIndex
(Index index)