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.
 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 
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;
75 
76 
77 };
78 
79 
80 
81 
82 
83 }
84 
85 
86 
87 #endif
std::string databaseName
TransformedSet(std::string databaseName, std::string setName, std::string transformationType, std::string tcap, int numPartitions)
std::string transformationType
std::string getTransformationType()
std::string getSetName()
std::string getDatabaseName()
std::string getTCAP()