Class KeyColumnRefs

java.lang.Object
edu.caltech.nanodb.relations.ColumnRefs
edu.caltech.nanodb.relations.KeyColumnRefs

public class KeyColumnRefs extends ColumnRefs
This class represents a primary key or other unique key, specifying the indexes of the columns in the key.
  • Constructor Details

    • KeyColumnRefs

      public KeyColumnRefs(int[] colIndexes, String constraintName, TableConstraintType constraintType)
    • KeyColumnRefs

      public KeyColumnRefs(IndexColumnRefs idxColRefs)
      Builds a KeyColumnRefs object off of a unique index definition.
      Parameters:
      idxColRefs - the unique index used for the key definition.