SwatDB
|
#include <catalog.h>
Public Attributes | |
FileId | file_id |
std::string | name |
CatType | entry_type |
Schema * | schema |
File * | file |
std::string | file_name |
bool | valid |
bool | alloced |
Struct for an entry in the catalog. There is one entry for each relation and index in the system.
bool CatalogEntry::alloced |
Set to true if this entry has been allocated for use.
CatType CatalogEntry::entry_type |
The type of entry in the catalog (Relation or Index).
FileId CatalogEntry::file_id |
The entry's FileId used as a system-wide identifier for this relation or index.
std::string CatalogEntry::file_name |
The name of the underlying unix file for the file object.
std::string CatalogEntry::name |
The name of the index or relation.
Schema* CatalogEntry::schema |
A pointer to the schema object of this entry.
bool CatalogEntry::valid |
Set to true if this entry has valid contents.