public abstract class GenericRIChecker
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected DynamicCompiledOpenConglomInfo[] |
fkDcocis |
protected FKInfo |
fkInfo |
protected StaticCompiledOpenConglomInfo[] |
fkScocis |
private IndexRow |
indexQualifierRow |
private int |
numColumns |
protected DynamicCompiledOpenConglomInfo |
refDcoci |
protected StaticCompiledOpenConglomInfo |
refScoci |
private java.util.Hashtable |
scanControllers |
protected TransactionController |
tc |
| Constructor and Description |
|---|
GenericRIChecker(TransactionController tc,
FKInfo fkinfo) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
close()
Clean up all scan controllers
|
void |
doCheck(ExecRow row) |
(package private) abstract void |
doCheck(ExecRow row,
boolean restrictCheckOnly)
Check the validity of this row
|
(package private) int |
getRICheckIsolationLevel()
Get the isolation level for the scan for
the RI check.
|
protected ScanController |
getScanController(long conglomNumber,
StaticCompiledOpenConglomInfo scoci,
DynamicCompiledOpenConglomInfo dcoci,
ExecRow searchRow)
Get a scan controller positioned using searchRow as
the start/stop position.
|
(package private) boolean |
isAnyFieldNull(ExecRow baseRow)
Are any of the fields null in the row passed
in.
|
private void |
setupQualifierRow(ExecRow baseRow) |
protected FKInfo fkInfo
protected DynamicCompiledOpenConglomInfo[] fkDcocis
protected StaticCompiledOpenConglomInfo[] fkScocis
protected DynamicCompiledOpenConglomInfo refDcoci
protected StaticCompiledOpenConglomInfo refScoci
protected TransactionController tc
private java.util.Hashtable scanControllers
private int numColumns
private IndexRow indexQualifierRow
GenericRIChecker(TransactionController tc, FKInfo fkinfo) throws StandardException
tc - the xact controllerfkinfo - the foreign key informationStandardException - Thrown on failureabstract void doCheck(ExecRow row, boolean restrictCheckOnly) throws StandardException
row - the row to checkStandardException - on errorpublic void doCheck(ExecRow row) throws StandardException
StandardExceptionprotected ScanController getScanController(long conglomNumber, StaticCompiledOpenConglomInfo scoci, DynamicCompiledOpenConglomInfo dcoci, ExecRow searchRow) throws StandardException
conglomNumber - the particular conglomerate we
are interested insearchRow - the row to matchStandardException - on errorprivate void setupQualifierRow(ExecRow baseRow)
boolean isAnyFieldNull(ExecRow baseRow)
void close()
throws StandardException
StandardException - on errorint getRICheckIsolationLevel()
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.