SwatDB
Public Attributes | List of all members
CatalogEntry Struct Reference

#include <catalog.h>

Collaboration diagram for CatalogEntry:
Collaboration graph
[legend]

Public Attributes

FileId file_id
 
std::string name
 
CatType entry_type
 
Schemaschema
 
Filefile
 
std::string file_name
 
bool valid
 
bool alloced
 

Detailed Description

Struct for an entry in the catalog. There is one entry for each relation and index in the system.

Member Data Documentation

◆ alloced

bool CatalogEntry::alloced

Set to true if this entry has been allocated for use.

◆ entry_type

CatType CatalogEntry::entry_type

The type of entry in the catalog (Relation or Index).

◆ file

File* CatalogEntry::file

A pointer to the SwatDB file object (e.g. HeapFile).

◆ file_id

FileId CatalogEntry::file_id

The entry's FileId used as a system-wide identifier for this relation or index.

◆ file_name

std::string CatalogEntry::file_name

The name of the underlying unix file for the file object.

◆ name

std::string CatalogEntry::name

The name of the index or relation.

◆ schema

Schema* CatalogEntry::schema

A pointer to the schema object of this entry.

◆ valid

bool CatalogEntry::valid

Set to true if this entry has valid contents.


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