|
| | PartialBlockForIndex (PartialBlockState state, BlockManager &block_manager, const shared_ptr< BlockHandle > &block_handle) |
| void | Flush (QueryContext context, const idx_t free_space_left) override |
| | Flush the block to disk and zero-initialize any free space and uninitialized regions.
|
| void | Clear () override |
| void | Merge (PartialBlock &other, idx_t offset, idx_t other_size) override |
| | 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) |
| void | FlushInternal (const idx_t free_space_left) |
| template<class TARGET> |
| TARGET & | Cast () |
|
|
PartialBlockState | state |
| | The current state of a partial block.
|
|
vector< UninitializedRegion > | uninitialized_regions |
| | All uninitialized regions on this block, we need to zero-initialize them when flushing.
|
|
BlockManager & | block_manager |
| | The block manager of the partial block manager.
|
|
shared_ptr< BlockHandle > | block_handle |
| | The block handle of the underlying block that this partial block writes to.
|
◆ PartialBlockForIndex()
156577}
PartialBlockState state
The current state of a partial block.
Definition duckdb.cpp:11360
shared_ptr< BlockHandle > block_handle
The block handle of the underlying block that this partial block writes to.
Definition duckdb.cpp:11366
BlockManager & block_manager
The block manager of the partial block manager.
Definition duckdb.cpp:11364
◆ ~PartialBlockForIndex()
| duckdb::PartialBlockForIndex::~PartialBlockForIndex |
( |
| ) |
|
|
inlineoverride |
◆ Flush()
| void duckdb::PartialBlockForIndex::Flush |
( |
QueryContext | context, |
|
|
const idx_t | free_space_left ) |
|
overridevirtual |
Flush the block to disk and zero-initialize any free space and uninitialized regions.
Implements duckdb::PartialBlock.
156579 {
156580 FlushInternal(free_space_left);
156582 Clear();
156583}
◆ Clear()
| void duckdb::PartialBlockForIndex::Clear |
( |
| ) |
|
|
overridevirtual |
◆ Merge()
| void duckdb::PartialBlockForIndex::Merge |
( |
PartialBlock & | other, |
|
|
idx_t | offset, |
|
|
idx_t | other_size ) |
|
overridevirtual |
Implements duckdb::PartialBlock.
156585 {
156586 throw InternalException("no merge for PartialBlockForIndex");
156587}
The documentation for this struct was generated from the following file: