OmniSciDB  5ade3759e0
MapDHandler.h File Reference
#include "LeafAggregator.h"
#include <thrift/concurrency/PlatformThreadFactory.h>
#include <thrift/concurrency/ThreadManager.h>
#include <thrift/protocol/TBinaryProtocol.h>
#include <thrift/protocol/TJSONProtocol.h>
#include <thrift/server/TThreadedServer.h>
#include <thrift/transport/TBufferTransports.h>
#include <thrift/transport/THttpServer.h>
#include <thrift/transport/TServerSocket.h>
#include "MapDRelease.h"
#include "Calcite/Calcite.h"
#include "Catalog/Catalog.h"
#include "Fragmenter/InsertOrderFragmenter.h"
#include "Import/Importer.h"
#include "LockMgr/LockMgr.h"
#include "Parser/ParserWrapper.h"
#include "Parser/ReservedKeywords.h"
#include "Parser/parser.h"
#include "Planner/Planner.h"
#include "QueryEngine/CalciteAdapter.h"
#include "QueryEngine/Descriptors/RelAlgExecutionDescriptor.h"
#include "QueryEngine/Execute.h"
#include "QueryEngine/ExtensionFunctionsWhitelist.h"
#include "QueryEngine/GpuMemUtils.h"
#include "QueryEngine/JsonAccessors.h"
#include "QueryEngine/TableGenerations.h"
#include "Shared/ConfigResolve.h"
#include "Shared/GenericTypeUtilities.h"
#include "Shared/Logger.h"
#include "Shared/MapDParameters.h"
#include "Shared/StringTransform.h"
#include "Shared/geosupport.h"
#include "Shared/mapd_shared_mutex.h"
#include "Shared/mapd_shared_ptr.h"
#include "Shared/measure.h"
#include "Shared/scope.h"
#include "StringDictionary/StringDictionaryClient.h"
#include "ThriftHandler/DistributedValidate.h"
#include <fcntl.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <atomic>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/algorithm/string/trim.hpp>
#include <boost/filesystem.hpp>
#include <boost/make_shared.hpp>
#include <boost/noncopyable.hpp>
#include <boost/none_t.hpp>
#include <boost/optional.hpp>
#include <boost/program_options.hpp>
#include <boost/regex.hpp>
#include <boost/tokenizer.hpp>
#include <cmath>
#include <csignal>
#include <fstream>
#include <list>
#include <map>
#include <memory>
#include <mutex>
#include <random>
#include <regex>
#include <string>
#include <thread>
#include <typeinfo>
#include <unordered_map>
#include "gen-cpp/MapD.h"
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MapDHandler
 
class  LogSession
 

Macros

#define LOG_SESSION(session, ...)   LogSession log_session(*this, session, __FILE__, __LINE__, __func__, ##__VA_ARGS__)
 

Typedefs

using SessionMap = std::map< TSessionId, std::shared_ptr< Catalog_Namespace::SessionInfo > >
 
using permissionFuncPtr = bool(*)(const AccessPrivileges &, const TDBObjectPermissions &)
 
using TableMap = std::map< std::string, bool >
 
using OptionalTableMap = boost::optional< TableMap & >
 

Enumerations

enum  GetTablesType { GET_PHYSICAL_TABLES_AND_VIEWS, GET_PHYSICAL_TABLES, GET_VIEWS }
 

Macro Definition Documentation

◆ LOG_SESSION

#define LOG_SESSION (   session,
  ... 
)    LogSession log_session(*this, session, __FILE__, __LINE__, __func__, ##__VA_ARGS__)

Definition at line 742 of file MapDHandler.h.

Referenced by MapDHandler::check_table_consistency(), MapDHandler::checkpoint(), MapDHandler::clear_cpu_memory(), MapDHandler::clear_gpu_memory(), MapDHandler::connect(), MapDHandler::create_dashboard(), MapDHandler::create_link(), MapDHandler::create_table(), MapDHandler::deallocate_df(), MapDHandler::delete_dashboard(), MapDHandler::detect_column_types(), MapDHandler::disconnect(), MapDHandler::get_all_files_in_archive(), MapDHandler::get_all_roles_for_user(), MapDHandler::get_completion_hints(), MapDHandler::get_dashboard(), MapDHandler::get_dashboard_grantees(), MapDHandler::get_dashboards(), MapDHandler::get_databases(), MapDHandler::get_db_object_privs(), MapDHandler::get_db_objects_for_grantee(), MapDHandler::get_first_geo_file_in_archive(), MapDHandler::get_hardware_info(), MapDHandler::get_heap_profile(), MapDHandler::get_internal_table_details(), MapDHandler::get_layers_in_geo_file(), MapDHandler::get_license_claims(), MapDHandler::get_link_view(), MapDHandler::get_memory(), MapDHandler::get_physical_tables(), MapDHandler::get_result_row_for_pixel(), MapDHandler::get_roles(), MapDHandler::get_server_status(), MapDHandler::get_session_info(), MapDHandler::get_status(), MapDHandler::get_table_details(), MapDHandler::get_table_epoch(), MapDHandler::get_table_epoch_by_name(), MapDHandler::get_tables(), MapDHandler::get_tables_meta(), MapDHandler::get_users(), MapDHandler::get_views(), MapDHandler::has_object_privilege(), MapDHandler::import_geo_table(), MapDHandler::import_table(), MapDHandler::import_table_status(), MapDHandler::insert_data(), MapDHandler::internal_connect(), MapDHandler::interrupt(), MapDHandler::load_table(), MapDHandler::load_table_binary(), MapDHandler::load_table_binary_arrow(), MapDHandler::load_table_binary_columnar(), MapDHandler::render_vega(), MapDHandler::replace_dashboard(), MapDHandler::set_execution_mode(), MapDHandler::set_license_key(), MapDHandler::set_table_epoch(), MapDHandler::set_table_epoch_by_name(), MapDHandler::share_dashboard(), MapDHandler::sql_execute(), MapDHandler::sql_execute_df(), MapDHandler::sql_execute_gdf(), MapDHandler::sql_validate(), MapDHandler::start_heap_profile(), MapDHandler::start_query(), MapDHandler::start_render_query(), MapDHandler::stop_heap_profile(), MapDHandler::switch_database(), and MapDHandler::unshare_dashboard().

Typedef Documentation

◆ OptionalTableMap

using OptionalTableMap = boost::optional<TableMap&>

Definition at line 118 of file MapDHandler.h.

◆ permissionFuncPtr

using permissionFuncPtr = bool (*)(const AccessPrivileges&, const TDBObjectPermissions&)

Definition at line 116 of file MapDHandler.h.

◆ SessionMap

using SessionMap = std::map<TSessionId, std::shared_ptr<Catalog_Namespace::SessionInfo> >

Definition at line 115 of file MapDHandler.h.

◆ TableMap

using TableMap = std::map<std::string, bool>

Definition at line 117 of file MapDHandler.h.

Enumeration Type Documentation

◆ GetTablesType

Enumerator
GET_PHYSICAL_TABLES_AND_VIEWS 
GET_PHYSICAL_TABLES 
GET_VIEWS 

Definition at line 110 of file MapDHandler.h.