|
| void | VerifyLock (const unique_lock< mutex > &guard) const |
◆ SortedRunMergePartition()
| duckdb::SortedRunMergePartition::SortedRunMergePartition |
( |
const SortedRunMerger & | merger, |
|
|
const idx_t | partition_idx ) |
|
inline |
107125 : begin_computed(partition_idx == 0), scanned(false) {
107126
107127 run_boundaries.resize(merger.sorted_runs.size());
107128 const auto maximum_end = (partition_idx + 1) * merger.partition_size;
107129 for (
idx_t run_idx = 0; run_idx < merger.sorted_runs.size(); run_idx++) {
107130 const auto end = MinValue(merger.sorted_runs[run_idx]->Count(), maximum_end);
107131 run_boundaries[run_idx] = {0, end};
107132 }
107133 }
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
◆ Lock()
| unique_lock< mutex > duckdb::SortedRunMergePartition::Lock |
( |
| ) |
|
|
inline |
107136 {
107137 return unique_lock<mutex>(lock);
107138 }
◆ GetRunBoundaries()
| unsafe_vector< SortedRunPartitionBoundary > & duckdb::SortedRunMergePartition::GetRunBoundaries |
( |
const unique_lock< mutex > & | guard | ) |
|
|
inline |
107140 {
107141 VerifyLock(guard);
107142 return run_boundaries;
107143 }
◆ GetBeginComputed()
| bool duckdb::SortedRunMergePartition::GetBeginComputed |
( |
| ) |
const |
|
inline |
107145 {
107146 return begin_computed;
107147 }
◆ SetBeginComputed()
| void duckdb::SortedRunMergePartition::SetBeginComputed |
( |
| ) |
|
|
inline |
107149 {
107150 begin_computed = true;
107151 }
◆ VerifyLock()
| void duckdb::SortedRunMergePartition::VerifyLock |
( |
const unique_lock< mutex > & | guard | ) |
const |
|
inlineprivate |
107154 {
107155#ifdef D_ASSERT_IS_ENABLED
107157#endif
107158 }
bool RefersToSameObject(const reference< T > &a, const reference< T > &b)
Returns whether or not two reference wrappers refer to the same object.
Definition duckdb.hpp:2191
The documentation for this struct was generated from the following file: