|
bool | empty () const |
|
void | process_to_one (const ForeignKeyReference &ref, JSONInputObject input) override |
|
std::shared_ptr< RowChangeOperation > | add_update_referenced_from_this (const ForeignKeyReference &fk, const PrimaryKeyColumnValues &pk) |
|
virtual std::shared_ptr< RowChangeOperation > | add_dummy_update_referenced_from_this (const ForeignKeyReference &fk, const PrimaryKeyColumnValues &pk) |
|
std::shared_ptr< RowChangeOperation > | add_update_referencing_this (const ForeignKeyReference &fk, const PrimaryKeyColumnValues &pk, bool error_if_not_found=true) |
|
std::shared_ptr< RowChangeOperation > | add_clear_all_referencing_this (const ForeignKeyReference &fk) |
|
std::shared_ptr< RowChangeOperation > | add_insert_referenced_from_this (const ForeignKeyReference &fk) |
|
std::shared_ptr< RowChangeOperation > | add_insert_referencing_this (const ForeignKeyReference &fk) |
|
std::shared_ptr< RowChangeOperation > | add_upsert_referencing_this (const ForeignKeyReference &fk) |
|
std::shared_ptr< RowDeleteReferencing > | add_delete_referencing_this (const ForeignKeyReference &fk, const PrimaryKeyColumnValues &pk) |
|
std::shared_ptr< RowDeleteReferencing > | add_delete_all_referencing_this (const ForeignKeyReference &fk) |
|
void | on_value (const Column &column, const JSONInputObject::MemberReference &value) override |
|
virtual void | on_value (const Column &column, const mysqlrouter::sqlstring &value) |
|
void | on_no_value (const Column &column, const JSONInputObject::MemberReference &) override |
|
virtual void | on_referenced_row (const ForeignKeyReference &fk, const JSONInputObject &input, std::optional< PrimaryKeyColumnValues > child_pk) |
|
void | on_referencing_row (const ForeignKeyReference &fk, std::shared_ptr< RowChangeOperation > ref_op) |
|
virtual void | set_column_sql_value (const Column &column, const mysqlrouter::sqlstring &value) |
|
void | set_column_value (const Column &column, const mysqlrouter::sqlstring &value) |
|
void | on_parent_pk_resolved (const PrimaryKeyColumnValues &parent_pk) override |
|
void | resolve_fk_to_parent (const ForeignKeyReference &fk, const PrimaryKeyColumnValues &parent_pk) |
|
| Operation (std::shared_ptr< Operation > parent, std::shared_ptr< Table > table, const ObjectRowOwnership &row_ownership) |
|
| Operation (std::shared_ptr< Operation > parent, std::shared_ptr< Table > table, const PrimaryKeyColumnValues &pk, const ObjectRowOwnership &row_ownership) |
|
virtual const PrimaryKeyColumnValues & | primary_key () const |
|
virtual void | run (MySQLSession *session)=0 |
|
const std::shared_ptr< Table > & | table () const |
|
std::shared_ptr< Operation > | parent () const |
|
bool | is_root () const |
|
size_t | affected () const |
|
virtual void | process (JSONInputObject input) |
|
virtual void | append_match_condition (mysqlrouter::sqlstring &sql) const |
|
virtual | ~QueryRaw ()=default |
|
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_row (const ResultRow &r) |
|
virtual void | on_metadata (unsigned number, MYSQL_FIELD *fields) |
|