Class Catalog_Namespace::SessionInfo

class SessionInfo

Public Functions

SessionInfo(std::shared_ptr<Catalog> cat, const UserMetadata &user, const ExecutorDeviceType t, const std::string &sid)
SessionInfo(const SessionInfo &s)
Catalog &getCatalog() const
std::shared_ptr<Catalog> get_catalog_ptr() const
void set_catalog_ptr(std::shared_ptr<Catalog> c)
const UserMetadata &get_currentUser() const
const ExecutorDeviceType get_executor_device_type() const
void set_executor_device_type(ExecutorDeviceType t)
std::string get_session_id() const
time_t get_last_used_time() const
void update_last_used_time()
bool checkDBAccessPrivileges(const DBObjectType &permissionType, const AccessPrivileges &privs, const std::string &objectName = "") const
time_t get_start_time() const
std::string const &get_public_session_id() const
operator std::string() const
std::string const &get_connection_info() const
void set_connection_info(const std::string &connection)

Private Functions

std::string public_session_id() const

Private Members

std::shared_ptr<Catalog> catalog_
UserMetadata currentUser_
std::atomic<ExecutorDeviceType> executor_device_type_
const std::string session_id_
std::atomic<time_t> last_used_time_
std::atomic<time_t> start_time_
const std::string public_session_id_
std::string connection_info_