◆ PhysicalPlan()
| duckdb::PhysicalPlan::PhysicalPlan |
( |
Allocator & |
allocator | ) |
|
|
inlineexplicit |
38110:
arena(allocator) {};
ArenaAllocator arena
The arena allocator storing the physical operator memory.
Definition duckdb.hpp:38143
◆ ~PhysicalPlan()
| duckdb::PhysicalPlan::~PhysicalPlan |
( |
| ) |
|
|
inline |
38112 {
38113
38114 for (
auto &op :
ops) {
38115 auto &op_ref = op.get();
38116 op_ref.~PhysicalOperator();
38117 }
38118 }
vector< reference< PhysicalOperator > > ops
References to the physical operators.
Definition duckdb.hpp:38145
◆ Make()
template<
class T , class... ARGS>
38122 {
38123 static_assert(std::is_base_of<PhysicalOperator, T>::value, "T must be a physical operator");
38124 auto ptr =
arena.Make<T>(*
this, std::forward<ARGS>(args)...);
38125 ops.push_back(*ptr);
38126 return *ptr;
38127 }
◆ Root()
38129 {
38132 }
optional_ptr< PhysicalOperator > root
The root of the physical plan.
Definition duckdb.hpp:38147
◆ SetRoot()
◆ ArenaRef()
Get a reference to the arena.
The documentation for this class was generated from the following file: