-
Notifications
You must be signed in to change notification settings - Fork 0
/
RelOpStructs.h
69 lines (59 loc) · 1.03 KB
/
RelOpStructs.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#ifndef REL_OP_S
#define REL_OP_S
#include "RelOp.h"
struct SelectPipeParams {
Pipe *inPipe;
Pipe *outPipe;
CNF *selOp;
Record *literal;
SelectPipe *ref;
};
struct SelectFileParams {
DBFile *inFile;
Pipe *outPipe;
CNF *selOp;
Record *literal;
SelectFile *ref;
};
struct ProjectParams {
Pipe *inPipe;
Pipe *outPipe;
int *keepMe;
int numAttsInput;
int numAttsOutput;
Project *ref;
};
struct JoinParams {
Pipe *inPipeL;
Pipe *inPipeR;
Pipe *outPipe;
CNF *selOp;
Record *literal;
Join *ref;
};
struct DuplicateRemovalParams {
Pipe *inPipe;
Pipe *outPipe;
Schema *mySchema;
DuplicateRemoval *ref;
};
struct SumParams {
Pipe *inPipe;
Pipe *outPipe;
Function *computeMe;
Sum *ref;
};
struct GroupByParams {
Pipe *inPipe;
Pipe *outPipe;
OrderMaker *groupAtts;
Function *computeMe;
GroupBy *ref;
};
struct WriteOutParams {
Pipe *inPipe;
FILE *outFile;
Schema *mySchema;
WriteOut *ref;
};
#endif