OmniSciDB  1dac507f6e
 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 "ColumnDescriptor.h"
#include "DashboardDescriptor.h"
#include "DictDescriptor.h"
#include "LinkDescriptor.h"
#include "TableDescriptor.h"
#include "../DataMgr/DataMgr.h"
#include "../QueryEngine/CompilationOptions.h"
#include "../SqliteConnector/SqliteConnector.h"
#include "LeafHostInfo.h"
#include "../Calcite/Calcite.h"
#include "../Shared/mapd_shared_mutex.h"
#include "SessionInfo.h"
#include "SysCatalog.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

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)))
 

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 68 of file Catalog.h.

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

#define SPIMAP_MAGIC2   8

Definition at line 69 of file Catalog.h.

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