OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 121 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 55 of file QueryState.cpp.

58  , db_name(session_info->getCatalog().getCurrentDB().dbName)
59  , user_name(session_info->get_currentUser().userLoggable())
60  , public_session_id(session_info->get_public_session_id()) {}
std::weak_ptr< Catalog_Namespace::SessionInfo const > session_info
Definition: QueryState.h:122
std::string public_session_id
Definition: QueryState.h:125

Member Data Documentation

std::string query_state::SessionData::db_name

Definition at line 123 of file QueryState.h.

Referenced by query_state::operator<<().

std::string query_state::SessionData::public_session_id

Definition at line 125 of file QueryState.h.

Referenced by query_state::operator<<().

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

Definition at line 122 of file QueryState.h.

std::string query_state::SessionData::user_name

Definition at line 124 of file QueryState.h.

Referenced by query_state::operator<<().


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