Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::CommonSubplanOptimizer Class Reference

The CommonSubplanOptimizer optimizer detects common subplans, and converts them to refs of a materialized CTE. More...

Collaboration diagram for duckdb::CommonSubplanOptimizer:

Public Member Functions

 CommonSubplanOptimizer (Optimizer &optimizer)
unique_ptr< LogicalOperator > Optimize (unique_ptr< LogicalOperator > op)

Private Attributes

Optimizer & optimizer
 The optimizer.

Detailed Description

The CommonSubplanOptimizer optimizer detects common subplans, and converts them to refs of a materialized CTE.

Constructor & Destructor Documentation

◆ CommonSubplanOptimizer()

duckdb::CommonSubplanOptimizer::CommonSubplanOptimizer ( Optimizer & optimizer)
explicit
305449 : optimizer(optimizer_p) {
305450}
Optimizer & optimizer
The optimizer.
Definition duckdb.cpp:304355

Member Function Documentation

◆ Optimize()

unique_ptr< LogicalOperator > duckdb::CommonSubplanOptimizer::Optimize ( unique_ptr< LogicalOperator > op)
305452 {
305453 // Bottom-up identification of identical subplans
305454 CommonSubplanFinder finder(optimizer.context);
305455 finder.FindCommonSubplans(op);
305456 finder.FilterSubplans();
305457 finder.ConvertSubplansToCTEs(optimizer, op);
305458 return op;
305459}

The documentation for this class was generated from the following file: