Class DeferredConstraintsMemory.ForeignKeyInfo
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.DeferredConstraintsMemory.ValidationInfo
-
- org.apache.derby.impl.sql.execute.DeferredConstraintsMemory.ForeignKeyInfo
-
- Enclosing class:
- DeferredConstraintsMemory
private static class DeferredConstraintsMemory.ForeignKeyInfo extends DeferredConstraintsMemory.ValidationInfo
-
-
Field Summary
Fields Modifier and Type Field Description private UUIDfkIdthe UUID of the foreign constraintprivate java.lang.StringschemaNameprivate java.lang.StringtableName-
Fields inherited from class org.apache.derby.impl.sql.execute.DeferredConstraintsMemory.ValidationInfo
infoRows
-
-
Constructor Summary
Constructors Constructor Description ForeignKeyInfo(BackingStoreHashtable infoRows, UUID fkId, java.lang.String schemaName, java.lang.String tableName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUIDgetFkId()voidpossiblyValidateOnReturn(LanguageConnectionContext lcc, SQLSessionContext nested, SQLSessionContext caller)voidvalidateConstraint(LanguageConnectionContext lcc, UUID constraintId, boolean rollbackOnError)private voidvalidateForeignKey(LanguageConnectionContext lcc, boolean rollbackOnError)
-
-
-
Field Detail
-
fkId
private final UUID fkId
the UUID of the foreign constraint
-
schemaName
private final java.lang.String schemaName
-
tableName
private final java.lang.String tableName
-
-
Constructor Detail
-
ForeignKeyInfo
public ForeignKeyInfo(BackingStoreHashtable infoRows, UUID fkId, java.lang.String schemaName, java.lang.String tableName)
-
-
Method Detail
-
getFkId
public UUID getFkId()
-
possiblyValidateOnReturn
public void possiblyValidateOnReturn(LanguageConnectionContext lcc, SQLSessionContext nested, SQLSessionContext caller) throws StandardException
- Specified by:
possiblyValidateOnReturnin classDeferredConstraintsMemory.ValidationInfo- Throws:
StandardException
-
validateConstraint
public final void validateConstraint(LanguageConnectionContext lcc, UUID constraintId, boolean rollbackOnError) throws StandardException
- Specified by:
validateConstraintin classDeferredConstraintsMemory.ValidationInfo- Throws:
StandardException
-
validateForeignKey
private void validateForeignKey(LanguageConnectionContext lcc, boolean rollbackOnError) throws StandardException
- Throws:
StandardException
-
-