#include <query_rest_table.h>
 | 
|   | 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) | 
|   | 
 | 
| void  | create_serializer () | 
|   | 
| void  | on_row (const ResultRow &r) override | 
|   | 
| 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) | 
|   | 
◆ Object
◆ ObjectField
◆ ObjectFieldFilter
◆ RowGroupOwnership
◆ RowUserOwnership
◆ UniversalId
◆ UserId
◆ VectorOfRowGroupOwnershp
◆ QueryRestTable() [1/2]
  
  
      
        
          | mrs::database::QueryRestTable::QueryRestTable  | 
          ( | 
          const JsonTemplateFactory *  | 
          factory = nullptr,  | 
         
        
           | 
           | 
          bool  | 
          encode_bigints_as_strings = false,  | 
         
        
           | 
           | 
          bool  | 
          include_links = true,  | 
         
        
           | 
           | 
          uint64_t  | 
          max_execution_time_ms = 0  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
explicit   | 
  
 
 
◆ QueryRestTable() [2/2]
  
  
      
        
          | mrs::database::QueryRestTable::QueryRestTable  | 
          ( | 
          bool  | 
          encode_bigints_as_strings,  | 
         
        
           | 
           | 
          bool  | 
          include_links,  | 
         
        
           | 
           | 
          uint64_t  | 
          max_execution_time_ms = 0  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
explicit   | 
  
 
 
◆ build_query()
◆ build_where() [1/2]
◆ build_where() [2/2]
◆ create_serializer()
  
  
      
        
          | void mrs::database::QueryRestTable::create_serializer  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ extend_where()
◆ on_metadata()
  
  
      
        
          | void mrs::database::QueryRestTable::on_metadata  | 
          ( | 
          unsigned  | 
          number,  | 
         
        
           | 
           | 
          MYSQL_FIELD *  | 
          fields  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
 
◆ on_row()
  
  
      
        
          | void mrs::database::QueryRestTable::on_row  | 
          ( | 
          const ResultRow &  | 
          r | ) | 
           | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
 
◆ query_entries()
  
  
      
        
          | void mrs::database::QueryRestTable::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  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
 
◆ columns_
◆ compute_etag_
  
  
      
        
          | bool mrs::database::QueryRestTable::compute_etag_ {false} | 
         
       
   | 
  
protected   | 
  
 
 
◆ config_
  
  
      
        
          | Config mrs::database::QueryRestTable::config_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ encode_bigints_as_strings_
  
  
      
        
          | bool mrs::database::QueryRestTable::encode_bigints_as_strings_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ factory_
◆ field_filter_
◆ include_links_
  
  
      
        
          | bool mrs::database::QueryRestTable::include_links_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ items
      
        
          | uint64_t mrs::database::QueryRestTable::items {0} | 
        
      
 
 
◆ max_execution_time_ms_
  
  
      
        
          | uint64_t mrs::database::QueryRestTable::max_execution_time_ms_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ metadata_received_
  
  
      
        
          | bool mrs::database::QueryRestTable::metadata_received_ {false} | 
         
       
   | 
  
protected   | 
  
 
 
◆ object_
  
  
      
        
          | std::shared_ptr<Object> mrs::database::QueryRestTable::object_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ response
      
        
          | std::string mrs::database::QueryRestTable::response | 
        
      
 
 
◆ serializer_
◆ where_
The documentation for this class was generated from the following files: