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

Public Member Functions

 OptimisticDataWriter (ClientContext &context, DataTable &table)
 
 OptimisticDataWriter (DataTable &table, OptimisticDataWriter &parent)
 
unique_ptr< OptimisticWriteCollectionCreateCollection (DataTable &storage, const vector< LogicalType > &insert_types, OptimisticWritePartialManagers type=OptimisticWritePartialManagers::PER_COLUMN)
 Creates a collection to write to.
 
void WriteNewRowGroup (OptimisticWriteCollection &row_groups)
 Write a new row group to disk (if possible)
 
void WriteUnflushedRowGroups (OptimisticWriteCollection &row_groups)
 Write any unflushed row groups of a collection to disk.
 
void FinalFlush ()
 Final flush of the optimistic writer - fully flushes the partial block manager.
 
void Merge (OptimisticDataWriter &other)
 Merge the partially written blocks from one optimistic writer into another.
 
void Merge (unique_ptr< PartialBlockManager > &other_manager)
 
void Rollback ()
 Rollback.
 
ClientContextGetClientContext ()
 Return the client context.
 

Private Member Functions

bool PrepareWrite ()
 Prepare a write to disk.
 
void FlushToDisk (OptimisticWriteCollection &collection, const vector< const_reference< RowGroup > > &row_groups, const vector< int64_t > &segment_indexes)
 Flushes a specific row group to disk.
 

Private Attributes

ClientContextcontext
 The client context in which we're writing the data.
 
DataTabletable
 The table.
 
unique_ptr< PartialBlockManagerpartial_manager
 The partial block manager, if any.
 

Member Function Documentation

◆ GetClientContext()

ClientContext & duckdb::OptimisticDataWriter::GetClientContext ( )
inline

Return the client context.

50744 {
50745 return context;
50746 }
ClientContext & context
The client context in which we're writing the data.
Definition duckdb.hpp:50757

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