taco-db  0.1.0
Classes | Namespaces | Functions | Variables
FileManager.h File Reference
#include "tdb.h"
#include <mutex>
#include "storage/BufferManager.h"
#include "storage/FSFile.h"
#include "utils/Latch.h"

Go to the source code of this file.

Classes

class  taco::PageHeaderData
 PageHeaderData defines the header of every virtual file data page. More...
 
class  taco::FileManager
 FileManager exposes a virtual file interface based on FSFile. More...
 
class  taco::File
 Represents an open virtual file managed by the FileManager. More...
 

Namespaces

 taco
 

Functions

void taco_fileman_readpage_impl (::taco::FileManager *fileman, ::taco::PageNumber pid, char *buf)
 
void __wrap_taco_fileman_readpage_impl (::taco::FileManager *fileman, ::taco::PageNumber pid, char *buf)
 
void __real_taco_fileman_readpage_impl (::taco::FileManager *fileman, ::taco::PageNumber pid, char *buf)
 
void taco_fileman_writepage_impl (::taco::FileManager *fileman, ::taco::PageNumber pid, const char *buf)
 
void __wrap_taco_fileman_writepage_impl (::taco::FileManager *fileman, ::taco::PageNumber pid, const char *buf)
 
void __real_taco_fileman_writepage_impl (::taco::FileManager *fileman, ::taco::PageNumber pid, const char *buf)
 

Variables

constexpr FileId taco::WAL_FILEID_MASK = ((FileId) 1) << 31
 
constexpr FileId taco::TMP_FILEID_MASK = ((FileId) 1) << 30
 
constexpr int taco::FileIdBits = 19
 
constexpr FileId taco::MinRegularFileId = 1
 
constexpr FileId taco::MaxRegularFileId = (((FileId) 1) << (FileIdBits + 1)) - 1
 
constexpr FileId taco::INVALID_FID = 0
 
constexpr FileId taco::NEW_REGULAR_FID = INVALID_FID
 
constexpr FileId taco::NEW_TMP_FID = TMP_FILEID_MASK
 

Function Documentation

◆ __real_taco_fileman_readpage_impl()

void __real_taco_fileman_readpage_impl ( ::taco::FileManager fileman,
::taco::PageNumber  pid,
char *  buf 
)

◆ __real_taco_fileman_writepage_impl()

void __real_taco_fileman_writepage_impl ( ::taco::FileManager fileman,
::taco::PageNumber  pid,
const char *  buf 
)

◆ __wrap_taco_fileman_readpage_impl()

void __wrap_taco_fileman_readpage_impl ( ::taco::FileManager fileman,
::taco::PageNumber  pid,
char *  buf 
)

◆ __wrap_taco_fileman_writepage_impl()

void __wrap_taco_fileman_writepage_impl ( ::taco::FileManager fileman,
::taco::PageNumber  pid,
const char *  buf 
)

◆ taco_fileman_readpage_impl()

void taco_fileman_readpage_impl ( ::taco::FileManager fileman,
::taco::PageNumber  pid,
char *  buf 
)

◆ taco_fileman_writepage_impl()

void taco_fileman_writepage_impl ( ::taco::FileManager fileman,
::taco::PageNumber  pid,
const char *  buf 
)