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

Method getId

src/java/simpledb/DbFile.java:84–84  ·  view source on GitHub ↗

Returns a unique ID used to identify this DbFile in the Catalog. This id can be used to look up the table via Catalog#getDatabaseFile and Catalog#getTupleDesc. Implementation note: you will need to generate this tableid somewhere, ensure that each HeapFile has a "unique id," and

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getDatabaseFileMethod · 0.95
validateTransactionsMethod · 0.95

Implementers 3

SkeletonFiletest/simpledb/TestUtil.java
HeapFilesrc/java/simpledb/HeapFile.java
BTreeFilesrc/java/simpledb/BTreeFile.java

Calls

no outgoing calls

Tested by 2

getDatabaseFileMethod · 0.76
validateTransactionsMethod · 0.76