OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Catalog.h File Reference

This file contains the class specification and related data structures for Catalog. More...

#include <atomic>
#include <cstdint>
#include <ctime>
#include <limits>
#include <list>
#include <map>
#include <mutex>
#include <string>
#include <utility>
#include <vector>
#include "Calcite/Calcite.h"
#include "Catalog/ColumnDescriptor.h"
#include "Catalog/DashboardDescriptor.h"
#include "Catalog/DictDescriptor.h"
#include "Catalog/ForeignServer.h"
#include "Catalog/ForeignTable.h"
#include "Catalog/LinkDescriptor.h"
#include "Catalog/SessionInfo.h"
#include "Catalog/SysCatalog.h"
#include "Catalog/TableDescriptor.h"
#include "Catalog/Types.h"
#include "DataMgr/DataMgr.h"
#include "QueryEngine/CompilationOptions.h"
#include "Shared/mapd_shared_mutex.h"
#include "SqliteConnector/SqliteConnector.h"
#include "LeafHostInfo.h"
+ Include dependency graph for Catalog.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Catalog_Namespace::TableEpochInfo
 
class  Catalog_Namespace::Catalog
 class for a per-database catalog. also includes metadata for the current database and the current user. More...
 

Namespaces

 Parser
 
 Catalog_Namespace
 

Macros

#define SPIMAP_MAGIC1   (std::numeric_limits<unsigned>::max() / 4)
 
#define SPIMAP_MAGIC2   8
 
#define SPIMAP_GEO_PHYSICAL_INPUT(c, i)   (SPIMAP_MAGIC1 + (unsigned)(SPIMAP_MAGIC2 * ((c) + 1) + (i)))
 

Enumerations

enum  GetTablesType { GET_PHYSICAL_TABLES_AND_VIEWS, GET_PHYSICAL_TABLES, GET_VIEWS }
 

Detailed Description

This file contains the class specification and related data structures for Catalog.

Author
Todd Mostak todd@.nosp@m.map-.nosp@m.d.com, Wei Hong wei@m.nosp@m.ap-d.nosp@m..com This file contains the Catalog class specification. The Catalog class is responsible for storing, accessing and caching metadata for a single database. A global metadata could be accessed with SysCatalog class.

Definition in file Catalog.h.

Macro Definition Documentation

#define SPIMAP_GEO_PHYSICAL_INPUT (   c,
 
)    (SPIMAP_MAGIC1 + (unsigned)(SPIMAP_MAGIC2 * ((c) + 1) + (i)))
#define SPIMAP_MAGIC1   (std::numeric_limits<unsigned>::max() / 4)

Definition at line 72 of file Catalog.h.

Referenced by Catalog_Namespace::Catalog::getColumnIdBySpiUnlocked().

#define SPIMAP_MAGIC2   8

Definition at line 73 of file Catalog.h.

Referenced by Catalog_Namespace::Catalog::getColumnIdBySpiUnlocked().

Enumeration Type Documentation

Enumerator
GET_PHYSICAL_TABLES_AND_VIEWS 
GET_PHYSICAL_TABLES 
GET_VIEWS 

Definition at line 60 of file Catalog.h.