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::FindMatchingAggregate Struct Reference

Public Member Functions

 FindMatchingAggregate (const aggr_ref_t &aggr)
bool operator() (const aggr_ref_t other_r)

Public Attributes

const aggr_ref_t aggr_r

Constructor & Destructor Documentation

◆ FindMatchingAggregate()

duckdb::FindMatchingAggregate::FindMatchingAggregate ( const aggr_ref_t & aggr)
inlineexplicit
159757 : aggr_r(aggr) {
159758 }

Member Function Documentation

◆ operator()()

bool duckdb::FindMatchingAggregate::operator() ( const aggr_ref_t other_r)
inline
159759 {
159760 auto &other = other_r.get();
159761 auto &aggr = aggr_r.get();
159762 if (other.children.size() != aggr.children.size()) {
159763 return false;
159764 }
159765 if (!Expression::Equals(aggr.filter, other.filter)) {
159766 return false;
159767 }
159768 for (idx_t i = 0; i < aggr.children.size(); i++) {
159769 auto &other_child = other.children[i]->Cast<BoundReferenceExpression>();
159770 auto &aggr_child = aggr.children[i]->Cast<BoundReferenceExpression>();
159771 if (other_child.index != aggr_child.index) {
159772 return false;
159773 }
159774 }
159775 return true;
159776 }
bool Equals(const BaseExpression &other) const override
Returns true if this expression is equal to another expression.
Definition duckdb.hpp:17762
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237

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