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

Public Member Functions

void AppendRow (ArenaAllocator &allocator, LinkedList &linked_list, RecursiveUnifiedVectorFormat &input_data, idx_t &entry_idx) const
void BuildListVector (const LinkedList &linked_list, Vector &result, idx_t total_count) const

Public Attributes

create_segment_t create_segment
write_data_to_segment_t write_data
read_data_from_segment_t read_data
uint16_t initial_capacity = ListSegment::INITIAL_CAPACITY
vector< ListSegmentFunctions > child_functions

Member Function Documentation

◆ AppendRow()

void duckdb::ListSegmentFunctions::AppendRow ( ArenaAllocator & allocator,
LinkedList & linked_list,
RecursiveUnifiedVectorFormat & input_data,
idx_t & entry_idx ) const
124072 {
124073 auto &write_data_to_segment = *this;
124074 auto segment = GetSegment(write_data_to_segment, allocator, linked_list);
124075 write_data_to_segment.write_data(write_data_to_segment, allocator, segment, input_data, entry_idx);
124076
124077 linked_list.total_capacity++;
124078 segment->count++;
124079}

◆ BuildListVector()

void duckdb::ListSegmentFunctions::BuildListVector ( const LinkedList & linked_list,
Vector & result,
idx_t total_count ) const
124241 {
124242 auto &read_data_from_segment = *this;
124243 auto segment = linked_list.first_segment;
124244 while (segment) {
124245 read_data_from_segment.read_data(read_data_from_segment, segment, result, total_count);
124246 total_count += segment->count;
124247 segment = segment->next;
124248 }
124249}

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