OmniSciDB  c0231cc57d
 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 116 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:117
std::string public_session_id
Definition: QueryState.h:120

Member Data Documentation

std::string query_state::SessionData::db_name

Definition at line 118 of file QueryState.h.

Referenced by query_state::operator<<().

std::string query_state::SessionData::public_session_id

Definition at line 120 of file QueryState.h.

Referenced by query_state::operator<<().

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

Definition at line 117 of file QueryState.h.

std::string query_state::SessionData::user_name

Definition at line 119 of file QueryState.h.

Referenced by query_state::operator<<().


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