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

Public Member Functions

 InMemoryTableDataWriter (InMemoryCheckpointer &checkpoint_manager, TableCatalogEntry &table)
void WriteUnchangedTable (MetaBlockPointer pointer, const vector< MetaBlockPointer > &metadata_pointers, idx_t total_rows) override
void FinalizeTable (const TableStatistics &global_stats, DataTableInfo &info, RowGroupCollection &collection, Serializer &serializer) override
unique_ptr< RowGroupWriter > GetRowGroupWriter (RowGroup &row_group) override
void FlushPartialBlocks () override
CheckpointOptions GetCheckpointOptions () const override
MetadataManager & GetMetadataManager () override
Public Member Functions inherited from duckdb::TableDataWriter
 TableDataWriter (TableCatalogEntry &table, QueryContext context)
void WriteTableData (Serializer &metadata_serializer)
virtual void AddRowGroup (RowGroupPointer &&row_group_pointer, unique_ptr< RowGroupWriter > writer)
optional_idx GetRowGroupCount ()
void SetRowGroupCount (optional_idx row_group_count_p)
bool GetRebuildIndexes () const
void SetRebuildIndexes ()
DatabaseInstance & GetDatabase ()
unique_ptr< TaskExecutor > CreateTaskExecutor ()

Private Attributes

InMemoryCheckpointer & checkpoint_manager

Additional Inherited Members

Protected Attributes inherited from duckdb::TableDataWriter
DuckTableEntry & table
optional_ptr< ClientContext > context
vector< RowGroupPointer > row_group_pointers
 Pointers to the start of each row group.
optional_idx row_group_count
bool rebuild_indexes = false

Constructor & Destructor Documentation

◆ InMemoryTableDataWriter()

duckdb::InMemoryTableDataWriter::InMemoryTableDataWriter ( InMemoryCheckpointer & checkpoint_manager,
TableCatalogEntry & table )
432319 : TableDataWriter(table, checkpoint_manager.GetClientContext()), checkpoint_manager(checkpoint_manager) {
432320}

Member Function Documentation

◆ WriteUnchangedTable()

void duckdb::InMemoryTableDataWriter::WriteUnchangedTable ( MetaBlockPointer pointer,
const vector< MetaBlockPointer > & metadata_pointers,
idx_t total_rows )
overridevirtual

Implements duckdb::TableDataWriter.

432323 {
432324}

◆ FinalizeTable()

void duckdb::InMemoryTableDataWriter::FinalizeTable ( const TableStatistics & global_stats,
DataTableInfo & info,
RowGroupCollection & collection,
Serializer & serializer )
overridevirtual

Implements duckdb::TableDataWriter.

432327 {
432328 // nop: no need to write anything
432329}

◆ GetRowGroupWriter()

unique_ptr< RowGroupWriter > duckdb::InMemoryTableDataWriter::GetRowGroupWriter ( RowGroup & row_group)
overridevirtual

Implements duckdb::TableDataWriter.

432331 {
432332 return make_uniq<InMemoryRowGroupWriter>(table, checkpoint_manager.GetPartialBlockManager(), checkpoint_manager);
432333}

◆ FlushPartialBlocks()

void duckdb::InMemoryTableDataWriter::FlushPartialBlocks ( )
overridevirtual

Implements duckdb::TableDataWriter.

432335 {
432336}

◆ GetCheckpointOptions()

CheckpointOptions duckdb::InMemoryTableDataWriter::GetCheckpointOptions ( ) const
overridevirtual

Implements duckdb::TableDataWriter.

432338 {
432339 return checkpoint_manager.GetCheckpointOptions();
432340}

◆ GetMetadataManager()

MetadataManager & duckdb::InMemoryTableDataWriter::GetMetadataManager ( )
overridevirtual

Implements duckdb::TableDataWriter.

432342 {
432343 return checkpoint_manager.GetMetadataManager();
432344}

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