MCPcopy Index your code
hub / github.com/MIT-DB-Class/simple-db-hw

github.com/MIT-DB-Class/simple-db-hw @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,231 symbols 5,255 edges 130 files 798 documented · 65%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

OpIterator (Interface)
OpIterator is the iterator interface that all SimpleDB operators should implement. If the iterator is not open, none of [11 …
src/java/simpledb/OpIterator.java
DbFile (Interface)
The interface for database files on disk. Each table is represented by a single DbFile. DbFiles can fetch pages and iter [6 …
src/java/simpledb/DbFile.java
Page (Interface)
Page is the interface used to represent pages that are resident in the BufferPool. Typically, DbFiles will read and wri [7 …
src/java/simpledb/Page.java
DbFileIterator (Interface)
DbFileIterator is the iterator interface that all SimpleDB Dbfile should implement. [6 implementers]
src/java/simpledb/DbFileIterator.java
IndexOpIterator (Interface)
IndexDBIterator is the interface that index access methods implement in SimpleDb. [15 implementers]
src/java/simpledb/IndexOpIterator.java

Core symbols most depended-on inside this repo

getBufferPool
called by 132
src/java/simpledb/Database.java
next
called by 131
src/java/simpledb/OpIterator.java
getCatalog
called by 111
src/java/simpledb/Database.java
getTableId
called by 100
src/java/simpledb/PageId.java
getId
called by 99
src/java/simpledb/Page.java
equals
called by 97
src/java/simpledb/Field.java
hasNext
called by 70
src/java/simpledb/OpIterator.java
getPage
called by 64
src/java/simpledb/BufferPool.java

Shape

Method 1,070
Class 150
Interface 8
Enum 3

Languages

Java100%

Modules by API surface

src/java/simpledb/BTreeFile.java45 symbols
src/java/simpledb/BTreeUtility.java38 symbols
test/simpledb/TestUtil.java36 symbols
src/java/simpledb/BTreeInternalPage.java34 symbols
src/java/simpledb/BTreeLeafPage.java33 symbols
src/java/simpledb/Parser.java23 symbols
test/simpledb/systemtest/TransactionTest.java20 symbols
test/simpledb/systemtest/LogTest.java19 symbols
src/java/simpledb/BTreeHeaderPage.java19 symbols
src/java/simpledb/HeapPage.java18 symbols
test/simpledb/BTreeLeafPageTest.java17 symbols
src/java/simpledb/LogFile.java17 symbols

For agents

$ claude mcp add simple-db-hw \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact