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::PhysicalNestedLoopJoinState Class Reference
Inheritance diagram for duckdb::PhysicalNestedLoopJoinState:
Collaboration diagram for duckdb::PhysicalNestedLoopJoinState:

Public Member Functions

 PhysicalNestedLoopJoinState (ClientContext &context, const PhysicalNestedLoopJoin &op, const vector< JoinCondition > &conditions)
void Finalize (const PhysicalOperator &op, ExecutionContext &context) override
Public Member Functions inherited from duckdb::OperatorState
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Public Attributes

bool fetch_next_left
bool fetch_next_right
DataChunk left_condition
ExpressionExecutor lhs_executor
 The executor of the LHS condition.
ColumnDataScanState condition_scan_state
ColumnDataScanState payload_scan_state
DataChunk right_condition
DataChunk right_payload
idx_t left_tuple
idx_t right_tuple
OuterJoinMarker left_outer
ExpressionExecutor pred_executor
 Predicate.
SelectionVector pred_matches
Public Attributes inherited from duckdb::CachingOperatorState
unique_ptr< DataChunk > cached_chunk
bool initialized = false
OperatorCachingMode can_cache_chunk = OperatorCachingMode::NONE
 Whether or not the chunk can be cached.
bool must_return_continuation_chunk = false
OperatorResultType cached_result

Constructor & Destructor Documentation

◆ PhysicalNestedLoopJoinState()

duckdb::PhysicalNestedLoopJoinState::PhysicalNestedLoopJoinState ( ClientContext & context,
const PhysicalNestedLoopJoin & op,
const vector< JoinCondition > & conditions )
inline
188412 : fetch_next_left(true), fetch_next_right(false), lhs_executor(context), left_tuple(0), right_tuple(0),
188413 left_outer(IsLeftOuterJoin(op.join_type)), pred_executor(context) {
188414 vector<LogicalType> condition_types;
188415 for (auto &cond : conditions) {
188416 lhs_executor.AddExpression(*cond.left);
188417 condition_types.push_back(cond.left->return_type);
188418 }
188419 auto &allocator = Allocator::Get(context);
188420 left_condition.Initialize(allocator, condition_types);
188421 right_condition.Initialize(allocator, condition_types);
188422 right_payload.Initialize(allocator, op.children[1].get().GetTypes());
188423 left_outer.Initialize(STANDARD_VECTOR_SIZE);
188424
188425 if (op.predicate) {
188426 pred_executor.AddExpression(*op.predicate);
188427 pred_matches.Initialize();
188428 }
188429 }
ExpressionExecutor pred_executor
Predicate.
Definition duckdb.cpp:188448
ExpressionExecutor lhs_executor
The executor of the LHS condition.
Definition duckdb.cpp:188435
bool IsLeftOuterJoin(JoinType type)
True if join is left or full outer join.
Definition duckdb.cpp:68419

Member Function Documentation

◆ Finalize()

void duckdb::PhysicalNestedLoopJoinState::Finalize ( const PhysicalOperator & op,
ExecutionContext & context )
inlineoverridevirtual

Reimplemented from duckdb::CachingOperatorState.

188452 {
188453 context.thread.profiler.Flush(op);
188454 }

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