WiscDB
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
Public Attributes
wiscdb::IndexMetaInfo Struct Reference

The meta page, which holds metadata for Index file, is always first page of the btree index file and is cast to the following structure to store or retrieve information from it. Contains the relation name for which the index is created, the byte offset of the key value on which the index is made, the type of the key and the page no of the root page. Root page starts as page 2 but since a split can occur at the root the root page may get moved up and get a new page no. More...

#include <btree.h>

List of all members.

Public Attributes

char relationName [20]
int attrByteOffset
Datatype attrType
PageId rootPageNo

Detailed Description

The meta page, which holds metadata for Index file, is always first page of the btree index file and is cast to the following structure to store or retrieve information from it. Contains the relation name for which the index is created, the byte offset of the key value on which the index is made, the type of the key and the page no of the root page. Root page starts as page 2 but since a split can occur at the root the root page may get moved up and get a new page no.

Definition at line 137 of file btree.h.


Member Data Documentation

Offset of attribute, over which index is built, inside the record stored in pages.

Definition at line 146 of file btree.h.

Type of the attribute over which index is built.

Definition at line 151 of file btree.h.

Name of base relation.

Definition at line 141 of file btree.h.

Page number of root page of the B+ Tree inside the file index file.

Definition at line 156 of file btree.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends