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

Method addTable

src/java/simpledb/Catalog.java:38–40  ·  view source on GitHub ↗

Add a new table to the catalog. This table's contents are stored in the specified DbFile. @param file the contents of the table to add; file.getId() is the identfier of this file/tupledesc param for the calls getTupleDesc and getFile @param name the name of the table -- may be an empty string.

(DbFile file, String name, String pkeyField)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

loadSchemaMethod · 0.95
openHeapFileMethod · 0.45
openBTreeFileMethod · 0.45
mainMethod · 0.45

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected