Package edu.caltech.nanodb.relations
Class KeyColumnRefs
java.lang.Object
edu.caltech.nanodb.relations.ColumnRefs
edu.caltech.nanodb.relations.KeyColumnRefs
This class represents a primary key or other unique key, specifying the
indexes of the columns in the key.
-
Constructor Summary
ConstructorsConstructorDescriptionKeyColumnRefs(int[] colIndexes, String constraintName, TableConstraintType constraintType) KeyColumnRefs(IndexColumnRefs idxColRefs) Builds a KeyColumnRefs object off of a unique index definition. -
Method Summary
Methods inherited from class edu.caltech.nanodb.relations.ColumnRefs
equalsColumns, equalsColumns, getCol, getCols, getConstraintName, getConstraintType, hasSameColumns, hasSameColumns, setConstraintName, setConstraintType, size, toString
-
Constructor Details
-
KeyColumnRefs
-
KeyColumnRefs
Builds a KeyColumnRefs object off of a unique index definition.- Parameters:
idxColRefs- the unique index used for the key definition.
-