This repo is the base codes of the ClassProject of 2023Spring CSCI485.
You need to copy and paste the code of Part 1, 2 and 3 to this project.
Your codes need to be put under src/CSCI485ClassProject/ and its subdirectories.
Verify correctness by executing the unit test of Part1/Part2/Part3 successfully.
lib: the dependencies of the projectsrc: the source codes of the projectCSCI485ClassProject: root package of the projectmodels: package storing some defined representations of models in the database.test: package for unit tests
Under src/CSCI485ClassProject, there are 2 classes to finish:
RelationalAlgebraOperatorsImpl: implementation of an interface classRelationalAlgebraOperators
Feel free to modify other implementations like Cursor if needed.
If you are developing in macOS/Linux environment(recommended), we provide Makefile for you to run tests quickly.
To run tests of partX, use command
make partXTestAs you may have different project structures, Makefile may not work in your implementation. In this case, you can change the sources variable in Makefile by adding the name of the java files you created to it.
Note that the order of the file should align with the class dependency relationship, i.e. class A imports B, then B.java should be in front of A.java in sources.