private static class DeferredConstraintsMemory.UniquePkInfo extends DeferredConstraintsMemory.ValidationInfo
| Modifier and Type | Field | Description |
|---|---|---|
private UUID |
constraintId |
infoRows| Constructor | Description |
|---|---|
UniquePkInfo(BackingStoreHashtable infoRows,
UUID constraintId) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
possiblyValidateOnReturn(LanguageConnectionContext lcc,
SQLSessionContext nested,
SQLSessionContext caller) |
|
void |
validateConstraint(LanguageConnectionContext lcc,
UUID constraintId,
boolean rollbackOnError) |
Validate one primary key or unique constraint
|
private void |
validateUniquePK(LanguageConnectionContext lcc,
BackingStoreHashtable ht,
boolean rollbackOnError) |
private final UUID constraintId
public UniquePkInfo(BackingStoreHashtable infoRows, UUID constraintId)
public final void possiblyValidateOnReturn(LanguageConnectionContext lcc, SQLSessionContext nested, SQLSessionContext caller) throws StandardException
possiblyValidateOnReturn in class DeferredConstraintsMemory.ValidationInfoStandardExceptionpublic final void validateConstraint(LanguageConnectionContext lcc, UUID constraintId, boolean rollbackOnError) throws StandardException
validateConstraint in class DeferredConstraintsMemory.ValidationInfolcc - The language connection contextconstraintId - Not used by this constraint typerollbackOnError - true if we should roll back the
transaction if we see a violation of the constraintStandardExceptionprivate void validateUniquePK(LanguageConnectionContext lcc, BackingStoreHashtable ht, boolean rollbackOnError) throws StandardException
StandardExceptionApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.