36 return &(itr->second);
42 auto &pages = pageMap->fOnDiskPages;
43 fOnDiskPages.insert(std::make_move_iterator(pages.begin()), std::make_move_iterator(pages.end()));
44 pageMap->fOnDiskPages.clear();
45 fPageMaps.emplace_back(std::move(pageMap));
50 R__ASSERT(fClusterId == other.fClusterId);
52 auto &pages = other.fOnDiskPages;
53 fOnDiskPages.insert(std::make_move_iterator(pages.begin()), std::make_move_iterator(pages.end()));
54 other.fOnDiskPages.clear();
56 auto &columns = other.fAvailPhysicalColumns;
57 fAvailPhysicalColumns.insert(std::make_move_iterator(columns.begin()), std::make_move_iterator(columns.end()));
58 other.fAvailPhysicalColumns.clear();
59 std::move(other.fPageMaps.begin(), other.fPageMaps.end(), std::back_inserter(fPageMaps));
60 other.fPageMaps.clear();
65 fAvailPhysicalColumns.insert(physicalColumnId);
#define R__ASSERT(e)
Checks condition e and reports a fatal error if it's false.
An in-memory subset of the packed and compressed pages of a cluster.
void SetColumnAvailable(DescriptorId_t physicalColumnId)
Marks the column as complete; must be done for all columns, even empty ones without associated pages,...
std::unordered_map< ROnDiskPage::Key, ROnDiskPage > fOnDiskPages
Lookup table for the on-disk pages.
const ROnDiskPage * GetOnDiskPage(const ROnDiskPage::Key &key) const
void Adopt(std::unique_ptr< ROnDiskPageMap > pageMap)
Move the given page map into this cluster; for on-disk pages that are present in both the cluster at ...
~ROnDiskPageMapHeap() override
virtual ~ROnDiskPageMap()
A page as being stored on disk, that is packed and compressed.
std::uint64_t DescriptorId_t
Distriniguishes elements of the same type within a descriptor, e.g. different fields.
On-disk pages within a page source are identified by the column and page number.