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

Method createBTreeFile

src/java/simpledb/BTreeUtility.java:379–415  ·  view source on GitHub ↗

creates a non random B+ tree file for testing @param columns - number of columns @param rows - number of rows @param columnSpecification - optional column specification @param tuples - optional list of tuples to return @param keyField - the index of the key field @return a BTreeFile @throws IOExcept

(int columns, int rows,
			Map<Integer, Integer> columnSpecification,
			ArrayList<ArrayList<Integer>> tuples, int keyField)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

indexIteratorMethod · 0.95
testReadPageMethod · 0.95

Calls 3

convertMethod · 0.95
getPageSizeMethod · 0.95
clearMethod · 0.80

Tested by 2

indexIteratorMethod · 0.76
testReadPageMethod · 0.76