OmniSciDB  04ee39c94c
Catalog.cpp File Reference

Functions for database metadata access. More...

#include "Catalog.h"
#include <algorithm>
#include <cassert>
#include <exception>
#include <list>
#include <memory>
#include <random>
#include <sstream>
#include "SysCatalog.h"
#include "LockMgr/LockMgr.h"
#include "SharedDictionaryValidator.h"
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem.hpp>
#include <boost/range/adaptor/map.hpp>
#include <boost/version.hpp>
#include <boost/uuid/sha1.hpp>
#include "../QueryEngine/Execute.h"
#include "../QueryEngine/TableOptimizer.h"
#include "../Fragmenter/Fragmenter.h"
#include "../Fragmenter/SortedOrderFragmenter.h"
#include "../Parser/ParserNode.h"
#include "../Shared/File.h"
#include "../Shared/StringTransform.h"
#include "../Shared/measure.h"
#include "../StringDictionary/StringDictionaryClient.h"
#include "MapDRelease.h"
#include "RWLocks.h"
+ Include dependency graph for Catalog.cpp:

Go to the source code of this file.

Namespaces

 Catalog_Namespace
 
 Catalog_Namespace::anonymous_namespace{Catalog.cpp}
 

Typedefs

using Catalog_Namespace::cat_read_lock = read_lock< Catalog >
 
using Catalog_Namespace::cat_write_lock = write_lock< Catalog >
 
using Catalog_Namespace::cat_sqlite_lock = sqlite_lock< Catalog >
 

Functions

std::string Catalog_Namespace::anonymous_namespace{Catalog.cpp}::getUserFromId (const int32_t id)
 
const ColumnDescriptorCatalog_Namespace::anonymous_namespace{Catalog.cpp}::get_foreign_col (const Catalog &cat, const Parser::SharedDictionaryDef &shared_dict_def)
 

Variables

int g_test_against_columnId_gap = 0
 
bool g_cache_string_hash
 
const int Catalog_Namespace::DEFAULT_INITIAL_VERSION = 1
 
const int Catalog_Namespace::MAPD_TEMP_TABLE_START_ID
 
const int Catalog_Namespace::MAPD_TEMP_DICT_START_ID
 

Detailed Description

Functions for database metadata access.

Author
Todd Mostak todd@.nosp@m.map-.nosp@m.d.com, Wei Hong wei@m.nosp@m.ap-d.nosp@m..com Copyright (c) 2014 MapD Technologies, Inc. All rights reserved.

Definition in file Catalog.cpp.

Variable Documentation

◆ g_cache_string_hash

bool g_cache_string_hash

Definition at line 86 of file Execute.cpp.

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

◆ g_test_against_columnId_gap

int g_test_against_columnId_gap = 0

Definition at line 72 of file Catalog.cpp.

Referenced by Catalog_Namespace::Catalog::createTable(), and main().