26#ifndef ROUTER_SRC_MYSQL_REST_SERVICE_SRC_MRS_DATABASE_JSON_MAPPER_VIEW_UPDATE_H_ 
   27#define ROUTER_SRC_MYSQL_REST_SERVICE_SRC_MRS_DATABASE_JSON_MAPPER_VIEW_UPDATE_H_ 
   29#ifdef RAPIDJSON_NO_SIZETYPEDEFINE 
   33#include <rapidjson/document.h> 
   62                std::shared_ptr<Table> 
table,
 
   91      std::optional<PrimaryKeyColumnValues> child_pk) 
override;
 
  102            std::shared_ptr<Table> 
table,
 
  116                       std::shared_ptr<Table> 
table,
 
  128                      std::shared_ptr<Table> 
table,
 
  141                     std::shared_ptr<Table> 
table,
 
  158    std::shared_ptr<JsonMappingUpdater::Operation> parent,
 
  163    std::shared_ptr<JsonMappingUpdater::Operation> parent,
 
  168    std::shared_ptr<JsonMappingUpdater::Operation> parent,
 
Definition: object_row_ownership.h:45
 
MySQLSession::ResultRow ResultRow
Definition: query.h:41
 
std::shared_ptr< Operation > parent() const
Definition: change.h:82
 
const std::shared_ptr< Table > & table() const
Definition: change.h:80
 
RowNoUpdateOrError(std::shared_ptr< JsonMappingUpdater::Operation > parent, std::shared_ptr< Table > table, const PrimaryKeyColumnValues &pk, const ObjectRowOwnership &row_ownership)
Definition: update.h:140
 
mysqlrouter::sqlstring update_sql() const
Definition: update.cc:322
 
bool input_matches_row_
Definition: update.h:154
 
void do_update(MySQLSession *session) override
Definition: update.cc:336
 
void on_row(const ResultRow &r) override
Definition: update.cc:347
 
void do_update(MySQLSession *session) override
Definition: update.h:134
 
RowNoUpdateOrIgnore(std::shared_ptr< JsonMappingUpdater::Operation > parent, std::shared_ptr< Table > table, const PrimaryKeyColumnValues &pk, const ObjectRowOwnership &row_ownership)
Definition: update.h:127
 
void process_to_many(const ForeignKeyReference &fk, JSONInputArray input) override
Definition: update.cc:60
 
virtual void do_update(MySQLSession *session)=0
 
void run(MySQLSession *session) override
Definition: update.cc:48
 
RowUpdateBase(std::shared_ptr< JsonMappingUpdater::Operation > parent, std::shared_ptr< Table > table, const PrimaryKeyColumnValues &pk, const ObjectRowOwnership &row_ownership)
Definition: update.cc:35
 
RowUpdateReferencing(std::shared_ptr< JsonMappingUpdater::Operation > parent, std::shared_ptr< Table > table, const ObjectRowOwnership &row_ownership)
Definition: update.cc:283
 
mysqlrouter::sqlstring update_sql() const
Definition: update.cc:293
 
void do_update(MySQLSession *session) override
Definition: update.cc:288
 
bool feed_columns(mysqlrouter::sqlstring &sql, bool is_null, const char *separator) const
Definition: update.cc:240
 
void set_error_if_not_found(bool flag)
Definition: update.h:93
 
mysqlrouter::sqlstring update_sql() const
Definition: update.cc:268
 
void on_value(const Column &column, const JSONInputObject::MemberReference &value) override
Definition: update.cc:207
 
void on_no_value(const Column &column, const JSONInputObject::MemberReference &) override
Definition: update.cc:232
 
void on_referenced_row(const ForeignKeyReference &fk, const JSONInputObject &input, std::optional< PrimaryKeyColumnValues > child_pk) override
Definition: update.cc:157
 
void do_update(MySQLSession *session) override
Definition: update.cc:144
 
RowUpdate(std::shared_ptr< JsonMappingUpdater::Operation > parent, std::shared_ptr< Table > table, const PrimaryKeyColumnValues &pk, const ObjectRowOwnership &row_ownership)
Definition: update.cc:128
 
bool error_if_not_found_
Definition: update.h:108
 
RowUpdate(std::shared_ptr< JsonMappingUpdater::Operation > parent, std::shared_ptr< Table > table, const ObjectRowOwnership &row_ownership)
Definition: update.h:101
 
Definition: mysql_session.h:157
 
Definition: utils_sqlstring.h:67
 
static int flag
Definition: hp_test1.cc:40
 
static const char separator
Definition: item_func.cc:4517
 
Define rapidjson::SizeType to be std::uint64_t.
 
static PFS_engine_table_share_proxy table
Definition: pfs.cc:61
 
entry::ForeignKeyReference ForeignKeyReference
Definition: select.h:54
 
entry::Column Column
Definition: select.h:53
 
std::shared_ptr< RowNoUpdateOrError > make_row_no_update_or_error(std::shared_ptr< JsonMappingUpdater::Operation > parent, std::shared_ptr< Table > table, const PrimaryKeyColumnValues &pk, const ObjectRowOwnership &row_ownership)
Definition: update.cc:366
 
std::shared_ptr< RowUpdate > make_row_update(std::shared_ptr< JsonMappingUpdater::Operation > parent, std::shared_ptr< Table > table, const PrimaryKeyColumnValues &pk, const ObjectRowOwnership &row_ownership)
Definition: update.cc:351
 
std::shared_ptr< RowNoUpdateOrIgnore > make_row_no_update_or_ignore(std::shared_ptr< JsonMappingUpdater::Operation > parent, std::shared_ptr< Table > table, const PrimaryKeyColumnValues &pk, const ObjectRowOwnership &row_ownership)
Definition: update.cc:358
 
ValueType value(const std::optional< ValueType > &v)
Definition: gtid.h:83
 
std::map< std::string, mysqlrouter::sqlstring > PrimaryKeyColumnValues
Definition: select.h:43
 
Definition: authorize_manager.h:48
 
bool is_null(poly_thread thread, poly_value value)
Definition: jit_executor_type_conversion.cc:46
 
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86