Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::LogicalDependentJoin Class Reference
Inheritance diagram for duckdb::LogicalDependentJoin:
Collaboration diagram for duckdb::LogicalDependentJoin:

Public Member Functions

 LogicalDependentJoin (unique_ptr< LogicalOperator > left, unique_ptr< LogicalOperator > right, CorrelatedColumns correlated_columns, JoinType type, unique_ptr< Expression > condition)
 LogicalDependentJoin (JoinType type)
Public Member Functions inherited from duckdb::LogicalComparisonJoin
 LogicalComparisonJoin (JoinType type, LogicalOperatorType logical_type=LogicalOperatorType::LOGICAL_COMPARISON_JOIN)
InsertionOrderPreservingMap< string > ParamsToString () const override
void Serialize (Serializer &serializer) const override
bool HasEquality (idx_t &range_count) const
Public Member Functions inherited from duckdb::LogicalJoin
 LogicalJoin (JoinType type, LogicalOperatorType logical_type=LogicalOperatorType::LOGICAL_JOIN)
bool HasProjectionMap () const override
vector< ColumnBinding > GetColumnBindings () override
vector< idx_t > GetTableIndex () const override
 Returns the set of table indexes of this operator.
string GetName () const override
Public Member Functions inherited from duckdb::LogicalOperator
 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 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.
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Static Public Member Functions

static unique_ptr< LogicalOperator > Create (unique_ptr< LogicalOperator > left, unique_ptr< LogicalOperator > right, CorrelatedColumns correlated_columns, JoinType type, unique_ptr< Expression > condition)
Static Public Member Functions inherited from duckdb::LogicalComparisonJoin
static unique_ptr< LogicalOperator > Deserialize (Deserializer &deserializer)
static unique_ptr< LogicalOperator > CreateJoin (ClientContext &context, JoinType type, JoinRefType ref_type, unique_ptr< LogicalOperator > left_child, unique_ptr< LogicalOperator > right_child, unique_ptr< Expression > condition)
static unique_ptr< LogicalOperator > CreateJoin (JoinType type, JoinRefType ref_type, unique_ptr< LogicalOperator > left_child, unique_ptr< LogicalOperator > right_child, vector< JoinCondition > conditions, vector< unique_ptr< Expression > > arbitrary_expressions)
 Create the join operator based on conditions and join type.
static void ExtractJoinConditions (ClientContext &context, JoinType type, JoinRefType ref_type, unique_ptr< LogicalOperator > &left_child, unique_ptr< LogicalOperator > &right_child, unique_ptr< Expression > condition, vector< JoinCondition > &conditions, vector< unique_ptr< Expression > > &arbitrary_expressions)
static void ExtractJoinConditions (ClientContext &context, JoinType type, JoinRefType ref_type, unique_ptr< LogicalOperator > &left_child, unique_ptr< LogicalOperator > &right_child, vector< unique_ptr< Expression > > &expressions, vector< JoinCondition > &conditions, vector< unique_ptr< Expression > > &arbitrary_expressions)
static void ExtractJoinConditions (ClientContext &context, JoinType type, JoinRefType ref_type, unique_ptr< LogicalOperator > &left_child, unique_ptr< LogicalOperator > &right_child, const unordered_set< idx_t > &left_bindings, const unordered_set< idx_t > &right_bindings, vector< unique_ptr< Expression > > &expressions, vector< JoinCondition > &conditions, vector< unique_ptr< Expression > > &arbitrary_expressions)
 Extract join conditions, pushing single-side filters to children when it's safe.
Static Public Member Functions inherited from duckdb::LogicalJoin
static void GetTableReferences (LogicalOperator &op, unordered_set< idx_t > &bindings)
 Gets the set of table references that are reachable from this node.
static void GetExpressionBindings (const Expression &expr, unordered_set< idx_t > &bindings)
Static Public Member Functions inherited from duckdb::LogicalOperator
static string ColumnBindingsToString (const vector< ColumnBinding > &bindings)
static vector< ColumnBinding > GenerateColumnBindings (idx_t table_idx, idx_t column_count)
static vector< LogicalType > MapTypes (const vector< LogicalType > &types, const vector< idx_t > &projection_map)
static vector< ColumnBinding > MapBindings (const vector< ColumnBinding > &types, const vector< idx_t > &projection_map)
static unique_ptr< LogicalOperator > Deserialize (Deserializer &deserializer)

Public Attributes

unique_ptr< Expression > join_condition
 The conditions of the join.
