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::ColumnFetchState Struct Reference
Collaboration diagram for duckdb::ColumnFetchState:

Public Member Functions

BufferHandle & GetOrInsertHandle (ColumnSegment &segment)

Public Attributes

FetchType fetch_type = FetchType::TRANSACTIONAL_FETCH
QueryContext context
 The query context for this fetch.
buffer_handle_set_t handles
 The set of pinned block handles for this set of fetches.
vector< unique_ptr< ColumnFetchState > > child_states
 Any child states of the fetch.
optional_ptr< SegmentNode< RowGroup > > row_group
 The current row group we are fetching from.

Member Function Documentation

◆ GetOrInsertHandle()

BufferHandle & duckdb::ColumnFetchState::GetOrInsertHandle ( ColumnSegment & segment)
405767 {
405768 auto primary_id = segment.block->BlockId();
405769
405770 auto entry = handles.find(primary_id);
405771 if (entry == handles.end()) {
405772 // not pinned yet: pin it
405773 auto &buffer_manager = BufferManager::GetBufferManager(segment.db);
405774 auto handle = buffer_manager.Pin(segment.block);
405775 auto pinned_entry = handles.insert(make_pair(primary_id, std::move(handle)));
405776 return pinned_entry.first->second;
405777 } else {
405778 // already pinned: use the pinned handle
405779 return entry->second;
405780 }
405781}
buffer_handle_set_t handles
The set of pinned block handles for this set of fetches.
Definition duckdb.cpp:74971

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