LogicalCTERef represents a reference to a recursive CTE.
More...
|
|
vector< string > | bound_columns |
|
idx_t | table_index |
| | The table index in the current bind context.
|
|
idx_t | cte_index |
| | CTE index.
|
|
vector< LogicalType > | chunk_types |
| | The types of the chunk.
|
|
idx_t | correlated_columns |
| | Number of correlated columns.
|
|
bool | is_recurring = false |
| | Does this operator read the recurring CTE table.
|
|
LogicalOperatorType | type |
| | The type of the logical operator.
|
|
vector< unique_ptr< LogicalOperator > > | children |
| | The set of children of the operator.
|
|
vector< unique_ptr< Expression > > | expressions |
| | The set of expressions contained within the operator, if any.
|
|
vector< LogicalType > | types |
| | The types returned by this logical operator. Set by calling LogicalOperator::ResolveTypes.
|
|
idx_t | estimated_cardinality |
| | Estimated Cardinality.
|
|
bool | has_estimated_cardinality |
|
|
static constexpr const LogicalOperatorType | TYPE = LogicalOperatorType::LOGICAL_CTE_REF |
|
| void | ResolveTypes () override |
| | Resolve types for this specific operator.
|
LogicalCTERef represents a reference to a recursive CTE.
◆ LogicalCTERef()
203549 D_ASSERT(!
types.empty());
203551 bound_columns = std::move(colnames);
203552 }
bool is_recurring
Does this operator read the recurring CTE table.
Definition duckdb.cpp:203564
idx_t cte_index
CTE index.
Definition duckdb.cpp:203558
idx_t correlated_columns
Number of correlated columns.
Definition duckdb.cpp:203562
idx_t table_index
The table index in the current bind context.
Definition duckdb.cpp:203556
vector< LogicalType > chunk_types
The types of the chunk.
Definition duckdb.cpp:203560
vector< LogicalType > types
The types returned by this logical operator. Set by calling LogicalOperator::ResolveTypes.
Definition duckdb.hpp:21266
◆ ParamsToString()
Reimplemented from duckdb::LogicalOperator.
381876 {
381877 InsertionOrderPreservingMap<string> result;
381879 SetParamsEstimatedCardinality(result);
381880 return result;
381881}
static string Format(const string fmt_str, ARGS... params)
Format a string using printf semantics.
Definition duckdb.hpp:4002
◆ GetColumnBindings()
◆ Serialize()
| void duckdb::LogicalCTERef::Serialize |
( |
Serializer & | serializer | ) |
const |
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
416561 {
416562 LogicalOperator::Serialize(serializer);
416563 serializer.WritePropertyWithDefault<
idx_t>(200,
"table_index",
table_index);
416564 serializer.WritePropertyWithDefault<
idx_t>(201,
"cte_index",
cte_index);
416565 serializer.WritePropertyWithDefault<vector<LogicalType>>(202,
"chunk_types",
chunk_types);
416566 serializer.WritePropertyWithDefault<vector<string>>(203, "bound_columns", bound_columns);
416567
416568 serializer.WritePropertyWithDefault<
bool>(205,
"is_recurring",
is_recurring);
416569}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
◆ Deserialize()
416571 {
416572 auto table_index = deserializer.ReadPropertyWithDefault<
idx_t>(200,
"table_index");
416573 auto cte_index = deserializer.ReadPropertyWithDefault<
idx_t>(201,
"cte_index");
416574 auto chunk_types = deserializer.ReadPropertyWithDefault<vector<LogicalType>>(202,
"chunk_types");
416575 auto bound_columns = deserializer.ReadPropertyWithDefault<vector<string>>(203, "bound_columns");
416577 deserializer.ReadDeletedProperty<CTEMaterialize>(204, "materialized_cte");
416578 deserializer.ReadPropertyWithDefault<bool>(205, "is_recurring", result->is_recurring);
416579 return std::move(result);
416580}
◆ GetTableIndex()
| vector< idx_t > duckdb::LogicalCTERef::GetTableIndex |
( |
| ) |
const |
|
overridevirtual |
◆ GetName()
| string duckdb::LogicalCTERef::GetName |
( |
| ) |
const |
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
381887 {
381888#ifdef DEBUG
381891 }
381892#endif
381893 return LogicalOperator::GetName();
381894}
static bool debug_print_bindings
Whether to print bindings when printing the plan (debug mode only).
Definition duckdb.hpp:40040
◆ ResolveTypes()
| void duckdb::LogicalCTERef::ResolveTypes |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
The documentation for this class was generated from the following file: