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 UUID
fkId
the UUID of the foreign constraintprivate java.lang.String
schemaName
private java.lang.String
tableName
-
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 UUID
getFkId()
void
possiblyValidateOnReturn(LanguageConnectionContext lcc, SQLSessionContext nested, SQLSessionContext caller)
void
validateConstraint(LanguageConnectionContext lcc, UUID constraintId, boolean rollbackOnError)
private void
validateForeignKey(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:
possiblyValidateOnReturn
in classDeferredConstraintsMemory.ValidationInfo
- Throws:
StandardException
-
validateConstraint
public final void validateConstraint(LanguageConnectionContext lcc, UUID constraintId, boolean rollbackOnError) throws StandardException
- Specified by:
validateConstraint
in classDeferredConstraintsMemory.ValidationInfo
- Throws:
StandardException
-
validateForeignKey
private void validateForeignKey(LanguageConnectionContext lcc, boolean rollbackOnError) throws StandardException
- Throws:
StandardException
-
-