-
executable:
- clear.cc: clear all databases
- init.cc: init a database
- shell.cc: a simple SQL shell
-
src: source code
-
third_party: antlr4 for parser
-
minios, system, backend, excetable, parser
- The runtime environment.
- Provided by the teacher.
-
exception
-
utils
- Bitmap and PrintTable
-
page
- API for MiniOS's memory page.
- config in macros.h
- Important API
- Page::SetData, Page::GetData, Page::SetHeader, Page::GetHeader
- LinkedPage::PushBack, LinkedPage::PopBack
- RecordPage
-
field
- type [ Int, Float, String ]
-
record
- FixedRecord and VariableRecord
-
condition
- conditional search
-
table
- Important API
- Table::GetRecord
- Table::InsertRecord
- Table::DeleteRecord
- Table::UpdateRecord
- Table::SearchRecord
- Table::NextNotFull
- Important API
-
manager
- TableManager, IndexManager and TransactionManager
-
result
- connect parser module and database kernel