|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.iapi.sql.dictionary.TupleDescriptor
org.apache.derby.iapi.sql.dictionary.SubConstraintDescriptor
org.apache.derby.iapi.sql.dictionary.SubKeyConstraintDescriptor
public class SubKeyConstraintDescriptor
This interface is used to get information from a SubKeyConstraintDescriptor. A SubKeyConstraintDescriptor is used within the DataDictionary to get auxiliary constraint information from the system table that is auxiliary to sysconstraints.
| Field Summary | |
|---|---|
(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
|
| Fields inherited from class org.apache.derby.iapi.sql.dictionary.SubConstraintDescriptor |
|---|
constraintId, td |
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.derby.iapi.sql.dictionary.SubConstraintDescriptor |
|---|
getTableDescriptor, getUUID, setConstraintId, setTableDescriptor |
| Methods inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor |
|---|
getColumnDependableFinder, getDataDictionary, getDependableFinder, getDescriptorName, getDescriptorType, isPersistent, setDataDictionary |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
UUID indexId
UUID keyConstraintId
int raDeleteRule
int raUpdateRule
| Constructor Detail |
|---|
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 update| Method Detail |
|---|
public UUID getIndexId()
public UUID getKeyConstraintId()
public boolean hasBackingIndex()
hasBackingIndex in class SubConstraintDescriptorpublic int getRaDeleteRule()
public int getRaUpdateRule()
public java.lang.String toString()
toString in class SubConstraintDescriptor
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||