|
| bool | operator< (const ChunkReference &lhs, const ChunkReference &rhs) |
◆ ChunkReference()
116270 : segment(segment_p), chunk_index_in_segment(chunk_index_p) {
116271}
◆ GetMinimumBlockID()
| uint32_t duckdb::ChunkReference::GetMinimumBlockID |
( |
| ) |
const |
116273 {
116274 const auto &block_ids = segment->chunk_data[chunk_index_in_segment].block_ids;
116275 return *std::min_element(block_ids.begin(), block_ids.end());
116276}
◆ operator<
| bool operator< |
( |
const ChunkReference & | lhs, |
|
|
const ChunkReference & | rhs ) |
|
friend |
116204 {
116205
116206 if (lhs.segment->allocator.get() != rhs.segment->allocator.get()) {
116207 return lhs.segment->allocator.get() < rhs.segment->allocator.get();
116208 }
116209
116210 return lhs.GetMinimumBlockID() < rhs.GetMinimumBlockID();
116211 }
The documentation for this struct was generated from the following file: