1 | //===----------------------------------------------------------------------===// |
---|---|
2 | // DuckDB |
3 | // |
4 | // duckdb/planner/tableref/bound_table_function.hpp |
5 | // |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #pragma once |
10 | |
11 | #include "duckdb/planner/bound_tableref.hpp" |
12 | #include "duckdb/planner/logical_operator.hpp" |
13 | |
14 | namespace duckdb { |
15 | |
16 | //! Represents a reference to a table-producing function call |
17 | class BoundTableFunction : public BoundTableRef { |
18 | public: |
19 | static constexpr const TableReferenceType TYPE = TableReferenceType::TABLE_FUNCTION; |
20 | |
21 | public: |
22 | explicit BoundTableFunction(unique_ptr<LogicalOperator> get) |
23 | : BoundTableRef(TableReferenceType::TABLE_FUNCTION), get(std::move(get)) { |
24 | } |
25 | |
26 | unique_ptr<LogicalOperator> get; |
27 | }; |
28 | |
29 | } // namespace duckdb |
30 |