ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
Loading...
Searching...
No Matches
OldMMapHash Class Reference
Collaboration diagram for OldMMapHash:

Public Member Functions

void open (const std::string &path)
 ~OldMMapHash ()
unsigned long lookup (pg_uuid_t u) const
std::vector< std::pair< pg_uuid_t, unsigned long > > allEntries () const

Private Attributes

void * base_ = nullptr
size_t sz_ = 0
const OldTableHdrhdr_ = nullptr
const OldHashSlotslots_ = nullptr
unsigned long cap_ = 0

Detailed Description

Definition at line 156 of file provsql_migrate_mmap.cpp.

Constructor & Destructor Documentation

◆ ~OldMMapHash()

OldMMapHash::~OldMMapHash ( )
inline

Definition at line 176 of file provsql_migrate_mmap.cpp.

Member Function Documentation

◆ allEntries()

std::vector< std::pair< pg_uuid_t, unsigned long > > OldMMapHash::allEntries ( ) const
inline

Definition at line 188 of file provsql_migrate_mmap.cpp.

Here is the caller graph for this function:

◆ lookup()

unsigned long OldMMapHash::lookup ( pg_uuid_t u) const
inline

Definition at line 178 of file provsql_migrate_mmap.cpp.

Here is the caller graph for this function:

◆ open()

void OldMMapHash::open ( const std::string & path)
inline

Definition at line 163 of file provsql_migrate_mmap.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ base_

void* OldMMapHash::base_ = nullptr
private

Definition at line 157 of file provsql_migrate_mmap.cpp.

◆ cap_

unsigned long OldMMapHash::cap_ = 0
private

Definition at line 161 of file provsql_migrate_mmap.cpp.

◆ hdr_

const OldTableHdr* OldMMapHash::hdr_ = nullptr
private

Definition at line 159 of file provsql_migrate_mmap.cpp.

◆ slots_

const OldHashSlot* OldMMapHash::slots_ = nullptr
private

Definition at line 160 of file provsql_migrate_mmap.cpp.

◆ sz_

size_t OldMMapHash::sz_ = 0
private

Definition at line 158 of file provsql_migrate_mmap.cpp.


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