-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathApp.h
More file actions
26 lines (21 loc) · 659 Bytes
/
App.h
File metadata and controls
26 lines (21 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
* TestCpp.h
*
* Created on: Nov 11, 2016
* Author: duclv
*/
#ifndef APP_H_
#define APP_H_
#include <string>
#include <vector>
#include "Table.h"
#include "GarbageCollector.h"
#include "Transaction.h"
#include "server/ServerSocket.h"
using namespace std;
Table* createTable(string createQuery);
string updateCommand(ServerSocket* client, Table* table, Transaction* transaction,
vector<string> command, GarbageCollector* garbage, size_t txIdx = -1);
string insertCommand(Table* table, Transaction* transaction, vector<string> command);
string scanCommand(Table* table, Transaction* transaction, vector<string> command);
#endif /* APP_H_ */