Uses of Class
edu.caltech.nanodb.indexes.IndexInfo
-
Packages that use IndexInfo Package Description edu.caltech.nanodb.indexes edu.caltech.nanodb.plannodes This package contains classes for representing query execution plans, as well as analyzing their costs. -
-
Uses of IndexInfo in edu.caltech.nanodb.indexes
Fields in edu.caltech.nanodb.indexes with type parameters of type IndexInfo Modifier and Type Field Description private java.util.HashMap<java.lang.String,IndexInfo>
BasicIndexManager. openIndexes
Methods in edu.caltech.nanodb.indexes that return IndexInfo Modifier and Type Method Description IndexInfo
BasicIndexManager. addIndexToTable(TableInfo tableInfo, IndexColumnRefs indexColRefs)
IndexInfo
IndexManager. addIndexToTable(TableInfo tableInfo, IndexColumnRefs indexColRefs)
IndexInfo
BasicIndexManager. openIndex(TableInfo tableInfo, java.lang.String indexName)
This method opens the data file corresponding to the specified index name and reads in the index's details.IndexInfo
IndexManager. openIndex(TableInfo tableInfo, java.lang.String indexName)
This method opens the data file corresponding to the specified index name and reads in the index's details.Methods in edu.caltech.nanodb.indexes with parameters of type IndexInfo Modifier and Type Method Description void
BasicIndexManager. analyzeIndex(IndexInfo indexInfo)
void
IndexManager. analyzeIndex(IndexInfo indexInfo)
void
BasicIndexManager. closeIndex(IndexInfo indexInfo)
void
IndexManager. closeIndex(IndexInfo indexInfo)
void
BasicIndexManager. createIndex(IndexInfo indexInfo, java.lang.String indexName)
Creates a new index file with the index name, table name, and column list specified in the passed-in IndexInfo object.void
IndexManager. createIndex(IndexInfo indexInfo, java.lang.String indexName)
void
BasicIndexManager. createUnnamedIndex(IndexInfo indexInfo)
void
IndexManager. createUnnamedIndex(IndexInfo indexInfo)
java.lang.String
BasicIndexManager. getUnnamedIndexPrefix(IndexInfo indexInfo)
This function generates the prefix of a name for an index with no actual name specified.void
BasicIndexManager. loadIndexInfo(IndexInfo idxFileInfo)
This method reads in the schema and other critical information for the specified table.void
IndexManager. loadIndexInfo(IndexInfo indexInfo)
This method loads the details for the specified index.void
BasicIndexManager. optimizeIndex(IndexInfo idxFileInfo)
void
IndexManager. optimizeIndex(IndexInfo indexInfo)
This method performs whatever optimization is suitable for the specific kind of index that is implemented.private void
BasicIndexManager. populateIndex(TableInfo srcTableInfo, IndexInfo newIndexInfo)
void
BasicIndexManager. saveIndexInfo(IndexInfo indexInfo)
void
IndexManager. saveIndexInfo(IndexInfo indexInfo)
This method initializes a newly created index file, using the details specified in the passed-in IndexInfo object.java.util.List<java.lang.String>
BasicIndexManager. verifyIndex(IndexInfo idxFileInfo)
java.util.List<java.lang.String>
IndexManager. verifyIndex(IndexInfo indexInfo)
This function allows an index to be verified for proper structure and contents. -
Uses of IndexInfo in edu.caltech.nanodb.plannodes
Fields in edu.caltech.nanodb.plannodes declared as IndexInfo Modifier and Type Field Description private IndexInfo
FileScanNode. indexInfo
The index-info for the index being scanned, ornull
if the node is performing a scan over a table.Constructors in edu.caltech.nanodb.plannodes with parameters of type IndexInfo Constructor Description FileScanNode(IndexInfo indexInfo, Expression predicate)
Construct a file scan node that traverses an index file.
-