CorrelatedColumns correlated_columns
 The list of columns that have correlations with the right.
SubqueryType subquery_type = SubqueryType::INVALID
bool perform_delim = true
bool any_join = false
bool propagate_null_values = true
bool is_lateral_join = false
vector< unique_ptr< Expression > > arbitrary_expressions
vector< unique_ptr< Expression > > expression_children
vector< LogicalType > child_types
vector< LogicalType > child_targets
ExpressionType comparison_type
Public Attributes inherited from duckdb::LogicalComparisonJoin
vector< JoinCondition > conditions
 The conditions of the join.
vector< LogicalType > mark_types
 Used for duplicate-eliminated MARK joins.
vector< unique_ptr< Expression > > duplicate_eliminated_columns
 The set of columns that will be duplicate eliminated from the LHS and pushed into the RHS.
bool delim_flipped = false
 If this is a DelimJoin, whether it has been flipped to de-duplicating the RHS instead.
bool convert_mark_to_semi = true
 (If join_type == MARK) can this comparison join be converted from a mark join to semi
unique_ptr< JoinFilterPushdownInfo > filter_pushdown
 Scans where we should push generated filters into (if any).
unique_ptr< Expression > predicate
 Filtering predicate from the ON clause with expressions that don't reference both sides.
Public Attributes inherited from duckdb::LogicalJoin
JoinType join_type
 The type of the join (INNER, OUTER, etc...).
idx_t mark_index {}
 Table index used to refer to the MARK column (in case of a MARK join).
vector< idx_t > left_projection_map
 The columns of the LHS that are output by the join.
vector< idx_t > right_projection_map
 The columns of the RHS that are output by the join.
vector< unique_ptr< BaseStatistics > > join_stats
 Join Keys statistics (optional).
Public Attributes inherited from duckdb::LogicalOperator
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 Public Attributes

static constexpr const LogicalOperatorType TYPE = LogicalOperatorType::LOGICAL_DEPENDENT_JOIN
Static Public Attributes inherited from duckdb::LogicalComparisonJoin
static constexpr const LogicalOperatorType TYPE = LogicalOperatorType::LOGICAL_INVALID
Static Public Attributes inherited from duckdb::LogicalJoin
static constexpr const LogicalOperatorType TYPE = LogicalOperatorType::LOGICAL_INVALID

Additional Inherited Members

Protected Member Functions inherited from duckdb::LogicalJoin
void ResolveTypes () override
 Resolve types for this specific operator.

Constructor & Destructor Documentation

◆ LogicalDependentJoin() [1/2]

duckdb::LogicalDependentJoin::LogicalDependentJoin ( unique_ptr< LogicalOperator > left,
unique_ptr< LogicalOperator > right,
CorrelatedColumns correlated_columns,
JoinType type,
unique_ptr< Expression > condition )
explicit
381979 : LogicalComparisonJoin(type, LogicalOperatorType::LOGICAL_DEPENDENT_JOIN), join_condition(std::move(condition)),
381981 children.push_back(std::move(left));
381982 children.push_back(std::move(right));
381983}
CorrelatedColumns correlated_columns
The list of columns that have correlations with the right.
Definition duckdb.cpp:206719
unique_ptr< Expression > join_condition
The conditions of the join.
Definition duckdb.cpp:206717
vector< unique_ptr< LogicalOperator > > children
The set of children of the operator.
Definition duckdb.hpp:21262
LogicalOperatorType type
The type of the logical operator.
Definition duckdb.hpp:21260

◆ LogicalDependentJoin() [2/2]

duckdb::LogicalDependentJoin::LogicalDependentJoin ( JoinType type)
explicit
381986 : LogicalComparisonJoin(join_type, LogicalOperatorType::LOGICAL_DEPENDENT_JOIN) {
381987}
JoinType join_type
The type of the join (INNER, OUTER, etc...).
Definition duckdb.cpp:147060

Member Function Documentation

◆ Create()

unique_ptr< LogicalOperator > duckdb::LogicalDependentJoin::Create ( unique_ptr< LogicalOperator > left,
unique_ptr< LogicalOperator > right,
CorrelatedColumns correlated_columns,
JoinType type,
unique_ptr< Expression > condition )
static
381992 {
381993 return make_uniq<LogicalDependentJoin>(std::move(left), std::move(right), std::move(correlated_columns), type,
381994 std::move(condition));
381995}

The documentation for this class was generated from the following file: