public class ForeignKeyRIChecker extends GenericRIChecker
| Constructor and Description |
|---|
ForeignKeyRIChecker(TransactionController tc,
FKInfo fkinfo) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
doCheck(ExecRow row,
boolean restrictCheckOnly)
Check that the row either has a null column(s), or
corresponds to a row in the referenced key.
|
(package private) int |
getRICheckIsolationLevel()
Get the isolation level for the scan for
the RI check.
|
close, doCheck, getScanController, isAnyFieldNullForeignKeyRIChecker(TransactionController tc, FKInfo fkinfo) throws StandardException
tc - the xact controllerfkinfo - the foreign key informationStandardException - Thrown on failurevoid doCheck(ExecRow row, boolean restrictCheckOnly) throws StandardException
If the referenced key is found, then it is locked when this method returns. The lock is held until the next call to doCheck() or close().
doCheck in class GenericRICheckerrow - the row to checkStandardException - on unexped error, or
on a foreign key violationint getRICheckIsolationLevel()
getRICheckIsolationLevel in class GenericRICheckerApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.