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

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

#include <array>
#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/CustomExpression.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/TableMetadata.h"
#include "Catalog/Types.h"
#include "DataMgr/DataMgr.h"
#include "OSDependent/heavyai_locks.h"
#include "QueryEngine/CompilationOptions.h"
#include "Shared/heavyai_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

class  lockmgr::TableLockMgrImpl< T >
 
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

 lockmgr
 
 Parser
 
 File_Namespace
 
 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 }
 

Variables

static constexpr const char * Catalog_Namespace::USERS_SYS_TABLE_NAME {"users"}
 
static constexpr const char * Catalog_Namespace::TABLES_SYS_TABLE_NAME {"tables"}
 
static constexpr const char * Catalog_Namespace::DASHBOARDS_SYS_TABLE_NAME {"dashboards"}
 
static constexpr const char * Catalog_Namespace::DATABASES_SYS_TABLE_NAME {"databases"}
 
static constexpr const char * Catalog_Namespace::PERMISSIONS_SYS_TABLE_NAME {"permissions"}
 
static constexpr const char * Catalog_Namespace::ROLES_SYS_TABLE_NAME {"roles"}
 
static constexpr const char * Catalog_Namespace::ROLE_ASSIGNMENTS_SYS_TABLE_NAME {"role_assignments"}
 
static constexpr const char * Catalog_Namespace::MEMORY_SUMMARY_SYS_TABLE_NAME {"memory_summary"}
 
static constexpr const char * Catalog_Namespace::MEMORY_DETAILS_SYS_TABLE_NAME {"memory_details"}
 
static constexpr const char * Catalog_Namespace::STORAGE_DETAILS_SYS_TABLE_NAME {"storage_details"}
 
static constexpr const char * Catalog_Namespace::SERVER_LOGS_SYS_TABLE_NAME {"server_logs"}
 
static constexpr const char * Catalog_Namespace::REQUEST_LOGS_SYS_TABLE_NAME {"request_logs"}
 
static constexpr const char * Catalog_Namespace::WS_SERVER_LOGS_SYS_TABLE_NAME {"web_server_logs"}
 
static constexpr const char * Catalog_Namespace::WS_SERVER_ACCESS_LOGS_SYS_TABLE_NAME
 
static const std::array
< std::string, 4 > 
Catalog_Namespace::kAggregatorOnlySystemTables
 

Detailed Description

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

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

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

#define SPIMAP_MAGIC2   8

Definition at line 83 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 63 of file Catalog.h.