#include <query_rest_task.h>
|
| QueryRestMysqlTask (mrs::database::MysqlTaskMonitor *task_monitor) |
|
void | execute_procedure_at_server (collector::CountedMySQLSession *session, const mysqlrouter::sqlstring &user_id, std::optional< std::string > user_ownership_column, const std::string &schema, const std::string &object, const std::string &url, const MysqlTaskOptions &task_options, const rapidjson::Document &doc, const ResultSets &rs) |
|
void | execute_procedure_at_router (CachedSession session, const mysqlrouter::sqlstring &user_id, std::optional< std::string > user_ownership_column, const std::string &schema, const std::string &object, const std::string &url, const MysqlTaskOptions &task_options, const rapidjson::Document &doc, const ResultSets &rs) |
|
void | execute_function_at_server (collector::CountedMySQLSession *session, const mysqlrouter::sqlstring &user_id, std::optional< std::string > user_ownership_column, const std::string &schema, const std::string &object, const std::string &url, const MysqlTaskOptions &task_options, const rapidjson::Document &doc, const ResultSets &rs) |
|
void | execute_function_at_router (CachedSession session, const mysqlrouter::sqlstring &user_id, std::optional< std::string > user_ownership_column, const std::string &schema, const std::string &object, const std::string &url, const MysqlTaskOptions &task_options, const rapidjson::Document &doc, const ResultSets &rs) |
|
const char * | get_sql_state () |
|
|
void | execute_at_router (CachedSession session, const mysqlrouter::sqlstring &user_id, std::optional< std::string > user_ownership_column, bool is_procedure, const std::string &schema, const std::string &object, const MysqlTaskOptions &task_options, const rapidjson::Document &doc, const ResultSets &rs) |
|
void | execute_at_server (collector::CountedMySQLSession *session, const mysqlrouter::sqlstring &user_id, std::optional< std::string > user_ownership_column, bool is_procedure, const std::string &schema, const std::string &object, const std::string &url, const MysqlTaskOptions &task_options, const rapidjson::Document &doc, const ResultSets &rs) |
|
mysqlrouter::sqlstring | build_procedure_call (const std::string &schema, const std::string &object, const mysqlrouter::sqlstring &user_id, std::optional< std::string > user_ownership_column, const ResultSets &rs, const rapidjson::Document &doc, std::list< std::string > *out_preamble, std::list< std::string > *out_postamble) |
|
mysqlrouter::sqlstring | build_function_call (const std::string &schema, const std::string &object, const mysqlrouter::sqlstring &user_id, std::optional< std::string > user_ownership_column, const ResultSets &rs, const rapidjson::Document &doc, std::list< std::string > *out_postamble) |
|
mysqlrouter::sqlstring | wrap_async_server_call (const std::string &schema, const mysqlrouter::sqlstring &user_id, const MysqlTaskOptions &task_options, mysqlrouter::sqlstring query, std::list< std::string > preamble, std::list< std::string > postamble) |
|
|
static std::list< std::string > | on_task_error (const std::exception &e, const std::string &task_id, const std::string &progress_event_name) |
|
◆ CachedSession
◆ MysqlTaskOptions
◆ ResultSets
◆ Row
◆ QueryRestMysqlTask()
◆ build_function_call()
mysqlrouter::sqlstring mrs::database::QueryRestMysqlTask::build_function_call |
( |
const std::string & |
schema, |
|
|
const std::string & |
object, |
|
|
const mysqlrouter::sqlstring & |
user_id, |
|
|
std::optional< std::string > |
user_ownership_column, |
|
|
const ResultSets & |
rs, |
|
|
const rapidjson::Document & |
doc, |
|
|
std::list< std::string > * |
out_postamble |
|
) |
| |
|
protected |
◆ build_procedure_call()
mysqlrouter::sqlstring mrs::database::QueryRestMysqlTask::build_procedure_call |
( |
const std::string & |
schema, |
|
|
const std::string & |
object, |
|
|
const mysqlrouter::sqlstring & |
user_id, |
|
|
std::optional< std::string > |
user_ownership_column, |
|
|
const ResultSets & |
rs, |
|
|
const rapidjson::Document & |
doc, |
|
|
std::list< std::string > * |
out_preamble, |
|
|
std::list< std::string > * |
out_postamble |
|
) |
| |
|
protected |
◆ execute_at_router()
void mrs::database::QueryRestMysqlTask::execute_at_router |
( |
CachedSession |
session, |
|
|
const mysqlrouter::sqlstring & |
user_id, |
|
|
std::optional< std::string > |
user_ownership_column, |
|
|
bool |
is_procedure, |
|
|
const std::string & |
schema, |
|
|
const std::string & |
object, |
|
|
const MysqlTaskOptions & |
task_options, |
|
|
const rapidjson::Document & |
doc, |
|
|
const ResultSets & |
rs |
|
) |
| |
|
protected |
◆ execute_at_server()
◆ execute_function_at_router()
void mrs::database::QueryRestMysqlTask::execute_function_at_router |
( |
CachedSession |
session, |
|
|
const mysqlrouter::sqlstring & |
user_id, |
|
|
std::optional< std::string > |
user_ownership_column, |
|
|
const std::string & |
schema, |
|
|
const std::string & |
object, |
|
|
const std::string & |
url, |
|
|
const MysqlTaskOptions & |
task_options, |
|
|
const rapidjson::Document & |
doc, |
|
|
const ResultSets & |
rs |
|
) |
| |
◆ execute_function_at_server()
◆ execute_procedure_at_router()
void mrs::database::QueryRestMysqlTask::execute_procedure_at_router |
( |
CachedSession |
session, |
|
|
const mysqlrouter::sqlstring & |
user_id, |
|
|
std::optional< std::string > |
user_ownership_column, |
|
|
const std::string & |
schema, |
|
|
const std::string & |
object, |
|
|
const std::string & |
url, |
|
|
const MysqlTaskOptions & |
task_options, |
|
|
const rapidjson::Document & |
doc, |
|
|
const ResultSets & |
rs |
|
) |
| |
◆ execute_procedure_at_server()
◆ get_sql_state()
const char * mrs::database::QueryRestMysqlTask::get_sql_state |
( |
| ) |
|
◆ kill_task()
◆ on_task_error()
std::list< std::string > mrs::database::QueryRestMysqlTask::on_task_error |
( |
const std::exception & |
e, |
|
|
const std::string & |
task_id, |
|
|
const std::string & |
progress_event_name |
|
) |
| |
|
staticprotected |
◆ wrap_async_server_call()
◆ items
uint64_t mrs::database::QueryRestMysqlTask::items |
◆ response
std::string mrs::database::QueryRestMysqlTask::response |
◆ task_monitor_
◆ url_
std::string mrs::database::QueryRestMysqlTask::url_ |
|
protected |
The documentation for this class was generated from the following files: