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
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
possiblyValidateOnReturn
(LanguageConnectionContext lcc, SQLSessionContext nested, SQLSessionContext caller) abstract void
validateConstraint
(LanguageConnectionContext lcc, UUID constraintId, boolean rollbackOnError)
-
Field Details
-
infoRows
-
-
Constructor Details
-
ValidationInfo
-
-
Method Details
-
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
-