|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> sql >> [ execute overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.impl.sql.execute
Class ReferencedKeyRIChecker

java.lang.Objectorg.apache.derby.impl.sql.execute.GenericRIChecker
org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker
- public class ReferencedKeyRIChecker
- extends GenericRIChecker
A Referential Integrity checker for a change to a referenced key (primary or unique). Makes sure that all the referenced key row is not referenced by any of its foreign keys. see ForeignKeyRIChecker for the code that validates changes to foreign keys.
| Field Summary |
| Fields inherited from class org.apache.derby.impl.sql.execute.GenericRIChecker |
fkDcocis, fkInfo, fkScocis, refDcoci, refScoci, tc |
| Constructor Summary | |
(package private) |
ReferencedKeyRIChecker(org.apache.derby.iapi.store.access.TransactionController tc,
FKInfo fkinfo)
|
| Method Summary | |
(package private) void |
doCheck(org.apache.derby.iapi.sql.execute.ExecRow row,
boolean restrictCheckOnly)
Check that the row either has a null column(s), or has no corresponding foreign keys. |
| Methods inherited from class org.apache.derby.impl.sql.execute.GenericRIChecker |
close, doCheck, getRICheckIsolationLevel, getScanController, isAnyFieldNull |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
ReferencedKeyRIChecker
ReferencedKeyRIChecker(org.apache.derby.iapi.store.access.TransactionController tc, FKInfo fkinfo) throws org.apache.derby.iapi.error.StandardException
| Method Detail |
doCheck
void doCheck(org.apache.derby.iapi.sql.execute.ExecRow row, boolean restrictCheckOnly) throws org.apache.derby.iapi.error.StandardException
- Check that the row either has a null column(s), or
has no corresponding foreign keys.
If a foreign key is found, an exception is thrown. If not, the scan is closed.
- Specified by:
doCheckin classGenericRIChecker
|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> sql >> [ execute overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC