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::TableFilter Class Referenceabstract

TableFilter represents a filter pushed down into the table scan. More...

#include <duckdb.hpp>

Inheritance diagram for duckdb::TableFilter:

Public Member Functions

 TableFilter (TableFilterType filter_type_p)
 
virtual FilterPropagateResult CheckStatistics (BaseStatistics &stats) const =0
 Returns true if the statistics indicate that the segment can contain values that satisfy that filter.
 
virtual string ToString (const string &column_name) const =0
 
string DebugToString () const
 
virtual unique_ptr< TableFilterCopy () const =0
 
virtual bool Equals (const TableFilter &other) const
 
virtual unique_ptr< ExpressionToExpression (const Expression &column) const =0
 
virtual void Serialize (Serializer &serializer) const
 
template<class TARGET >
TARGETCast ()
 
template<class TARGET >
const TARGETCast () const
 

Static Public Member Functions

static unique_ptr< TableFilterDeserialize (Deserializer &deserializer)
 

Public Attributes

TableFilterType filter_type
 

Detailed Description

TableFilter represents a filter pushed down into the table scan.

Constructor & Destructor Documentation

◆ TableFilter()

duckdb::TableFilter::TableFilter ( TableFilterType  filter_type_p)
inlineexplicit
20780 : filter_type(filter_type_p) {
20781 }

◆ ~TableFilter()

virtual duckdb::TableFilter::~TableFilter ( )
inlinevirtual
20782 {
20783 }

Member Function Documentation

◆ CheckStatistics()

virtual FilterPropagateResult duckdb::TableFilter::CheckStatistics ( BaseStatistics stats) const
pure virtual

◆ Equals()

virtual bool duckdb::TableFilter::Equals ( const TableFilter other) const
inlinevirtual
20793 {
20794 return filter_type == other.filter_type;
20795 }

◆ Cast() [1/2]

template<class TARGET >
TARGET & duckdb::TableFilter::Cast ( )
inline
20803 {
20804 if (filter_type != TARGET::TYPE) {
20805 throw InternalException("Failed to cast to type - table filter type mismatch");
20806 }
20807 return reinterpret_cast<TARGET &>(*this);
20808 }

◆ Cast() [2/2]

template<class TARGET >
const TARGET & duckdb::TableFilter::Cast ( ) const
inline
20811 {
20812 if (filter_type != TARGET::TYPE) {
20813 throw InternalException("Failed to cast to type - table filter type mismatch");
20814 }
20815 return reinterpret_cast<const TARGET &>(*this);
20816 }

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