Package edu.caltech.nanodb.relations
Class IndexColumnRefs
- java.lang.Object
-
- edu.caltech.nanodb.relations.ColumnRefs
-
- edu.caltech.nanodb.relations.IndexColumnRefs
-
public class IndexColumnRefs extends ColumnRefs
This class records that there is an index built on a particular set of columns. The name of the index is recorded, which can be used with theIndexManager
to retrieve specific details of the index.Note that indexes don't indicate constraint details. All constraints are indicated separately on the
Schema
class. Indexes merely facilitate speedy enforcement of constraints.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
indexName
This is the actual name for referring to the index.
-
Constructor Summary
Constructors Constructor Description IndexColumnRefs(java.lang.String indexName, int[] colIndexes)
IndexColumnRefs(java.lang.String indexName, KeyColumnRefs keyColRefs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getIndexName()
void
setIndexName(java.lang.String indexName)
-
Methods inherited from class edu.caltech.nanodb.relations.ColumnRefs
equalsColumns, equalsColumns, getCol, getCols, getConstraintName, getConstraintType, hasSameColumns, hasSameColumns, setConstraintName, setConstraintType, size, toString
-
-
-
-
Constructor Detail
-
IndexColumnRefs
public IndexColumnRefs(java.lang.String indexName, int[] colIndexes)
-
IndexColumnRefs
public IndexColumnRefs(java.lang.String indexName, KeyColumnRefs keyColRefs)
-
-