![]() |
MySQL 9.3.0
Source Code Documentation
|
#include <query_changes_url_host.h>
Public Member Functions | |
QueryChangesUrlHost (const uint64_t last_audit_log_id) | |
void | query_entries (MySQLSession *session) override |
Fetch from database the list of all defined object/path entries. More... | |
![]() | |
QueryEntriesUrlHost () | |
virtual uint64_t | get_last_update () |
Private Member Functions | |
void | query_host_entries (MySQLSession *session, VectorOfEntries *out, const std::string &table_name, const entry::UniversalId id) |
std::string | build_query (const std::string &table_name, const entry::UniversalId id) |
Private Attributes | |
std::set< entry::UniversalId > | entries_fetched |
Additional Inherited Members | |
![]() | |
using | UrlHost = entry::UrlHost |
using | VectorOfEntries = std::vector< UrlHost > |
using | SupportedMrsMetadataVersion = mrs::interface::SupportedMrsMetadataVersion |
![]() | |
VectorOfEntries | entries |
![]() | |
using | MySQLSession = mysqlrouter::MySQLSession |
using | Row = MySQLSession::Row |
using | ResultRow = MySQLSession::ResultRow |
using | OnResultSetEnd = MySQLSession::OnResultSetEnd |
![]() | |
void | on_row (const ResultRow &r) override |
![]() | |
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::ResultRow > | query_one (MySQLSession *session) |
std::unique_ptr< MySQLSession::ResultRow > | query_one (MySQLSession *session, const std::string &q) |
virtual void | on_metadata (unsigned number, MYSQL_FIELD *fields) |
![]() | |
uint64_t | audit_log_id_ {0} |
![]() | |
mysqlrouter::sqlstring | query_ |
std::optional< std::string > | sqlstate_ |
MYSQL_FIELD * | metadata_ {nullptr} |
unsigned | num_of_metadata_ {0} |
mrs::database::QueryChangesUrlHost::QueryChangesUrlHost | ( | const uint64_t | last_audit_log_id | ) |
|
private |
|
overridevirtual |
Fetch from database the list of all defined object/path entries.
Except fetching the list, it also tries to fetch matching audit_log.id
.
Reimplemented from mrs::database::QueryEntriesUrlHost.
|
private |
|
private |