MCPcopy Create free account
hub / github.com/MIT-DB-Class/simple-db-hw / openBTreeFile

Method openBTreeFile

src/java/simpledb/BTreeUtility.java:424–430  ·  view source on GitHub ↗

Opens a BTreeFile and adds it to the catalog. @param cols number of columns in the table. @param f location of the file storing the table. @param keyField the field the B+ tree is keyed on @return the opened table.

(int cols, File f, int keyField)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

convertMethod · 0.95
createEmptyBTreeFileMethod · 0.95

Calls 4

getTupleDescMethod · 0.95
getCatalogMethod · 0.95
toStringMethod · 0.65
addTableMethod · 0.45

Tested by

no test coverage detected