1 | //===----------------------------------------------------------------------===// |
---|---|
2 | // DuckDB |
3 | // |
4 | // duckdb/execution/nested_loop_join.hpp |
5 | // |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #pragma once |
10 | |
11 | #include "duckdb/common/common.hpp" |
12 | #include "duckdb/common/types/column/column_data_collection.hpp" |
13 | #include "duckdb/common/types/vector.hpp" |
14 | #include "duckdb/planner/operator/logical_comparison_join.hpp" |
15 | |
16 | namespace duckdb { |
17 | class ColumnDataCollection; |
18 | |
19 | struct NestedLoopJoinInner { |
20 | static idx_t Perform(idx_t <uple, idx_t &rtuple, DataChunk &left_conditions, DataChunk &right_conditions, |
21 | SelectionVector &lvector, SelectionVector &rvector, const vector<JoinCondition> &conditions); |
22 | }; |
23 | |
24 | struct NestedLoopJoinMark { |
25 | static void Perform(DataChunk &left, ColumnDataCollection &right, bool found_match[], |
26 | const vector<JoinCondition> &conditions); |
27 | }; |
28 | |
29 | } // namespace duckdb |
30 |