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

Method openHeapFile

src/java/simpledb/Utility.java:132–138  ·  view source on GitHub ↗

Opens a HeapFile and adds it to the catalog. @param cols number of columns in the table. @param f location of the file storing the table. @return the opened table.

(int cols, File f)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

validatePredicateMethod · 0.95
crashMethod · 0.95
createRandomHeapFileMethod · 0.95
createEmptyHeapFileMethod · 0.95
mainMethod · 0.95
convertMethod · 0.95

Calls 4

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

Tested by 5

validatePredicateMethod · 0.76
crashMethod · 0.76
createRandomHeapFileMethod · 0.76