Class 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 the IndexManager 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 Detail

      • indexName

        private java.lang.String indexName
        This is the actual name for referring to the index. It is mapped to an index filename, where the index is actually stored.
    • Constructor Detail

      • IndexColumnRefs

        public IndexColumnRefs​(java.lang.String indexName,
                               int[] colIndexes)
      • IndexColumnRefs

        public IndexColumnRefs​(java.lang.String indexName,
                               KeyColumnRefs keyColRefs)
    • Method Detail

      • getIndexName

        public java.lang.String getIndexName()
      • setIndexName

        public void setIndexName​(java.lang.String indexName)