1 | //===----------------------------------------------------------------------===// |
2 | // DuckDB |
3 | // |
4 | // duckdb/planner/operator/logical_projection.hpp |
5 | // |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #pragma once |
10 | |
11 | #include "duckdb/planner/logical_operator.hpp" |
12 | |
13 | namespace duckdb { |
14 | |
15 | //! LogicalProjection represents the projection list in a SELECT clause |
16 | class LogicalProjection : public LogicalOperator { |
17 | public: |
18 | LogicalProjection(idx_t table_index, vector<unique_ptr<Expression>> select_list); |
19 | |
20 | idx_t table_index; |
21 | |
22 | public: |
23 | vector<ColumnBinding> GetColumnBindings() override; |
24 | |
25 | protected: |
26 | void ResolveTypes() override; |
27 | }; |
28 | } // namespace duckdb |
29 | |