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

Public Member Functions

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

unique_ptr< ParsedExpression > function
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::CALL_STATEMENT
Static Public Attributes inherited from duckdb::SQLStatement
static constexpr const StatementType TYPE = StatementType::INVALID_STATEMENT

Protected Member Functions

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

Constructor & Destructor Documentation

◆ CallStatement() [1/2]

duckdb::CallStatement::CallStatement ( )
348924 : SQLStatement(StatementType::CALL_STATEMENT) {
348925}

◆ CallStatement() [2/2]

duckdb::CallStatement::CallStatement ( const CallStatement & other)
protected
348927 : SQLStatement(other), function(other.function->Copy()) {
348928}

Member Function Documentation

◆ Copy()

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

Create a copy of this SelectStatement.

Implements duckdb::SQLStatement.

348930 {
348931 return unique_ptr<CallStatement>(new CallStatement(*this));
348932}

◆ ToString()

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

Implements duckdb::SQLStatement.

348934 {
348935 string result = "";
348936 result += "CALL";
348937 result += " " + function->ToString();
348938 result += ";";
348939 return result;
348940}

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