#include <indexNLJ.h>
|
| | IndexNLJ (FileId outer_id, FileId inner_id, FileId inner_index_id, FileId result_id, std::vector< FieldId > outer_fields, std::vector< FieldId > inner_fields, Catalog *catalog) |
| | Constructor for Index Nested Loop Join operation.
|
| |
| void | runOperation () |
| | Runs the operation.
|
| |
| | Join (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.
|
| |
|
| ~Join () |
| | Destructor for the Join Operation.
|
| |
| | Operation (FileId result_id, Catalog *catalog) |
| | Constructor for the Operation class. Because Operation is an abstract class, an object cannot be created, but this constructor is used by derived classes.
|
| |
|
virtual | ~Operation () |
| | Destructor for the Operation class. Cleans up dynamic memory in result state.
|
| |
IndexNLJ: index nested loop join class derived from Join
◆ IndexNLJ()
Constructor for Index Nested Loop Join operation.
- Parameters
-
| outer_id. | FileId of the outer relation file. |
| inner_id. | FileId of the inner relation file. |
| inner_index_id. | FileId of the index for the inner relation file. |
| result_id | FileId of the result file. |
| outer_fields. | Vector of FieldIds corresponding to the join fields in outer_rel |
| inner_fields. | Vector of FieldIds corresponding to the join fields in inner_rel |
◆ runOperation()
| void IndexNLJ::runOperation |
( |
| ) |
|
|
virtual |
Runs the operation.
- Precondition
- Valid files and parameters have been passed to the contructor.
- Postcondition
- Result file has been populated with records that meet the criteria of the operation.
Implements Operation.
The documentation for this class was generated from the following file: