◆ TupleDataBlock() [1/2]
| duckdb::TupleDataBlock::TupleDataBlock |
( |
BufferManager & | buffer_manager, |
|
|
MemoryTag | tag, |
|
|
idx_t | capacity_p ) |
124832 auto buffer_handle = buffer_manager.Allocate(tag,
capacity,
false);
124833 handle = buffer_handle.GetBlockHandle();
124834}
shared_ptr< BlockHandle > handle
The underlying row block.
Definition duckdb.cpp:57439
idx_t capacity
Capacity (in bytes).
Definition duckdb.cpp:57441
idx_t size
Occupied size (in bytes).
Definition duckdb.cpp:57443
◆ TupleDataBlock() [2/2]
| duckdb::TupleDataBlock::TupleDataBlock |
( |
TupleDataBlock && | other | ) |
|
|
noexcept |
Enable move constructors.
124837 std::swap(
handle, other.handle);
124838 std::swap(
capacity, other.capacity);
124839 std::swap(
size, other.size);
124840}
◆ operator=()
124842 {
124843 std::swap(
handle, other.handle);
124844 std::swap(
capacity, other.capacity);
124845 std::swap(
size, other.size);
124846 return *this;
124847}
◆ RemainingCapacity() [1/2]
| idx_t duckdb::TupleDataBlock::RemainingCapacity |
( |
| ) |
const |
|
inline |
Remaining capacity (in bytes).
◆ RemainingCapacity() [2/2]
| idx_t duckdb::TupleDataBlock::RemainingCapacity |
( |
idx_t | row_width | ) |
const |
|
inline |
Remaining capacity (in rows).
57433 {
57435 }
idx_t RemainingCapacity() const
Remaining capacity (in bytes).
Definition duckdb.cpp:57427
The documentation for this struct was generated from the following file: