|
| | LogicalMaterializedCTE (string ctename_p, idx_t table_index, idx_t column_count, unique_ptr< LogicalOperator > cte, unique_ptr< LogicalOperator > child, CTEMaterialize materialize) |
| InsertionOrderPreservingMap< string > | ParamsToString () const override |
| vector< ColumnBinding > | GetColumnBindings () override |
| void | Serialize (Serializer &serializer) const override |
| vector< idx_t > | GetTableIndex () const override |
| | Returns the set of table indexes of this operator.
|
| | LogicalCTE (LogicalOperatorType logical_type=LogicalOperatorType::LOGICAL_INVALID) |
| | LogicalCTE (string ctename_p, idx_t table_index, idx_t column_count, unique_ptr< LogicalOperator > top, unique_ptr< LogicalOperator > bottom, LogicalOperatorType logical_type=LogicalOperatorType::LOGICAL_INVALID) |
| | LogicalOperator (LogicalOperatorType type) |
| | LogicalOperator (LogicalOperatorType type, vector< unique_ptr< Expression > > expressions) |
| virtual idx_t | GetRootIndex () |
| void | PrintColumnBindings () |
| void | ResolveOperatorTypes () |
| | Resolve the types of the logical operator and its children.
|
| virtual string | GetName () const |
| virtual string | ToString (ExplainFormat format=ExplainFormat::DEFAULT) const |
| DUCKDB_API void | Print () |
| virtual void | Verify (ClientContext &context) |
| | Debug method: verify that the integrity of expressions & child nodes are maintained.
|
| void | AddChild (unique_ptr< LogicalOperator > child) |
| virtual idx_t | EstimateCardinality (ClientContext &context) |
| void | SetEstimatedCardinality (idx_t _estimated_cardinality) |
| void | SetParamsEstimatedCardinality (InsertionOrderPreservingMap< string > &result) const |
| virtual unique_ptr< LogicalOperator > | Copy (ClientContext &context) const |
| virtual bool | RequireOptimizer () const |
| virtual bool | SupportSerialization () const |
| | Allows LogicalOperators to opt out of serialization.
|
| virtual bool | HasProjectionMap () const |
| template<class TARGET> |
| TARGET & | Cast () |
| template<class TARGET> |
| const TARGET & | Cast () const |
|
|
static constexpr const LogicalOperatorType | TYPE = LogicalOperatorType::LOGICAL_MATERIALIZED_CTE |
|
static constexpr const LogicalOperatorType | TYPE = LogicalOperatorType::LOGICAL_INVALID |
|
| void | ResolveTypes () override |
| | Resolve types for this specific operator.
|
◆ LogicalMaterializedCTE() [1/2]
| duckdb::LogicalMaterializedCTE::LogicalMaterializedCTE |
( |
| ) |
|
|
inlineexplicitprivate |
203600 : LogicalCTE(LogicalOperatorType::LOGICAL_MATERIALIZED_CTE) {
203601 }
◆ LogicalMaterializedCTE() [2/2]
203609 : LogicalCTE(std::move(ctename_p), table_index, column_count, std::move(cte), std::move(child),
203610 LogicalOperatorType::LOGICAL_MATERIALIZED_CTE),
203611 materialize(materialize) {
203612 }
◆ ParamsToString()
Reimplemented from duckdb::LogicalOperator.
382757 {
382758 InsertionOrderPreservingMap<string> result;
382759 result["CTE Name"] = ctename;
382761 SetParamsEstimatedCardinality(result);
382762 return result;
382763}
static string Format(const string fmt_str, ARGS... params)
Format a string using printf semantics.
Definition duckdb.hpp:4002
◆ GetColumnBindings()
Reimplemented from duckdb::LogicalOperator.
203618 {
203619 return children[1]->GetColumnBindings();
203620 }
vector< unique_ptr< LogicalOperator > > children
The set of children of the operator.
Definition duckdb.hpp:21262
◆ Serialize()
| void duckdb::LogicalMaterializedCTE::Serialize |
( |
Serializer & | serializer | ) |
const |
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
416868 {
416869 LogicalOperator::Serialize(serializer);
416870 serializer.WritePropertyWithDefault<
idx_t>(200,
"table_index", table_index);
416871 serializer.WritePropertyWithDefault<
idx_t>(201,
"column_count", column_count);
416872 serializer.WritePropertyWithDefault<string>(202, "ctename", ctename);
416873 serializer.WritePropertyWithDefault<CTEMaterialize>(203, "materialize", materialize, CTEMaterialize::CTE_MATERIALIZE_DEFAULT);
416874}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
◆ Deserialize()
416876 {
416877 auto result = duckdb::unique_ptr<LogicalMaterializedCTE>(new LogicalMaterializedCTE());
416878 deserializer.ReadPropertyWithDefault<
idx_t>(200,
"table_index", result->table_index);
416879 deserializer.ReadPropertyWithDefault<
idx_t>(201,
"column_count", result->column_count);
416880 deserializer.ReadPropertyWithDefault<string>(202, "ctename", result->ctename);
416881 deserializer.ReadPropertyWithExplicitDefault<CTEMaterialize>(203, "materialize", result->materialize, CTEMaterialize::CTE_MATERIALIZE_DEFAULT);
416882 return std::move(result);
416883}
◆ GetTableIndex()
| vector< idx_t > duckdb::LogicalMaterializedCTE::GetTableIndex |
( |
| ) |
const |
|
overridevirtual |
Returns the set of table indexes of this operator.
Reimplemented from duckdb::LogicalOperator.
382765 {
382766 return vector<idx_t> {table_index};
382767}
◆ ResolveTypes()
| void duckdb::LogicalMaterializedCTE::ResolveTypes |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
Resolve types for this specific operator.
Implements duckdb::LogicalOperator.
203628 {
203630 }
vector< LogicalType > types
The types returned by this logical operator. Set by calling LogicalOperator::ResolveTypes.
Definition duckdb.hpp:21266
The documentation for this class was generated from the following file: