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::ReferencedColumn Class Reference
Collaboration diagram for duckdb::ReferencedColumn:

Public Member Functions

void AddPath (const ColumnIndex &path)

Public Attributes

vector< reference< BoundColumnRefExpression > > bindings
 The BoundColumnRefExpressions in the operator that reference the same ColumnBinding.
vector< ReferencedStructExtract > struct_extracts
vector< ColumnIndex > child_columns
PushdownExtractSupport supports_pushdown_extract = PushdownExtractSupport::UNCHECKED
 Whether we can create a pushdown extract for the children of this column (if any).
column_index_set unique_paths
 Map from extract path to the binding created for it (if pushdown extract).

Member Function Documentation

◆ AddPath()

void duckdb::ReferencedColumn::AddPath ( const ColumnIndex & path)

Full field already referenced, won't use struct field projection pushdown at all

The parent path already exists, don't add the new path

No parent path exists, but child paths could already be added, remove them if they exist

Finally add the new path to the map

319380 {
319381 if (child_columns.empty()) {
319383 return;
319384 }
319385 path.VerifySinglePath();
319386
319387 auto res = FindShortestMatchingPath(unique_paths, path);
319388 auto entry = res.first;
319389 if (entry != unique_paths.end()) {
319391 return;
319392 }
319393
319395 auto it = unique_paths.begin();
319396 for (; it != unique_paths.end();) {
319397 auto &unique_path = *it;
319398 if (unique_path.IsChildPathOf(path)) {
319399 auto current = it;
319400 it++;
319401 unique_paths.erase(current);
319402 } else {
319403 it++;
319404 }
319405 }
319407 unique_paths.emplace(path);
319408}
column_index_set unique_paths
Map from extract path to the binding created for it (if pushdown extract).
Definition duckdb.cpp:60506
std::pair< column_index_set::iterator, idx_t > FindShortestMatchingPath(column_index_set &all_paths, const ColumnIndex &full_path)
returns: found_path, depth of the found path
Definition duckdb.cpp:318777
Here is the call graph for this function:

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