|
|
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.
|
◆ PartialBlock()
415332}
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
◆ ~PartialBlock()
| virtual duckdb::PartialBlock::~PartialBlock |
( |
| ) |
|
|
inlinevirtual |
◆ AddUninitializedRegion()
| void duckdb::PartialBlock::AddUninitializedRegion |
( |
const idx_t | start, |
|
|
const idx_t | end ) |
Add regions that need zero-initialization to avoid leaking memory.
415334 {
415336}
vector< UninitializedRegion > uninitialized_regions
All uninitialized regions on this block, we need to zero-initialize them when flushing.
Definition duckdb.cpp:11362
◆ AddSegmentToTail()
415338 {
415339 throw InternalException("PartialBlock::AddSegmentToTail not supported for this block type");
415340}
◆ Flush()
| virtual void duckdb::PartialBlock::Flush |
( |
QueryContext | context, |
|
|
const idx_t | free_space_left ) |
|
pure virtual |
◆ FlushInternal()
| void duckdb::PartialBlock::FlushInternal |
( |
const idx_t | free_space_left | ) |
|
415342 {
415343
415346
415347
415349 memset(buffer_handle.Ptr() + uninitialized.start, 0, uninitialized.end - uninitialized.start);
415350 }
415351
415352 memset(buffer_handle.Ptr() +
block_manager.GetBlockSize() - free_space_left, 0, free_space_left);
415353 }
415354}
◆ 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: