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
BackendExecuteSelection.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* *
3
* Copyright 2018 Rice University *
4
* *
5
* Licensed under the Apache License, Version 2.0 (the "License"); *
6
* you may not use this file except in compliance with the License. *
7
* You may obtain a copy of the License at *
8
* *
9
* http://www.apache.org/licenses/LICENSE-2.0 *
10
* *
11
* Unless required by applicable law or agreed to in writing, software *
12
* distributed under the License is distributed on an "AS IS" BASIS, *
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
14
* See the License for the specific language governing permissions and *
15
* limitations under the License. *
16
* *
17
*****************************************************************************/
18
19
#ifndef BACKEND_EXECUTE_SELECTION_H
20
#define BACKEND_EXECUTE_SELECTION_H
21
22
#include "
Object.h
"
23
#include "
Handle.h
"
24
#include "
PDBString.h
"
25
#include "
DataTypes.h
"
26
27
// PRELOAD %BackendExecuteSelection%
28
29
namespace
pdb {
30
31
// encapsulates a request to execute a selection query
32
class
BackendExecuteSelection
:
public
Object
{
33
34
public
:
35
BackendExecuteSelection
(
DatabaseID
dbIdIn,
36
UserTypeID
typeIdIn,
37
SetID
setIdIn,
38
DatabaseID
dbIdOut,
39
UserTypeID
typeIdOut,
40
SetID
setIdOut) {
41
srcDatabaseID
= dbIdIn;
42
srcUserTypeID
= typeIdIn;
43
srcSetID
= setIdIn;
44
destDatabaseID
= dbIdOut;
45
destUserTypeID
= typeIdOut;
46
destSetID
= setIdOut;
47
}
48
49
BackendExecuteSelection
() {}
50
~BackendExecuteSelection
() {}
51
52
DatabaseID
getDatabaseIn
() {
53
return
srcDatabaseID
;
54
}
55
56
UserTypeID
getTypeIdIn
() {
57
return
srcUserTypeID
;
58
}
59
60
SetID
getSetIdIn
() {
61
return
srcSetID
;
62
}
63
64
DatabaseID
getDatabaseOut
() {
65
return
destDatabaseID
;
66
}
67
68
UserTypeID
getTypeIdOut
() {
69
return
destUserTypeID
;
70
}
71
72
SetID
getSetIdOut
() {
73
return
destSetID
;
74
}
75
76
ENABLE_DEEP_COPY
77
78
private
:
79
// this is the database ID of the source set
80
DatabaseID
srcDatabaseID
;
81
82
// this is the type ID of the source set
83
UserTypeID
srcUserTypeID
;
84
85
// this is the ID of the source set
86
SetID
srcSetID
;
87
88
// this is the database ID of the destination set
89
DatabaseID
destDatabaseID
;
90
91
// this is the type ID of the destination set
92
UserTypeID
destUserTypeID
;
93
94
// this is the ID of the destination set
95
SetID
destSetID
;
96
};
97
}
98
99
#endif
ENABLE_DEEP_COPY
#define ENABLE_DEEP_COPY
Definition:
DeepCopy.h:52
SetID
unsigned int SetID
Definition:
DataTypes.h:31
pdb::BackendExecuteSelection::destUserTypeID
UserTypeID destUserTypeID
Definition:
BackendExecuteSelection.h:92
pdb::BackendExecuteSelection::getTypeIdOut
UserTypeID getTypeIdOut()
Definition:
BackendExecuteSelection.h:68
pdb::BackendExecuteSelection::~BackendExecuteSelection
~BackendExecuteSelection()
Definition:
BackendExecuteSelection.h:50
pdb::Object
Definition:
Object.h:42
PDBString.h
pdb::BackendExecuteSelection::srcUserTypeID
UserTypeID srcUserTypeID
Definition:
BackendExecuteSelection.h:83
pdb::BackendExecuteSelection::srcSetID
SetID srcSetID
Definition:
BackendExecuteSelection.h:86
Handle.h
pdb::BackendExecuteSelection::getSetIdIn
SetID getSetIdIn()
Definition:
BackendExecuteSelection.h:60
pdb::BackendExecuteSelection::BackendExecuteSelection
BackendExecuteSelection()
Definition:
BackendExecuteSelection.h:49
pdb::BackendExecuteSelection::getTypeIdIn
UserTypeID getTypeIdIn()
Definition:
BackendExecuteSelection.h:56
DataTypes.h
pdb::BackendExecuteSelection::BackendExecuteSelection
BackendExecuteSelection(DatabaseID dbIdIn, UserTypeID typeIdIn, SetID setIdIn, DatabaseID dbIdOut, UserTypeID typeIdOut, SetID setIdOut)
Definition:
BackendExecuteSelection.h:35
DatabaseID
unsigned int DatabaseID
Definition:
DataTypes.h:29
pdb::BackendExecuteSelection
Definition:
BackendExecuteSelection.h:32
Object.h
pdb::BackendExecuteSelection::destSetID
SetID destSetID
Definition:
BackendExecuteSelection.h:95
pdb::BackendExecuteSelection::getDatabaseIn
DatabaseID getDatabaseIn()
Definition:
BackendExecuteSelection.h:52
pdb::BackendExecuteSelection::getDatabaseOut
DatabaseID getDatabaseOut()
Definition:
BackendExecuteSelection.h:64
pdb::BackendExecuteSelection::getSetIdOut
SetID getSetIdOut()
Definition:
BackendExecuteSelection.h:72
pdb::BackendExecuteSelection::destDatabaseID
DatabaseID destDatabaseID
Definition:
BackendExecuteSelection.h:89
UserTypeID
unsigned int UserTypeID
Definition:
DataTypes.h:25
pdb::BackendExecuteSelection::srcDatabaseID
DatabaseID srcDatabaseID
Definition:
BackendExecuteSelection.h:80
plinycompute
pdb
src
builtInPDBObjects
headers
BackendExecuteSelection.h
Generated on Mon Jun 18 2018 18:10:35 by
1.8.6