-
Notifications
You must be signed in to change notification settings - Fork 1
/
query_runner.h
36 lines (27 loc) · 1002 Bytes
/
query_runner.h
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
27
28
29
30
31
32
33
34
35
36
/*
* Created on: Jan 28, 2019
* Author: Papon
*/
#include <iostream>
using namespace std;
class Query
{
private:
public:
static int delete_key;
static int range_start_key;
static int range_end_key;
static int sec_range_start_key;
static int sec_range_end_key;
static int iterations_point_query;
static int complete_delete_count;
static int not_possible_delete_count;
static int partial_delete_count;
static int range_occurances;
static void checkDeleteCount (int deletekey);
static int pointQuery (int key);
static int rangeQuery (int lowerlimit, int upperlimit, double QueryDrivenCompactionSelectivity);
static void vanilla_range_query (int lowerlimit, int upperlimit);
static void range_query_compaction_experiment(float selectivity, string file, int insertion, double QueryDrivenCompactionSelectivity);
static void point_query_experiment(float selectivity, double QueryDrivenCompactionSelectivity, int insert_time);
};