|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.impl.sql.execute.RISetChecker
Checks a set or referential integrity constraints. Used to shield the caller from ReferencedKeyRIChecker and ForeignKeyRICheckers.
| Field Summary | |
private GenericRIChecker[] |
checkers
|
| Constructor Summary | |
RISetChecker(TransactionController tc,
FKInfo[] fkInfo)
|
|
| Method Summary | |
void |
close()
clean up |
void |
doFKCheck(ExecRow row)
Check that everything in the row is ok, i.e. |
void |
doPKCheck(ExecRow row,
boolean restrictCheckOnly)
Check that there are no referenced primary keys in the passed in row. |
void |
doRICheck(int index,
ExecRow row,
boolean restrictCheckOnly)
Execute the specific RI check on the passed in row. |
(package private) void |
reopen()
Do any work needed to reopen our ri checkers for another round of checks. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private GenericRIChecker[] checkers
| Constructor Detail |
public RISetChecker(TransactionController tc,
FKInfo[] fkInfo)
throws StandardException
tc - the xact controller
StandardException - Thrown on failure| Method Detail |
void reopen()
throws StandardException
StandardException - on error
public void doPKCheck(ExecRow row,
boolean restrictCheckOnly)
throws StandardException
row - the row to check
StandardException - on unexpected error, or
on a primary/unique key violation
public void doFKCheck(ExecRow row)
throws StandardException
row - the row to check
StandardException - on unexpected error, or
on a primary/unique key violation
public void doRICheck(int index,
ExecRow row,
boolean restrictCheckOnly)
throws StandardException
row - the row to check
StandardException - on unexpected error, or
on a primary/unique key violation
public void close()
throws StandardException
StandardException - on error
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||