Package org.apache.derby.catalog
Interface ReferencedColumns
- All Known Implementing Classes:
ReferencedColumnsDescriptorImpl
public interface ReferencedColumns
Provides information about the columns that are referenced by a
CHECK CONSTRAINT definition.
It is used in the column SYS.SYSCHECKS.REFERENCEDCOLUMNSDESCRIPTOR.
-
Method Summary
Modifier and TypeMethodDescriptionint[]
Returns an array of 1-based column positions in the table that the check constraint is on.int[]
Returns an array of 1-based column positions in the trigger table.
-
Method Details
-
getReferencedColumnPositions
int[] getReferencedColumnPositions()Returns an array of 1-based column positions in the table that the check constraint is on.- Returns:
- An array of ints representing the 1-based column positions of the columns that are referenced in this check constraint.
-
getTriggerActionReferencedColumnPositions
int[] getTriggerActionReferencedColumnPositions()Returns an array of 1-based column positions in the trigger table. These columns are the ones referenced in the trigger action through the old/new transition variables.- Returns:
- An array of ints representing the 1-based column positions of the columns that are referenced in the trigger action through the old/new transition variables.
-