A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
TransformedSet.h
Go to the documentation of this file.
1
#ifndef TRANSFORMED_SET_H
2
#define TRANSFORMED_SET_H
3
4
#include <cstring>
5
#include <string>
6
7
namespace
pdb {
8
9
10
//this class encapsulates the information for a transformed set
11
12
class
TransformedSet
{
13
14
public
:
15
16
/* constructor
17
* @param databaseName, the name of database
18
* @param setName, the name of set
19
* @param transformationType, the type for the transformation
20
* @param tcap, the tcap for the transformation
21
* @param numPartitions, the number of partitions
22
*/
23
TransformedSet
(std::string
databaseName
,
24
std::string
setName
,
25
std::string
transformationType
,
26
std::string
tcap
,
27
int
numPartitions
);
28
29
/* destructor */
30
~TransformedSet
();
31
32
/*
33
* return: databaseName
34
*/
35
std::string
getDatabaseName
();
36
37
/*
38
* return: setName
39
*/
40
std::string
getSetName
();
41
42
/*
43
* return: transformationType
44
*/
45
std::string
getTransformationType
();
46
47
48
/*
49
* return: tcap
50
*/
51
std::string
getTCAP
();
52
53
54
/*
55
* return: numPartitions
56
*/
57
int
getNumPartitions
();
58
59
private
:
60
61
//database name
62
std::string
databaseName
;
63
64
//set name
65
std::string
setName
;
66
67
//transformation type
68
std::string
transformationType
;
69
70
//transformation tcap
71
std::string
tcap
;
72
73
//number of partitions;
74
int
numPartitions
;
75
76
77
};
78
79
80
81
82
83
}
84
85
86
87
#endif
pdb::TransformedSet::databaseName
std::string databaseName
Definition:
TransformedSet.h:62
pdb::TransformedSet::TransformedSet
TransformedSet(std::string databaseName, std::string setName, std::string transformationType, std::string tcap, int numPartitions)
Definition:
TransformedSet.cc:9
pdb::TransformedSet
Definition:
TransformedSet.h:12
pdb::TransformedSet::tcap
std::string tcap
Definition:
TransformedSet.h:71
pdb::TransformedSet::transformationType
std::string transformationType
Definition:
TransformedSet.h:68
pdb::TransformedSet::getNumPartitions
int getNumPartitions()
Definition:
TransformedSet.cc:53
pdb::TransformedSet::getTransformationType
std::string getTransformationType()
Definition:
TransformedSet.cc:40
pdb::TransformedSet::setName
std::string setName
Definition:
TransformedSet.h:65
pdb::TransformedSet::~TransformedSet
~TransformedSet()
Definition:
TransformedSet.cc:23
pdb::TransformedSet::getSetName
std::string getSetName()
Definition:
TransformedSet.cc:33
pdb::TransformedSet::getDatabaseName
std::string getDatabaseName()
Definition:
TransformedSet.cc:26
pdb::TransformedSet::getTCAP
std::string getTCAP()
Definition:
TransformedSet.cc:46
pdb::TransformedSet::numPartitions
int numPartitions
Definition:
TransformedSet.h:74
plinycompute
pdb
src
statisticsDB
headers
TransformedSet.h
Generated on Mon Jun 18 2018 18:10:36 by
1.8.6