|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> sql >> [ dictionary overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.iapi.sql.dictionary
Class SubConstraintDescriptor

java.lang.Objectorg.apache.derby.iapi.sql.dictionary.TupleDescriptor
org.apache.derby.iapi.sql.dictionary.SubConstraintDescriptor
- All Implemented Interfaces:
- UniqueTupleDescriptor
- Direct Known Subclasses:
- SubCheckConstraintDescriptor, SubKeyConstraintDescriptor
- public abstract class SubConstraintDescriptor
- extends TupleDescriptor
- implements UniqueTupleDescriptor
- extends TupleDescriptor
This interface is used to get information from a SubConstraintDescriptor. A SubKeyConstraintDescriptor is used within the DataDictionary to get auxiliary constraint information from the system table that is auxiliary to sysconstraints.
- Version:
- 0.1
| Field Summary | |
(package private) org.apache.derby.catalog.UUID |
constraintId
|
(package private) TableDescriptor |
td
public interface for this class: public void setConstraintId(UUID constraintId); public boolean hasBackingIndex(); public void setTableDescriptor(TableDescriptor td); public TableDescriptor getTableDescriptor(); |
| Fields inherited from class org.apache.derby.iapi.sql.dictionary.TupleDescriptor |
COLUMN_LIST, CONGLOMERATE_LIST, CONSTRAINT_LIST, TRIGGER_LIST |
| Constructor Summary | |
(package private) |
SubConstraintDescriptor(org.apache.derby.catalog.UUID constraintId)
Constructor for a SubConstraintDescriptorImpl |
| Method Summary | |
TableDescriptor |
getTableDescriptor()
Returns the cached TableDescriptor, if supplied, that the constraint is on. |
org.apache.derby.catalog.UUID |
getUUID()
Gets the UUID of the constraint. |
abstract boolean |
hasBackingIndex()
Does this constraint have a backing index? |
void |
setConstraintId(org.apache.derby.catalog.UUID constraintId)
Sets the UUID of the constraint. |
void |
setTableDescriptor(TableDescriptor td)
Caches the TableDescriptor of the table that the constraint is on. |
java.lang.String |
toString()
Convert the SubConstraintDescriptor to a String. |
| 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 |
td
TableDescriptor td
- public interface for this class:
- public void setConstraintId(UUID constraintId);
- public boolean hasBackingIndex();
- public void setTableDescriptor(TableDescriptor td);
- public TableDescriptor getTableDescriptor();
constraintId
org.apache.derby.catalog.UUID constraintId
| Constructor Detail |
SubConstraintDescriptor
SubConstraintDescriptor(org.apache.derby.catalog.UUID constraintId)
- Constructor for a SubConstraintDescriptorImpl
| Method Detail |
setConstraintId
public void setConstraintId(org.apache.derby.catalog.UUID constraintId)
- Sets the UUID of the constraint.
getUUID
public org.apache.derby.catalog.UUID getUUID()
- Gets the UUID of the constraint.
- Specified by:
getUUIDin interfaceUniqueTupleDescriptor
hasBackingIndex
public abstract boolean hasBackingIndex()
- Does this constraint have a backing index?
setTableDescriptor
public void setTableDescriptor(TableDescriptor td)
- Caches the TableDescriptor of the
table that the constraint is on.
getTableDescriptor
public TableDescriptor getTableDescriptor()
- Returns the cached TableDescriptor, if
supplied, that the constraint is on.
toString
public java.lang.String toString()
- Convert the SubConstraintDescriptor to a String.
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> sql >> [ dictionary overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC