MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
mrs::database::QueryEntryGroupRowSecurity Class Reference

#include <query_entry_group_row_security.h>

Inheritance diagram for mrs::database::QueryEntryGroupRowSecurity:
[legend]

Public Types

using RowGroupsSecurity = std::vector< entry::RowGroupOwnership >
 
using MatchLevel = entry::RowGroupOwnership::MatchLevel
 

Public Member Functions

virtual bool query_group_row_security (MySQLSession *session, entry::UniversalId db_object_id)
 
virtual RowGroupsSecurityget_result ()
 

Private Member Functions

void on_row (const ResultRow &r) override
 
- Private Member Functions inherited from mrs::database::QueryRaw
virtual ~QueryRaw ()=default
 
virtual void execute (MySQLSession *session)
 
virtual void query (MySQLSession *session, const std::string &q)
 
virtual void prepare_and_execute (MySQLSession *session, const std::string &q, std::vector< MYSQL_BIND > pt, const OnResultSetEnd &on_resultset_end)
 
std::unique_ptr< MySQLSession::ResultRowquery_one (MySQLSession *session)
 
std::unique_ptr< MySQLSession::ResultRowquery_one (MySQLSession *session, const std::string &q)
 
virtual void on_metadata (unsigned number, MYSQL_FIELD *fields)
 

Private Attributes

std::vector< entry::RowGroupOwnership > row_group_security_
 
- Private Attributes inherited from mrs::database::QueryRaw
mysqlrouter::sqlstring query_
 
std::optional< std::string > sqlstate_
 
MYSQL_FIELDmetadata_ {nullptr}
 
unsigned num_of_metadata_ {0}
 

Additional Inherited Members

- Private Types inherited from mrs::database::QueryRaw
using MySQLSession = mysqlrouter::MySQLSession
 
using Row = MySQLSession::Row
 
using ResultRow = MySQLSession::ResultRow
 
using OnResultSetEnd = MySQLSession::OnResultSetEnd
 

Member Typedef Documentation

◆ MatchLevel

using mrs::database::QueryEntryGroupRowSecurity::MatchLevel = entry::RowGroupOwnership::MatchLevel

◆ RowGroupsSecurity

using mrs::database::QueryEntryGroupRowSecurity::RowGroupsSecurity = std::vector<entry::RowGroupOwnership>

Member Function Documentation

◆ get_result()

QueryEntryGroupRowSecurity::RowGroupsSecurity & mrs::database::QueryEntryGroupRowSecurity::get_result ( )
virtual

◆ on_row()

void mrs::database::QueryEntryGroupRowSecurity::on_row ( const ResultRow r)
overrideprivatevirtual

Reimplemented from mrs::database::QueryRaw.

◆ query_group_row_security()

bool mrs::database::QueryEntryGroupRowSecurity::query_group_row_security ( MySQLSession session,
entry::UniversalId  db_object_id 
)
virtual

Member Data Documentation

◆ row_group_security_

std::vector<entry::RowGroupOwnership> mrs::database::QueryEntryGroupRowSecurity::row_group_security_
private

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