|
|
static constexpr const LogicalOperatorType | TYPE = LogicalOperatorType::LOGICAL_PIVOT |
|
| void | ResolveTypes () override |
| | Resolve types for this specific operator.
|
◆ LogicalPivot() [1/2]
382865 : LogicalOperator(LogicalOperatorType::LOGICAL_PIVOT), pivot_index(pivot_idx),
bound_pivot(std::move(info_p)) {
382866 D_ASSERT(plan);
382867 children.push_back(std::move(plan));
382868}
vector< unique_ptr< LogicalOperator > > children
The set of children of the operator.
Definition duckdb.hpp:21262
BoundPivotInfo bound_pivot
The bound pivot info.
Definition duckdb.cpp:205378
◆ LogicalPivot() [2/2]
| duckdb::LogicalPivot::LogicalPivot |
( |
| ) |
|
|
private |
382861 : LogicalOperator(LogicalOperatorType::LOGICAL_PIVOT) {
382862}
◆ GetColumnBindings()
Reimplemented from duckdb::LogicalOperator.
382870 {
382871 vector<ColumnBinding> result;
382873 result.emplace_back(pivot_index, i);
382874 }
382875 return result;
382876}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
◆ Serialize()
| void duckdb::LogicalPivot::Serialize |
( |
Serializer & | serializer | ) |
const |
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
416921 {
416922 LogicalOperator::Serialize(serializer);
416923 serializer.WritePropertyWithDefault<
idx_t>(200,
"pivot_index", pivot_index);
416924 serializer.WriteProperty<BoundPivotInfo>(201,
"bound_pivot",
bound_pivot);
416925}
◆ Deserialize()
416927 {
416928 auto result = duckdb::unique_ptr<LogicalPivot>(new LogicalPivot());
416929 deserializer.ReadPropertyWithDefault<
idx_t>(200,
"pivot_index", result->pivot_index);
416930 deserializer.ReadProperty<BoundPivotInfo>(201, "bound_pivot", result->bound_pivot);
416931 return std::move(result);
416932}
◆ GetTableIndex()
| vector< idx_t > duckdb::LogicalPivot::GetTableIndex |
( |
| ) |
const |
|
overridevirtual |
Returns the set of table indexes of this operator.
Reimplemented from duckdb::LogicalOperator.
382878 {
382879 return vector<idx_t> {pivot_index};
382880}
◆ GetName()
| string duckdb::LogicalPivot::GetName |
( |
| ) |
const |
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
382886 {
382887#ifdef DEBUG
382890 }
382891#endif
382892 return LogicalOperator::GetName();
382893}
static string Format(const string fmt_str, ARGS... params)
Format a string using printf semantics.
Definition duckdb.hpp:4002
static bool debug_print_bindings
Whether to print bindings when printing the plan (debug mode only).
Definition duckdb.hpp:40040
◆ ResolveTypes()
| void duckdb::LogicalPivot::ResolveTypes |
( |
| ) |
|
|
overrideprotectedvirtual |
Resolve types for this specific operator.
Implements duckdb::LogicalOperator.
382882 {
382884}
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: