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::PartialBlock Struct Referenceabstract
Inheritance diagram for duckdb::PartialBlock:
Collaboration diagram for duckdb::PartialBlock:

Public Member Functions

 PartialBlock (PartialBlockState state, BlockManager &block_manager, const shared_ptr< BlockHandle > &block_handle)
 
void AddUninitializedRegion (const idx_t start, const idx_t end)
 Add regions that need zero-initialization to avoid leaking memory.
 
virtual void AddSegmentToTail (ColumnData &data, ColumnSegment &segment, uint32_t offset_in_block)
 
virtual void Flush (QueryContext context, const idx_t free_space_left)=0
 Flush the block to disk and zero-initialize any free space and uninitialized regions.
 
void FlushInternal (const idx_t free_space_left)
 
virtual void Merge (PartialBlock &other, idx_t offset, idx_t other_size)=0
 
virtual void Clear ()=0
 
template<class TARGET >
TARGETCast ()
 

Public Attributes

PartialBlockState state
 The current state of a partial block.
 
vector< UninitializedRegionuninitialized_regions
 All uninitialized regions on this block, we need to zero-initialize them when flushing.
 
BlockManagerblock_manager
 The block manager of the partial block manager.
 
shared_ptr< BlockHandleblock_handle
 The block handle of the underlying block that this partial block writes to.
 

Constructor & Destructor Documentation

◆ ~PartialBlock()

virtual duckdb::PartialBlock::~PartialBlock ( )
inlinevirtual
11356 {
11357 }

Member Function Documentation

◆ Flush()

virtual void duckdb::PartialBlock::Flush ( QueryContext  context,
const idx_t  free_space_left 
)
pure virtual

Flush the block to disk and zero-initialize any free space and uninitialized regions.

Implemented in duckdb::PartialBlockForIndex.

◆ Cast()

template<class TARGET >
TARGET & duckdb::PartialBlock::Cast ( )
inline
11380 {
11381 DynamicCastCheck<TARGET>(this);
11382 return reinterpret_cast<TARGET &>(*this);
11383 }

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