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

Method getId

src/java/simpledb/BTreeFile.java:59–61  ·  view source on GitHub ↗

Returns an ID uniquely identifying this BTreeFile. Implementation note: you will need to generate this tableid somewhere and ensure that each BTreeFile has a "unique id," and that you always return the same value for a particular BTreeFile. We suggest hashing the absolute file name of the file under

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

getIdMethod · 0.95
testSplitLeafPagesMethod · 0.95
testReusePageMethod · 0.95
testMergeLeafPagesMethod · 0.95

Calls

no outgoing calls

Tested by 15

getIdMethod · 0.76
testSplitLeafPagesMethod · 0.76
testReusePageMethod · 0.76
testMergeLeafPagesMethod · 0.76