From 5680c2e3d84670c3c4d9c8383bee6296327dae77 Mon Sep 17 00:00:00 2001 From: Becca Date: Mon, 14 Sep 2015 15:22:14 -0500 Subject: [PATCH] making more changes --- db_engine.cpp | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100755 db_engine.cpp diff --git a/db_engine.cpp b/db_engine.cpp new file mode 100755 index 0000000..332c645 --- /dev/null +++ b/db_engine.cpp @@ -0,0 +1,55 @@ +#include "db_engine" + +db_engine::db_engine(){ + // +} + +//create a new table in memory +db_engine::createCmd(){ + // +} + +//open a txt file, parse SQL script, load data in table +//void db_engine::openCmd(){ + // +//} + +//save all the commands to the db text file +void db_engine::saveCmd(){ + // +} + +//display the table currently stored in memory +void db_engine::showCmd(){ + // +} + +//add a tuple to a table in the memory +void db_engine::insertQuery(){ + // +} + +//remove a tuple from a table in the memory +void db_engine::deleteQuery(){ + // +} + +//search and return one more tuples from a table in the memory +void db_engine::selectQuery(){ + // +} + +//return a subset of attributes (columns) +void db_engine::projectQuery(){ + // +} + +//each row in the first table is paired with all the rows in the second table +void db_engine::productQuery(){ + // +} + +//true if relations have the same # of attributes and each attribute must be from the same domain +bool db_engine::unionComp(){ + return false; +}