public class ReferencedKeyRIChecker extends GenericRIChecker
Constructor and Description |
---|
ReferencedKeyRIChecker(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
has no corresponding foreign keys.
|
close, doCheck, getRICheckIsolationLevel, getScanController, isAnyFieldNull
ReferencedKeyRIChecker(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 a foreign key is found, an exception is thrown. If not, the scan is closed.
doCheck
in class GenericRIChecker
row
- the row to checkStandardException
- on unexpected error, or
on a primary/unique key violationApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.