OmniSciDB  49c0524acb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
query_state::SessionData Struct Reference

#include <QueryState.h>

+ Collaboration diagram for query_state::SessionData:

Public Member Functions

 SessionData ()=default
 
 SessionData (std::shared_ptr< Catalog_Namespace::SessionInfo const > const &)
 

Public Attributes

std::weak_ptr
< Catalog_Namespace::SessionInfo
const > 
session_info
 
std::string db_name
 
std::string user_name
 
std::string public_session_id
 

Detailed Description

Definition at line 110 of file QueryState.h.

Constructor & Destructor Documentation

query_state::SessionData::SessionData ( )
default
query_state::SessionData::SessionData ( std::shared_ptr< Catalog_Namespace::SessionInfo const > const &  session_info)

Definition at line 44 of file QueryState.cpp.

47  , db_name(session_info->getCatalog().getCurrentDB().dbName)
48  , user_name(session_info->get_currentUser().userName)
49  , public_session_id(session_info->get_public_session_id()) {}
std::weak_ptr< Catalog_Namespace::SessionInfo const > session_info
Definition: QueryState.h:111
std::string public_session_id
Definition: QueryState.h:114

Member Data Documentation

std::string query_state::SessionData::db_name

Definition at line 112 of file QueryState.h.

std::string query_state::SessionData::public_session_id

Definition at line 114 of file QueryState.h.

std::weak_ptr<Catalog_Namespace::SessionInfo const> query_state::SessionData::session_info

Definition at line 111 of file QueryState.h.

std::string query_state::SessionData::user_name

Definition at line 113 of file QueryState.h.


The documentation for this struct was generated from the following files: