|
| | InMemoryPartialBlock (ColumnData &data, ColumnSegment &segment, PartialBlockState state, BlockManager &block_manager) |
| 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 | Merge (PartialBlock &other, idx_t offset, idx_t other_size) override |
| void | AddSegmentToTail (ColumnData &data, ColumnSegment &segment, uint32_t offset_in_block) override |
| void | Clear () 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.
|
| 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.
|
◆ InMemoryPartialBlock()
432349 InMemoryPartialBlock::AddSegmentToTail(data, segment, 0);
432350}
PartialBlockState state
The current state of a partial block.
Definition duckdb.cpp:11360
BlockManager & block_manager
The block manager of the partial block manager.
Definition duckdb.cpp:11364
◆ ~InMemoryPartialBlock()
| duckdb::InMemoryPartialBlock::~InMemoryPartialBlock |
( |
| ) |
|
|
override |
◆ Flush()
| void duckdb::InMemoryPartialBlock::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.
432355 {
432356 Clear();
432357}
◆ Merge()
| void duckdb::InMemoryPartialBlock::Merge |
( |
PartialBlock & | other, |
|
|
idx_t | offset, |
|
|
idx_t | other_size ) |
|
overridevirtual |
Implements duckdb::PartialBlock.
432359 {
432360 auto &other = other_p.Cast<InMemoryPartialBlock>();
432361 other.Clear();
432362}
◆ AddSegmentToTail()
Reimplemented from duckdb::PartialBlock.
432364 {
432366}
shared_ptr< BlockHandle > block_handle
The block handle of the underlying block that this partial block writes to.
Definition duckdb.cpp:11366
◆ Clear()
| void duckdb::InMemoryPartialBlock::Clear |
( |
| ) |
|
|
overridevirtual |
Implements duckdb::PartialBlock.
432368 {
432371}
vector< UninitializedRegion > uninitialized_regions
All uninitialized regions on this block, we need to zero-initialize them when flushing.
Definition duckdb.cpp:11362
The documentation for this struct was generated from the following file: