| java.lang.Object org.apache.derby.iapi.sql.dictionary.TupleDescriptor org.apache.derby.iapi.sql.dictionary.SubConstraintDescriptor org.apache.derby.iapi.sql.dictionary.SubKeyConstraintDescriptor
SubKeyConstraintDescriptor | public class SubKeyConstraintDescriptor extends SubConstraintDescriptor (Code) | | 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.
version: 0.1 author: Jerry Brenner |
indexId | UUID indexId(Code) | | Interface for SubKeyConstraintDescriptor is
- public UUID getIndexId();
- public UUID getKeyConstraintId();
|
raDeleteRule | int raDeleteRule(Code) | | |
raUpdateRule | int raUpdateRule(Code) | | |
SubKeyConstraintDescriptor | public SubKeyConstraintDescriptor(UUID constraintId, UUID indexId)(Code) | | Constructor for a SubConstraintDescriptorImpl
Parameters: constraintId - The UUID of the constraint. Parameters: indexId - The UUID of the backing index. |
SubKeyConstraintDescriptor | public SubKeyConstraintDescriptor(UUID constraintId, UUID indexId, UUID keyConstraintId)(Code) | | Constructor for a SubConstraintDescriptor
Parameters: constraintId - The UUID of the constraint. Parameters: indexId - The UUID of the backing index. Parameters: keyConstraintId - The UUID of the referenced constraint (fks) |
SubKeyConstraintDescriptor | public SubKeyConstraintDescriptor(UUID constraintId, UUID indexId, UUID keyConstraintId, int raDeleteRule, int raUpdateRule)(Code) | | Constructor for a SubConstraintDescriptor
Parameters: constraintId - The UUID of the constraint. Parameters: indexId - The UUID of the backing index. Parameters: keyConstraintId - The UUID of the referenced constraint (fks) Parameters: raDeleteRule - The referential action for delete Parameters: raUpdateRule - The referential action for update |
getIndexId | public UUID getIndexId()(Code) | | Gets the UUID of the backing index.
The UUID of the backing index. |
getKeyConstraintId | public UUID getKeyConstraintId()(Code) | | Gets the UUID of the referenced key constraint
The UUID of the referenced key constraint |
getRaDeleteRule | public int getRaDeleteRule()(Code) | | Gets a referential action rule on a DELETE
referential rule defined by the user during foreign key creattionfor a delete (like CASCDE , RESTRICT ..etc) |
getRaUpdateRule | public int getRaUpdateRule()(Code) | | Gets a referential action rule on a UPDATE
referential rule defined by the user during foreign key creattionfor an UPDATE (like CASCDE , RESTRICT ..etc) |
hasBackingIndex | public boolean hasBackingIndex()(Code) | | Does this constraint have a backing index?
boolean Whether or not there is a backing index for this constraint. |
toString | public String toString()(Code) | | Convert the SubKeyConstraintDescriptor to a String.
A String representation of this SubConstraintDescriptor |
|
|