Zero  0.1.0
Public Member Functions | Public Attributes | List of all members
stnode_t Struct Reference

Persistent structure representing metadata for a store. More...

#include <stnode_page.h>

Public Member Functions

 stnode_t ()
 also okay to initialize via memset More...
 
bool is_used () const
 

Public Attributes

PageID root
 
extent_id_t last_extent
 
bool clustered
 

Detailed Description

Persistent structure representing metadata for a store.

These are contained in stnode_page's.

Constructor & Destructor Documentation

§ stnode_t()

stnode_t::stnode_t ( )
inline

also okay to initialize via memset

Member Function Documentation

§ is_used()

bool stnode_t::is_used ( ) const
inline

Member Data Documentation

§ clustered

bool stnode_t::clustered

Wheter this store is clustered, i.e., whether it has whole extents assigned exclusively to its pages.

§ last_extent

extent_id_t stnode_t::last_extent

If this store is clustered (see flag below), this keeps track of the last extent allocated to this store. If clustering is disabled globally, then the last (global) extent is stored in stnode 0 (see method set_last_extent)

§ root

PageID stnode_t::root

Root page ID of the store; 0 if the store is not allocated and 1 for the special store number 0, which is used to keep track of the last extent allocated which was not assigned to a specific store.


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