SwatDB
Loading...
Searching...
No Matches
include
tupleNLJ.h
Go to the documentation of this file.
1
/*
2
* SwatDB
3
*
4
* @authors: See Contributors.doc for code contributors
5
*
6
* Copyright (c) 2020, 2025 Swarthmore College Computer Science Department
7
* Swarthmore PA, Professors Tia Newhall, Ameet Soni
8
*/
9
10
// @@@@ SWATDB_ASSIGNMENT: ADDTODODATE
11
12
#ifndef _SWATDB_TUPLENLJJOIN_H_
13
#define _SWATDB_TUPLENLJJOIN_H_
14
15
16
21
#include <string>
22
#include <vector>
23
#include "
swatdb_types.h
"
24
#include "
join.h
"
25
26
class
FileManager
;
27
class
Catalog
;
28
class
Schema
;
29
class
File
;
30
class
RelationFile
;
31
class
HeapFile
;
32
class
HeapFileScanner
;
33
class
Record
;
34
class
Data
;
35
class
Key
;
36
class
SearchKeyFormat
;
37
38
39
// @@@@ SWATDB_ASSIGNMENT: NOTEMSG Do not modify this definition, you may add private helper methods only
40
44
class
TupleNLJ
:
public
Join
{
45
46
public
:
47
61
TupleNLJ
(
FileId
outer_id,
FileId
inner_id,
FileId
result_id,
62
std::vector<FieldId>
outer_fields
, std::vector<FieldId>
inner_fields
,
63
Catalog
*catalog);
64
68
~TupleNLJ
();
69
77
void
runOperation
();
78
79
};
80
81
#endif
Catalog
Definition
catalog.h:161
Data
Definition
data.h:26
FileManager
Definition
filemgr.h:32
File
Definition
file.h:45
HeapFileScanner
Definition
heapfilescanner.h:39
HeapFile
Definition
heapfile.h:76
Join
Definition
join.h:37
Join::inner_fields
std::vector< FieldId > inner_fields
Definition
join.h:83
Join::outer_fields
std::vector< FieldId > outer_fields
Definition
join.h:78
Key
Definition
key.h:38
Record
Definition
record.h:34
RelationFile
Definition
relationfile.h:32
Schema
Definition
schema.h:37
SearchKeyFormat
Definition
searchkeyformat.h:32
TupleNLJ
Definition
tupleNLJ.h:44
TupleNLJ::~TupleNLJ
~TupleNLJ()
Destructor for TupleNLJ. Deletes dynamic member variables.
TupleNLJ::TupleNLJ
TupleNLJ(FileId outer_id, FileId inner_id, FileId result_id, std::vector< FieldId > outer_fields, std::vector< FieldId > inner_fields, Catalog *catalog)
Constructor for Join operation. Join subclasses use this constructor.
TupleNLJ::runOperation
void runOperation()
Runs the operation.
join.h
swatdb_types.h
FileId
std::uint32_t FileId
Definition
swatdb_types.h:33
Generated by
1.9.8