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::TableFilterSet Class Reference

#include <duckdb.hpp>

Collaboration diagram for duckdb::TableFilterSet:

Public Member Functions

void PushFilter (const ColumnIndex &col_idx, unique_ptr< TableFilter > filter)
 
bool Equals (TableFilterSet &other)
 
unique_ptr< TableFilterSetCopy () const
 
void Serialize (Serializer &serializer) const
 

Static Public Member Functions

static bool Equals (TableFilterSet *left, TableFilterSet *right)
 
static TableFilterSet Deserialize (Deserializer &deserializer)
 

Public Attributes

map< idx_t, unique_ptr< TableFilter > > filters
 

Detailed Description

The filters in here are non-composite (only need a single column to be evaluated) Conditions like A = 2 OR B = 4 are not pushed into a TableFilterSet.

Member Function Documentation

◆ Equals() [1/2]

bool duckdb::TableFilterSet::Equals ( TableFilterSet other)
inline
20828 {
20829 if (filters.size() != other.filters.size()) {
20830 return false;
20831 }
20832 for (auto &entry : filters) {
20833 auto other_entry = other.filters.find(entry.first);
20834 if (other_entry == other.filters.end()) {
20835 return false;
20836 }
20837 if (!entry.second->Equals(*other_entry->second)) {
20838 return false;
20839 }
20840 }
20841 return true;
20842 }

◆ Equals() [2/2]

static bool duckdb::TableFilterSet::Equals ( TableFilterSet left,
TableFilterSet right 
)
inlinestatic
20843 {
20844 if (left == right) {
20845 return true;
20846 }
20847 if (!left || !right) {
20848 return false;
20849 }
20850 return left->Equals(*right);
20851 }

◆ Copy()

unique_ptr< TableFilterSet > duckdb::TableFilterSet::Copy ( ) const
inline
20853 {
20854 auto copy = make_uniq<TableFilterSet>();
20855 for (auto &it : filters) {
20856 copy->filters.emplace(it.first, it.second->Copy());
20857 }
20858 return copy;
20859 }

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