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::QueryNode Class Referenceabstract
Collaboration diagram for duckdb::QueryNode:

Public Member Functions

 QueryNode (QueryNodeType type)
 
virtual string ToString () const =0
 Convert the query node to a string.
 
virtual bool Equals (const QueryNode *other) const
 
virtual unique_ptr< QueryNodeCopy () const =0
 Create a copy of this QueryNode.
 
string ResultModifiersToString () const
 
void AddDistinct ()
 Adds a distinct modifier to the query node.
 
virtual void Serialize (Serializer &serializer) const
 
template<class TARGET >
TARGETCast ()
 
template<class TARGET >
const TARGETCast () const
 

Static Public Member Functions

static unique_ptr< QueryNodeDeserialize (Deserializer &deserializer)
 

Public Attributes

QueryNodeType type
 The type of the query node, either SetOperation or Select.
 
vector< unique_ptr< ResultModifier > > modifiers
 The set of result modifiers associated with this query node.
 
CommonTableExpressionMap cte_map
 CTEs (used by SelectNode and SetOperationNode)
 

Protected Member Functions

void CopyProperties (QueryNode &other) const
 

Constructor & Destructor Documentation

◆ QueryNode()

duckdb::QueryNode::QueryNode ( QueryNodeType  type)
inlineexplicit
53572 : type(type) {
53573 }
QueryNodeType type
The type of the query node, either SetOperation or Select.
Definition duckdb.hpp:53578

◆ ~QueryNode()

virtual duckdb::QueryNode::~QueryNode ( )
inlinevirtual
53574 {
53575 }

Member Function Documentation

◆ CopyProperties()

void duckdb::QueryNode::CopyProperties ( QueryNode other) const
protected

Copy base QueryNode properties from another expression to this one, used in Copy method

◆ Cast() [1/2]

template<class TARGET >
TARGET & duckdb::QueryNode::Cast ( )
inline
53608 {
53609 if (type != TARGET::TYPE) {
53610 throw InternalException("Failed to cast query node to type - query node type mismatch");
53611 }
53612 return reinterpret_cast<TARGET &>(*this);
53613 }

◆ Cast() [2/2]

template<class TARGET >
const TARGET & duckdb::QueryNode::Cast ( ) const
inline
53616 {
53617 if (type != TARGET::TYPE) {
53618 throw InternalException("Failed to cast query node to type - query node type mismatch");
53619 }
53620 return reinterpret_cast<const TARGET &>(*this);
53621 }

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