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

Public Member Functions

 HashJoinLocalSinkState (const PhysicalHashJoin &op, ClientContext &context, HashJoinGlobalSinkState &gstate)
Public Member Functions inherited from duckdb::LocalSinkState
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Public Attributes

PartitionedTupleDataAppendState append_state
ExpressionExecutor join_key_executor
DataChunk join_keys
DataChunk payload_chunk
unique_ptr< JoinHashTable > hash_table
 Thread-local HT.
unique_ptr< JoinFilterLocalState > local_filter_state
Public Attributes inherited from duckdb::LocalSinkState
SourcePartitionInfo partition_info
 Source partition info.

Constructor & Destructor Documentation

◆ HashJoinLocalSinkState()

duckdb::HashJoinLocalSinkState::HashJoinLocalSinkState ( const PhysicalHashJoin & op,
ClientContext & context,
HashJoinGlobalSinkState & gstate )
inline
184433 : join_key_executor(context) {
184434 auto &allocator = BufferAllocator::Get(context);
184435
184436 for (auto &cond : op.conditions) {
184437 join_key_executor.AddExpression(*cond.right);
184438 }
184439 join_keys.Initialize(allocator, op.condition_types);
184440
184441 if (!op.payload_columns.col_types.empty()) {
184442 payload_chunk.Initialize(allocator, op.payload_columns.col_types);
184443 }
184444
184445 hash_table = op.InitializeHashTable(context);
184446 hash_table->GetSinkCollection().InitializeAppendState(append_state);
184447
184448 gstate.active_local_states++;
184449
184450 if (op.filter_pushdown) {
184451 local_filter_state = op.filter_pushdown->GetLocalState(*gstate.global_filter_state);
184452 }
184453 }
unique_ptr< JoinHashTable > hash_table
Thread-local HT.
Definition duckdb.cpp:184464

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