| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private ReferencedColumns |
| Access | Constructor and Description |
|---|---|
| pack-priv | CheckConstraintDescriptor(DataDictionary dataDictionary, TableDescriptor table, String constraintName, boolean deferrable, boolean initiallyDeferred, UUID constraintId, String constraintText, ReferencedColumns referencedColumns, SchemaDescriptor schemaDesc, boolean isEnabled)
|
| Modifier and Type | Method and Description |
|---|---|
| public UUID | Returns: The UUID of the backing index, if one exists, else null.Implements abstract org. Get the UUID of the backing index, if one exists. |
| public String | Returns: The constraint text.Overrides org. Get the text of the constraint. |
| public int | Returns: An identifier telling what type of descriptor it is (UNIQUE, PRIMARY KEY, FOREIGN KEY, CHECK).Implements abstract org. Gets an identifier telling what type of descriptor it is (UNIQUE, PRIMARY KEY, FOREIGN KEY, CHECK). |
| public int[] | Returns: The array of referenced column ids.Overrides org. Get the referenced columns as an int[] of column ids. |
| public ReferencedColumns | |
| public boolean | Returns: boolean Whether or not there is a backing index for this constraint.Implements abstract org. Does this constraint have a backing index? |
| public boolean | Returns: true/falsethe type of DML
(StatementType.INSERT|StatementType.UPDATE|StatementType.DELETE) stmtType, int[] the columns modified, or null for all modifiedCols)Implements abstract org. Does this constraint need to fire on this type of DML? |
| public void | setReferencedColumnsDescriptor(ReferencedColumns
The new ReferencedColumns. rcd)Set the ReferencedColumns; used in drop column |
| public String | Returns: A String representation of this CheckConstraintDescriptorOverrides org. Convert the CheckConstraintDescriptor to a String. |
| constraintText | back to summary |
|---|---|
| private String constraintText | |
| referencedColumns | back to summary |
|---|---|
| private ReferencedColumns referencedColumns Hides org. | |
| CheckConstraintDescriptor | back to summary |
|---|---|
| pack-priv CheckConstraintDescriptor(DataDictionary dataDictionary, TableDescriptor table, String constraintName, boolean deferrable, boolean initiallyDeferred, UUID constraintId, String constraintText, ReferencedColumns referencedColumns, SchemaDescriptor schemaDesc, boolean isEnabled) | |
| getConglomerateId | back to summary |
|---|---|
| public UUID getConglomerateId() Implements abstract org. Get the UUID of the backing index, if one exists.
| |
| getConstraintText | back to summary |
|---|---|
| public String getConstraintText() Overrides org. Get the text of the constraint. (Only non-null/meaningful for check constraints.)
| |
| getConstraintType | back to summary |
|---|---|
| public int getConstraintType() Implements abstract org. Gets an identifier telling what type of descriptor it is (UNIQUE, PRIMARY KEY, FOREIGN KEY, CHECK).
| |
| getReferencedColumns | back to summary |
|---|---|
| public int[] getReferencedColumns() Overrides org. Get the referenced columns as an int[] of column ids.
| |
| getReferencedColumnsDescriptor | back to summary |
|---|---|
| public ReferencedColumns getReferencedColumnsDescriptor() Get the ReferencedColumns.
| |
| hasBackingIndex | back to summary |
|---|---|
| public boolean hasBackingIndex() Implements abstract org. Does this constraint have a backing index?
| |
| needsToFire | back to summary |
|---|---|
| public boolean needsToFire(int stmtType, int[] modifiedCols) Implements abstract org. Does this constraint need to fire on this type of DML? For a check constraint, all inserts, and appropriate updates
| |
| setReferencedColumnsDescriptor | back to summary |
|---|---|
| public void setReferencedColumnsDescriptor(ReferencedColumns rcd) Set the ReferencedColumns; used in drop column
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Convert the CheckConstraintDescriptor to a String.
| |