LogicalAnyJoin represents a join with an arbitrary expression as JoinCondition.
More...
|
|
static constexpr const LogicalOperatorType | TYPE = LogicalOperatorType::LOGICAL_ANY_JOIN |
|
static constexpr const LogicalOperatorType | TYPE = LogicalOperatorType::LOGICAL_INVALID |
|
| void | ResolveTypes () override |
| | Resolve types for this specific operator.
|
LogicalAnyJoin represents a join with an arbitrary expression as JoinCondition.
◆ LogicalAnyJoin()
| duckdb::LogicalAnyJoin::LogicalAnyJoin |
( |
JoinType | type | ) |
|
|
explicit |
381442 : LogicalJoin(
type, LogicalOperatorType::LOGICAL_ANY_JOIN) {
381443}
LogicalOperatorType type
The type of the logical operator.
Definition duckdb.hpp:21260
◆ ParamsToString()
Reimplemented from duckdb::LogicalOperator.
381445 {
381446 InsertionOrderPreservingMap<string> result;
381447 result[
"Condition"] =
condition->ToString();
381448 SetParamsEstimatedCardinality(result);
381449 return result;
381450}
unique_ptr< Expression > condition
The JoinCondition on which this join is performed.
Definition duckdb.cpp:147093
◆ Serialize()
| void duckdb::LogicalAnyJoin::Serialize |
( |
Serializer & | serializer | ) |
const |
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
416542 {
416543 LogicalOperator::Serialize(serializer);
416544 serializer.WriteProperty<JoinType>(200,
"join_type",
join_type);
416545 serializer.WritePropertyWithDefault<
idx_t>(201,
"mark_index",
mark_index);
416546 serializer.WritePropertyWithDefault<vector<idx_t>>(202,
"left_projection_map",
left_projection_map);
416547 serializer.WritePropertyWithDefault<vector<idx_t>>(203,
"right_projection_map",
right_projection_map);
416548 serializer.WritePropertyWithDefault<unique_ptr<Expression>>(204,
"condition",
condition);
416549}
idx_t mark_index
Table index used to refer to the MARK column (in case of a MARK join).
Definition duckdb.cpp:147062
vector< idx_t > right_projection_map
The columns of the RHS that are output by the join.
Definition duckdb.cpp:147066
vector< idx_t > left_projection_map
The columns of the LHS that are output by the join.
Definition duckdb.cpp:147064
JoinType join_type
The type of the join (INNER, OUTER, etc...).
Definition duckdb.cpp:147060
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
◆ Deserialize()
416551 {
416552 auto join_type = deserializer.ReadProperty<JoinType>(200,
"join_type");
416553 auto result = duckdb::unique_ptr<LogicalAnyJoin>(
new LogicalAnyJoin(
join_type));
416554 deserializer.ReadPropertyWithDefault<
idx_t>(201,
"mark_index", result->mark_index);
416555 deserializer.ReadPropertyWithDefault<vector<idx_t>>(202, "left_projection_map", result->left_projection_map);
416556 deserializer.ReadPropertyWithDefault<vector<idx_t>>(203, "right_projection_map", result->right_projection_map);
416557 deserializer.ReadPropertyWithDefault<unique_ptr<Expression>>(204, "condition", result->condition);
416558 return std::move(result);
416559}
The documentation for this class was generated from the following file: