public class SubKeyConstraintDescriptor extends SubConstraintDescriptor
Modifier and Type | Field | Description |
---|---|---|
(package private) UUID |
indexId |
Interface for SubKeyConstraintDescriptor is
public UUID getIndexId();
public UUID getKeyConstraintId();
|
(package private) UUID |
keyConstraintId |
|
(package private) int |
raDeleteRule |
|
(package private) int |
raUpdateRule |
constraintId, td
Constructor | Description |
---|---|
SubKeyConstraintDescriptor(UUID constraintId,
UUID indexId) |
Constructor for a SubConstraintDescriptorImpl
|
SubKeyConstraintDescriptor(UUID constraintId,
UUID indexId,
UUID keyConstraintId) |
Constructor for a SubConstraintDescriptor
|
SubKeyConstraintDescriptor(UUID constraintId,
UUID indexId,
UUID keyConstraintId,
int raDeleteRule,
int raUpdateRule) |
Constructor for a SubConstraintDescriptor
|
Modifier and Type | Method | Description |
---|---|---|
UUID |
getIndexId() |
Gets the UUID of the backing index.
|
UUID |
getKeyConstraintId() |
Gets the UUID of the referenced key constraint
|
int |
getRaDeleteRule() |
Gets a referential action rule on a DELETE
|
int |
getRaUpdateRule() |
Gets a referential action rule on a UPDATE
|
boolean |
hasBackingIndex() |
Does this constraint have a backing index?
|
java.lang.String |
toString() |
Convert the SubKeyConstraintDescriptor to a String.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTableDescriptor, getUUID, setConstraintId, setTableDescriptor
getColumnDependableFinder, getDataDictionary, getDependableFinder, getDescriptorName, getDescriptorType, isPersistent, setDataDictionary
UUID indexId
UUID keyConstraintId
int raDeleteRule
int raUpdateRule
public SubKeyConstraintDescriptor(UUID constraintId, UUID indexId)
constraintId
- The UUID of the constraint.indexId
- The UUID of the backing index.public SubKeyConstraintDescriptor(UUID constraintId, UUID indexId, UUID keyConstraintId)
constraintId
- The UUID of the constraint.indexId
- The UUID of the backing index.keyConstraintId
- The UUID of the referenced constraint (fks)public SubKeyConstraintDescriptor(UUID constraintId, UUID indexId, UUID keyConstraintId, int raDeleteRule, int raUpdateRule)
constraintId
- The UUID of the constraint.indexId
- The UUID of the backing index.keyConstraintId
- The UUID of the referenced constraint (fks)raDeleteRule
- The referential action for deleteraUpdateRule
- The referential action for updatepublic UUID getIndexId()
public UUID getKeyConstraintId()
public boolean hasBackingIndex()
hasBackingIndex
in class SubConstraintDescriptor
public int getRaDeleteRule()
public int getRaUpdateRule()
public java.lang.String toString()
toString
in class SubConstraintDescriptor
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.