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::TableDataReader Class Reference

The table data reader is responsible for reading the data of a table from the block manager. More...

Collaboration diagram for duckdb::TableDataReader:

Public Member Functions

 TableDataReader (MetadataReader &reader, BoundCreateTableInfo &info, MetaBlockPointer table_pointer)
void ReadTableData ()

Private Attributes

MetadataReader & reader
BoundCreateTableInfo & info

Detailed Description

The table data reader is responsible for reading the data of a table from the block manager.

Constructor & Destructor Documentation

◆ TableDataReader()

duckdb::TableDataReader::TableDataReader ( MetadataReader & reader,
BoundCreateTableInfo & info,
MetaBlockPointer table_pointer )
389238 : reader(reader), info(info) {
389239 info.data = make_uniq<PersistentTableData>(info.Base().columns.LogicalColumnCount());
389240 info.data->base_table_pointer = table_pointer;
389241}

Member Function Documentation

◆ ReadTableData()

void duckdb::TableDataReader::ReadTableData ( )
389243 {
389244 auto &columns = info.Base().columns;
389245 D_ASSERT(!columns.empty());
389246
389247 // We stored the table statistics as a unit in FinalizeTable.
389248 BinaryDeserializer stats_deserializer(reader);
389249
389250 stats_deserializer.Begin();
389251 info.data->table_stats.Deserialize(stats_deserializer, columns);
389252 stats_deserializer.End();
389253
389254 // Deserialize the row group pointers (lazily, just set the count and the pointer to them for now)
389255 info.data->row_group_count = reader.Read<uint64_t>();
389256 info.data->block_pointer = reader.GetMetaBlockPointer();
389257}
::uint64_t uint64_t

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