1//===----------------------------------------------------------------------===//
2// DuckDB
3//
4// duckdb/planner/tableref/bound_basetableref.hpp
5//
6//
7//===----------------------------------------------------------------------===//
8
9#pragma once
10
11#include "duckdb/planner/bound_tableref.hpp"
12#include "duckdb/planner/logical_operator.hpp"
13
14namespace duckdb {
15class TableCatalogEntry;
16
17//! Represents a TableReference to a base table in the schema
18class BoundBaseTableRef : public BoundTableRef {
19public:
20 static constexpr const TableReferenceType TYPE = TableReferenceType::BASE_TABLE;
21
22public:
23 BoundBaseTableRef(TableCatalogEntry &table, unique_ptr<LogicalOperator> get)
24 : BoundTableRef(TableReferenceType::BASE_TABLE), table(table), get(std::move(get)) {
25 }
26
27 TableCatalogEntry &table;
28 unique_ptr<LogicalOperator> get;
29};
30} // namespace duckdb
31