Interface RelReferentialConstraint

All Known Implementing Classes:
RelReferentialConstraintImpl

public interface RelReferentialConstraint
Interface for a referential constraint, i.e., Foreign-Key - Unique-Key relationship, between two tables.
  • Method Details

    • getNumColumns

      @Deprecated default int getNumColumns()
      Deprecated.
      Use getColumnPairs().size()
      Returns the number of columns in the keys.
    • getSourceQualifiedName

      List<String> getSourceQualifiedName()
      The qualified name of the referencing table, e.g. DEPT.
    • getTargetQualifiedName

      List<String> getTargetQualifiedName()
      The qualified name of the referenced table, e.g. EMP.
    • getColumnPairs

      List<IntPair> getColumnPairs()
      The (source, target) column ordinals.