Class DeferredConstraintsMemory.ValidationInfo
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.DeferredConstraintsMemory.ValidationInfo
-
- Direct Known Subclasses:
DeferredConstraintsMemory.CheckInfo
,DeferredConstraintsMemory.ForeignKeyInfo
,DeferredConstraintsMemory.UniquePkInfo
- Enclosing class:
- DeferredConstraintsMemory
public abstract static class DeferredConstraintsMemory.ValidationInfo extends java.lang.Object
Class hierarchy carrying the information we need to validate some deferred constraint. For unique and primary key constraints, we only need the index row. For check constraints we need the target table name, schema name and some other info also.
-
-
Field Summary
Fields Modifier and Type Field Description BackingStoreHashtable
infoRows
-
Constructor Summary
Constructors Constructor Description ValidationInfo(BackingStoreHashtable infoRows)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
possiblyValidateOnReturn(LanguageConnectionContext lcc, SQLSessionContext nested, SQLSessionContext caller)
abstract void
validateConstraint(LanguageConnectionContext lcc, UUID constraintId, boolean rollbackOnError)
-
-
-
Field Detail
-
infoRows
public final BackingStoreHashtable infoRows
-
-
Constructor Detail
-
ValidationInfo
public ValidationInfo(BackingStoreHashtable infoRows)
-
-
Method Detail
-
possiblyValidateOnReturn
public abstract void possiblyValidateOnReturn(LanguageConnectionContext lcc, SQLSessionContext nested, SQLSessionContext caller) throws StandardException
- Throws:
StandardException
-
validateConstraint
public abstract void validateConstraint(LanguageConnectionContext lcc, UUID constraintId, boolean rollbackOnError) throws StandardException
- Throws:
StandardException
-
-