-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStatistics.cpp
More file actions
27 lines (25 loc) · 749 Bytes
/
Statistics.cpp
File metadata and controls
27 lines (25 loc) · 749 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
27
//
// Created by devi on 1/5/20.
//
#include "Statistics.h"
Statistics::Labels Statistics::getLabel(std::string text)
{
if(text == "Labels Added")
return LABELS_ADDED;
if(text == "Indices deleted")
return LABELS_ADDED;
if(text == "Nodes created")
return LABELS_ADDED;
if(text == "Indices deleted")
return INDICES_DELETED;
if(text == "Nodes deleted")
return NODES_DELETED;
if(text == "Relationships deleted")
return RELATIONSHIPS_DELETED;
if(text == "Properties set")
return PROPERTIES_SET;
if(text == "Relationships created")
return RELATIONSHIPS_CREATED;
if(text == "Query internal execution time")
return QUERY_INTERNAL_EXECUTION_TIME;
}