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::RelationStatement Class Reference
Inheritance diagram for duckdb::RelationStatement:
Collaboration diagram for duckdb::RelationStatement:

Public Member Functions

 RelationStatement (shared_ptr< Relation > relation)
unique_ptr< SQLStatement > Copy () const override
 Create a copy of this SelectStatement.
string ToString () const override
Public Member Functions inherited from duckdb::SQLStatement
 SQLStatement (StatementType type)
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Public Attributes

shared_ptr< Relation > relation
Public Attributes inherited from duckdb::SQLStatement
StatementType type
 The statement type.
idx_t stmt_location = 0
 The statement location within the query string.
idx_t stmt_length = 0
 The statement length within the query string.
case_insensitive_map_t< idx_t > named_param_map
 The map of named parameter to param index.
string query
 The query text that corresponds to this SQL statement.

Static Public Attributes

static constexpr const StatementType TYPE = StatementType::RELATION_STATEMENT
Static Public Attributes inherited from duckdb::SQLStatement
static constexpr const StatementType TYPE = StatementType::INVALID_STATEMENT

Protected Member Functions

 RelationStatement (const RelationStatement &other)=default
Protected Member Functions inherited from duckdb::SQLStatement
 SQLStatement (const SQLStatement &other)=default

Constructor & Destructor Documentation

◆ RelationStatement()

duckdb::RelationStatement::RelationStatement ( shared_ptr< Relation > relation)
explicit
349826 : SQLStatement(StatementType::RELATION_STATEMENT), relation(std::move(relation_p)) {
349827 query = relation->GetQuery();
349828}
string query
The query text that corresponds to this SQL statement.
Definition duckdb.hpp:41986

Member Function Documentation

◆ Copy()

unique_ptr< SQLStatement > duckdb::RelationStatement::Copy ( ) const
overridevirtual

Create a copy of this SelectStatement.

Implements duckdb::SQLStatement.

349830 {
349831 return unique_ptr<RelationStatement>(new RelationStatement(*this));
349832}

◆ ToString()

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

Implements duckdb::SQLStatement.

349834 {
349835 return relation->ToString();
349836}

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