#include <query_rest_table_single_row.h>
 | 
|   | QueryRestTableSingleRow (const JsonTemplateFactory *factory=nullptr, bool encode_bigints_as_string=false, const bool include_links=true, const RowLockType lock_rows=RowLockType::NONE, uint64_t max_execution_time_ms=0) | 
|   | 
| virtual void  | query_entry (MySQLSession *session, std::shared_ptr< database::entry::Object > object, const PrimaryKeyColumnValues &pk, const dv::ObjectFieldFilter &field_filter, const std::string &url_route, const ObjectRowOwnership &row_ownership, const FilterObjectGenerator &fog={}, const bool compute_etag=false, std::function< std::string()> commit={}, const bool fetch_any_owner=false) | 
|   | 
| bool  | is_owned () const | 
|   | 
|   | QueryRestTable (const JsonTemplateFactory *factory=nullptr, bool encode_bigints_as_strings=false, bool include_links=true, uint64_t max_execution_time_ms=0) | 
|   | 
|   | QueryRestTable (bool encode_bigints_as_strings, bool include_links, uint64_t max_execution_time_ms=0) | 
|   | 
| virtual void  | query_entries (MySQLSession *session, std::shared_ptr< database::entry::Object > object, const ObjectFieldFilter &field_filter, const uint64_t offset, const uint64_t limit, const std::string &url, const bool is_default_limit, const ObjectRowOwnership &row_ownership={}, const FilterObjectGenerator &fog={}, const bool compute_etag=false) | 
|   | 
 | 
| std::string  | response | 
|   | 
| uint64_t  | items {0} | 
|   | 
| using  | MySQLSession = mysqlrouter::MySQLSession | 
|   | 
| using  | Row = MySQLSession::Row | 
|   | 
| using  | ResultRow = MySQLSession::ResultRow | 
|   | 
| using  | OnResultSetEnd = MySQLSession::OnResultSetEnd | 
|   | 
| void  | create_serializer () | 
|   | 
| void  | on_metadata (unsigned number, MYSQL_FIELD *fields) override | 
|   | 
| const mysqlrouter::sqlstring &  | build_where (const ObjectRowOwnership &row_ownership) | 
|   | 
| const mysqlrouter::sqlstring &  | build_where (const RowUserOwnership &row_user, UserId *user_id, const std::vector< RowGroupOwnership > &row_groups, const std::set< UniversalId > &user_groups) | 
|   | 
| void  | build_query (const ObjectFieldFilter &field_filter, const uint64_t offset, const uint64_t limit, const std::string &url, const ObjectRowOwnership &row_ownership, const FilterObjectGenerator &fog) | 
|   | 
| void  | extend_where (mysqlrouter::sqlstring &where, const FilterObjectGenerator &fog) | 
|   | 
| 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) | 
|   | 
| Config  | config_ | 
|   | 
| std::vector< helper::Column >  | columns_ | 
|   | 
| std::shared_ptr< database::JsonTemplate >  | serializer_ | 
|   | 
| std::shared_ptr< Object >  | object_ | 
|   | 
| const ObjectFieldFilter *  | field_filter_ {nullptr} | 
|   | 
| bool  | compute_etag_ {false} | 
|   | 
| mysqlrouter::sqlstring  | where_ | 
|   | 
| bool  | metadata_received_ {false} | 
|   | 
| const JsonTemplateFactory *  | factory_ | 
|   | 
| bool  | encode_bigints_as_strings_ | 
|   | 
| bool  | include_links_ | 
|   | 
| uint64_t  | max_execution_time_ms_ | 
|   | 
| mysqlrouter::sqlstring  | query_ | 
|   | 
| std::optional< std::string >  | sqlstate_ | 
|   | 
| MYSQL_FIELD *  | metadata_ {nullptr} | 
|   | 
| unsigned  | num_of_metadata_ {0} | 
|   | 
◆ Object
◆ ObjectField
◆ ObjectFieldFilter
◆ PrimaryKeyColumnValues
◆ QueryRestTableSingleRow()
  
  
      
        
          | mrs::database::QueryRestTableSingleRow::QueryRestTableSingleRow  | 
          ( | 
          const JsonTemplateFactory *  | 
          factory = nullptr,  | 
         
        
           | 
           | 
          bool  | 
          encode_bigints_as_string = false,  | 
         
        
           | 
           | 
          const bool  | 
          include_links = true,  | 
         
        
           | 
           | 
          const RowLockType  | 
          lock_rows = RowLockType::NONE,  | 
         
        
           | 
           | 
          uint64_t  | 
          max_execution_time_ms = 0  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
explicit   | 
  
 
 
◆ build_query()
◆ is_owned()
  
  
      
        
          | bool mrs::database::QueryRestTableSingleRow::is_owned  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ make_short_response()
  
  
      
        
          | static std::string mrs::database::QueryRestTableSingleRow::make_short_response  | 
          ( | 
          const PrimaryKeyColumnValues &  | 
          pk,  | 
         
        
           | 
           | 
          const std::string &  | 
          response_gtid  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ on_row()
  
  
      
        
          | void mrs::database::QueryRestTableSingleRow::on_row  | 
          ( | 
          const ResultRow &  | 
          r | ) | 
           | 
         
       
   | 
  
overrideprivatevirtual   | 
  
 
 
◆ query_entry()
◆ commit_
  
  
      
        
          | std::function<std::string()> mrs::database::QueryRestTableSingleRow::commit_ | 
         
       
   | 
  
private   | 
  
 
 
◆ is_owned_
  
  
      
        
          | bool mrs::database::QueryRestTableSingleRow::is_owned_ = true | 
         
       
   | 
  
private   | 
  
 
 
◆ lock_rows_
The documentation for this class was generated from the following files: