Skip to content

UCI-Chenli-teaching/PeterDB-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PeterDB

This is the project codebase for Principles of Data Management, PeterDB

Components:

  • PagedFileManager
  • RecordBasedFileManager
  • RelationManager
  • IndexManage
  • QueryEngine

Use CLion for development

If you are not using CLion and want to use the command line cmake tool:

  • From the repo root directory, create and go into a build directory

mkdir -p cmake-build-debug && cd cmake-build-debug

  • Generate makefiles with cmake in the build directory by specifying the project root directory as the source:

cmake ../

your makefiles should be written to [root]/cmake-build-debug

  • Build the project in the build directory:

cmake --build .

  • To run tests with ctest in the build directory:

ctest .

or you can specify a test case, for example ctest . -R PFM_File_Test.create_file

  • To clean the build, in the build directory:

make clean

or simply remove the build directory: rm -rf [root]/cmake-build-debug

Project Instruction

  • Implement the QueryEngine(QE) component. Write your implementation in the corresponding .cc files under src directory.

  • DO NOT change the pre-defined APIs (classes, functions, methods) in the given .h files. If you think some changes are really necessary, please contact us first.

  • You can add your own files (.h, .cc), or even directories under src, if needed. You might need to modify or add CMakelists.txt files under src directory or its child directories.

  • DO NOT modify anything under test directory: all the tests will be overwritten by the instructor's copy during grading.

    • Tests are released with the source code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •