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

DEPRECATED - CTENode is only preserved for backwards compatibility when serializing older databases. More...

Inheritance diagram for duckdb::CTENode:
Collaboration diagram for duckdb::CTENode:

Public Member Functions

string ToString () const override
 Convert the query node to a string.
bool Equals (const QueryNode *other) const override
unique_ptr< QueryNode > Copy () const override
 Create a copy of this QueryNode.
void Serialize (Serializer &serializer) const override
Public Member Functions inherited from duckdb::QueryNode
 QueryNode (QueryNodeType type)
string ResultModifiersToString () const
void AddDistinct ()
 Adds a distinct modifier to the query node.
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Static Public Member Functions

static unique_ptr< QueryNode > Deserialize (Deserializer &source)
Static Public Member Functions inherited from duckdb::QueryNode
static unique_ptr< QueryNode > Deserialize (Deserializer &deserializer)

Public Attributes

string ctename
unique_ptr< QueryNode > query
unique_ptr< QueryNode > child
vector< string > aliases
CTEMaterialize materialized = CTEMaterialize::CTE_MATERIALIZE_DEFAULT
Public Attributes inherited from duckdb::QueryNode
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).

Static Public Attributes

static constexpr const QueryNodeType TYPE = QueryNodeType::CTE_NODE

Additional Inherited Members

Protected Member Functions inherited from duckdb::QueryNode
void CopyProperties (QueryNode &other) const
 Copy base QueryNode properties from another expression to this one, used in Copy method.

Detailed Description

DEPRECATED - CTENode is only preserved for backwards compatibility when serializing older databases.

Constructor & Destructor Documentation

◆ CTENode()

duckdb::CTENode::CTENode ( )
inline
297991 : QueryNode(QueryNodeType::CTE_NODE) {
297992 }

Member Function Documentation

◆ ToString()

string duckdb::CTENode::ToString ( ) const
overridevirtual

Convert the query node to a string.

Implements duckdb::QueryNode.

347973 {
347974 throw InternalException("CTENode is a legacy type");
347975}

◆ Equals()

bool duckdb::CTENode::Equals ( const QueryNode * other) const
overridevirtual

Reimplemented from duckdb::QueryNode.

347977 {
347978 throw InternalException("CTENode is a legacy type");
347979}

◆ Copy()

unique_ptr< QueryNode > duckdb::CTENode::Copy ( ) const
overridevirtual

Create a copy of this QueryNode.

Implements duckdb::QueryNode.

347981 {
347982 throw InternalException("CTENode is a legacy type");
347983}

◆ Serialize()

void duckdb::CTENode::Serialize ( Serializer & serializer) const
overridevirtual

Reimplemented from duckdb::QueryNode.

419076 {
419077 QueryNode::Serialize(serializer);
419078 serializer.WritePropertyWithDefault<string>(200, "cte_name", ctename);
419079 serializer.WritePropertyWithDefault<unique_ptr<QueryNode>>(201, "query", query);
419080 serializer.WritePropertyWithDefault<unique_ptr<QueryNode>>(202, "child", child);
419081 serializer.WritePropertyWithDefault<vector<string>>(203, "aliases", aliases);
419082 serializer.WritePropertyWithDefault<CTEMaterialize>(204, "materialized", materialized, CTEMaterialize::CTE_MATERIALIZE_DEFAULT);
419083}

◆ Deserialize()

unique_ptr< QueryNode > duckdb::CTENode::Deserialize ( Deserializer & source)
static
419085 {
419086 auto result = duckdb::unique_ptr<CTENode>(new CTENode());
419087 deserializer.ReadPropertyWithDefault<string>(200, "cte_name", result->ctename);
419088 deserializer.ReadPropertyWithDefault<unique_ptr<QueryNode>>(201, "query", result->query);
419089 deserializer.ReadPropertyWithDefault<unique_ptr<QueryNode>>(202, "child", result->child);
419090 deserializer.ReadPropertyWithDefault<vector<string>>(203, "aliases", result->aliases);
419091 deserializer.ReadPropertyWithExplicitDefault<CTEMaterialize>(204, "materialized", result->materialized, CTEMaterialize::CTE_MATERIALIZE_DEFAULT);
419092 return std::move(result);
419093}

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