This project focuses on implementing a relational database at a basic level. Initially, we implemented a disk storage system to simulate how data is stored on a disk. Following that, we introduced a B+ tree for data indexing to enhance the efficiency of data search and retrieval. You can access our comprehensive Javadocs here.
- Clayton Fernalo
- Nema Aarushi
- Kristian Hadinata Achwan
- Lau Yong Jie
It is recommended that IntelliJ IDEA be used to get this project up and running since the development is mainly done there. Regardless, the project should be able to be run everywhere. In this guide, we will focus on the steps required based on IntelliJ IDEA. We recommend you to use the community edition, which can be found here:
To start, you can clone or download the repository this repository. After that, you can follow the steps to run the project.
- Ensure that you have installed the Java Development Kit on your computer. In case you do not have it, you can download it from here. It is recommended to use the version that we use for development, which is JDK 21.
- After that, open your IntelliJ IDEA and go to file > open then choose this project’s folder as the project that you want to open.
- The main function that will be run is in the src > main > java > Main.java. Open that file and you can click the play button in the IDE
- The project is successfully run! You can see the output of the project that reports our experiment results in the console.
Alternatively, you can use the pre-compiled .jar file in jar/sc3020-project1.jar to run this program instead from the
project root (sc3020-project1).
To run the .jar file (requires JDK 21), run the following command from the project root:
java -jar jar/sc3020-project1.jar- JDK 20
- Gradle