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

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

#include <atomic>
#include <cstdint>
#include <ctime>
#include <limits>
#include <list>
#include <map>
#include <mutex>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#include "tbb/concurrent_hash_map.h"
#include "Grantee.h"
#include "ObjectRoleDescriptor.h"
#include "PkiServer.h"
#include "../DataMgr/DataMgr.h"
#include "../SqliteConnector/SqliteConnector.h"
#include "LeafHostInfo.h"
#include "../Calcite/Calcite.h"
#include "Shared/Restriction.h"
#include "Shared/mapd_shared_mutex.h"
+ Include dependency graph for SysCatalog.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Catalog_Namespace::UserMetadata
 
struct  Catalog_Namespace::DBMetadata
 
struct  Catalog_Namespace::DBSummary
 
class  Catalog_Namespace::CommonFileOperations
 
class  Catalog_Namespace::SysCatalog
 

Namespaces

 Catalog_Namespace
 

Typedefs

using Catalog_Namespace::DBSummaryList = std::list< DBSummary >
 

Variables

const std::string OMNISCI_SYSTEM_CATALOG = "omnisci_system_catalog"
 
const std::string OMNISCI_DEFAULT_DB = "omnisci"
 
const std::string OMNISCI_ROOT_USER = "admin"
 
const int OMNISCI_ROOT_USER_ID = 0
 
const std::string OMNISCI_ROOT_USER_ID_STR = "0"
 
const std::string OMNISCI_ROOT_PASSWD_DEFAULT = "HyperInteractive"
 
const int32_t OMNISCI_TEMPORARY_USER_ID_RANGE = 1000000000
 
std::string g_base_path
 

Detailed Description

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

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 SysCatalog class specification. The SysCatalog class is responsible for changning, accessing and caching file with global metadata: users, roles, privileges and databases.

Definition in file SysCatalog.h.

Variable Documentation

const std::string OMNISCI_ROOT_PASSWD_DEFAULT = "HyperInteractive"
inline
const std::string OMNISCI_ROOT_USER_ID_STR = "0"
inline

Definition at line 62 of file SysCatalog.h.

Referenced by Catalog_Namespace::SysCatalog::initDB().

const int32_t OMNISCI_TEMPORARY_USER_ID_RANGE = 1000000000
inline

Definition at line 64 of file SysCatalog.h.