![]() |
MySQL 9.5.0
Source Code Documentation
|
#include <query_changes_content_file.h>
Public Member Functions | |
| QueryChangesContentFile (const uint64_t last_audit_log_id, const Version version) | |
| void | query_entries (MySQLSession *session) override |
Public Member Functions inherited from mrs::database::QueryEntriesContentFile | |
| QueryEntriesContentFile (const Version version) | |
| virtual uint64_t | get_last_update () |
Private Member Functions | |
| void | query_content_file_entries (MySQLSession *session, VectorOfPaths *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 | |
Public Types inherited from mrs::database::QueryEntriesContentFile | |
| using | VectorOfPaths = std::vector< database::entry::ContentFile > |
| using | Version = mrs::interface::SupportedMrsMetadataVersion |
Public Attributes inherited from mrs::database::QueryEntriesContentFile | |
| VectorOfPaths | entries |
Protected Types inherited from mrs::database::QueryRaw | |
| using | MySQLSession = mysqlrouter::MySQLSession |
| using | Row = MySQLSession::Row |
| using | ResultRow = MySQLSession::ResultRow |
| using | OnResultSetEnd = MySQLSession::OnResultSetEnd |
Protected Member Functions inherited from mrs::database::QueryEntriesContentFile | |
| void | on_row (const ResultRow &row) override |
Protected 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::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) |
Protected Attributes inherited from mrs::database::QueryEntriesContentFile | |
| uint64_t | audit_log_id_ |
| Version | version_ |
Protected Attributes inherited from mrs::database::QueryRaw | |
| mysqlrouter::sqlstring | query_ |
| std::optional< std::string > | sqlstate_ |
| MYSQL_FIELD * | metadata_ {nullptr} |
| unsigned | num_of_metadata_ {0} |
| mrs::database::QueryChangesContentFile::QueryChangesContentFile | ( | const uint64_t | last_audit_log_id, |
| const Version | version | ||
| ) |
|
private |
|
private |
|
overridevirtual |
Reimplemented from mrs::database::QueryEntriesContentFile.
|
private |