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

Method convert

src/java/simpledb/BTreeFileEncoder.java:26–49  ·  view source on GitHub ↗

Encode the file using the BTreeFile's Insert method. @param tuples - list of tuples to add to the file @param hFile - the file to temporarily store the data as a heap file on disk @param bFile - the file on disk to back the resulting BTreeFile @param keyField - the index of the key field for this B

(ArrayList<ArrayList<Integer>> tuples, File hFile, 
			File bFile, int keyField, int numFields)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

createRandomBTreeFileMethod · 0.95
createBTreeFileMethod · 0.95

Calls 15

listToStringMethod · 0.95
convertMethod · 0.95
getPageSizeMethod · 0.95
openHeapFileMethod · 0.95
openBTreeFileMethod · 0.95
getCatalogMethod · 0.95
getIdMethod · 0.95
openMethod · 0.95
hasNextMethod · 0.95
nextMethod · 0.95
getBufferPoolMethod · 0.95
getIdMethod · 0.95

Tested by

no test coverage detected