taco-db  0.1.0
Public Attributes | List of all members
taco::PersistentCatCache::FileHandle Struct Reference

An opaque handle for a catalog file. More...

Public Attributes

FileId m_fid
 
std::unique_ptr< Tablem_table
 

Detailed Description

An opaque handle for a catalog file.

It must be automatically closed if it goes out of scope. In PersistentCatCache, we only keep a file ID, and we don't actually open the file, see ‘GetFirstPage()’ for explanation. This allows us to do nothing for closing the file.

Member Data Documentation

◆ m_fid

FileId taco::PersistentCatCache::FileHandle::m_fid

◆ m_table

std::unique_ptr<Table> taco::PersistentCatCache::FileHandle::m_table

The documentation for this struct was generated from the following file: