SQLStatement is the base class of any type of SQL statement.
More...
|
|
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.
|
| |
SQLStatement is the base class of any type of SQL statement.
◆ SQLStatement()
| duckdb::SQLStatement::SQLStatement |
( |
StatementType |
type | ) |
|
|
inlineexplicit |
41973 }
StatementType type
The statement type.
Definition duckdb.hpp:41978
◆ ~SQLStatement()
| virtual duckdb::SQLStatement::~SQLStatement |
( |
| ) |
|
|
inlinevirtual |
◆ ToString()
| virtual string duckdb::SQLStatement::ToString |
( |
| ) |
const |
|
pure virtual |
◆ Copy()
◆ Cast() [1/2]
| TARGET & duckdb::SQLStatement::Cast |
( |
| ) |
|
|
inline |
41999 {
42000 if (
type != TARGET::TYPE && TARGET::TYPE != StatementType::INVALID_STATEMENT) {
42001 throw InternalException("Failed to cast statement to type - statement type mismatch");
42002 }
42003 return reinterpret_cast<TARGET &>(*this);
42004 }
◆ Cast() [2/2]
42007 {
42008 if (
type != TARGET::TYPE && TARGET::TYPE != StatementType::INVALID_STATEMENT) {
42009 throw InternalException("Failed to cast statement to type - statement type mismatch");
42010 }
42011 return reinterpret_cast<const TARGET &>(*this);
42012 }
The documentation for this class was generated from the following file: