OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MapDRenderHandler Class Reference

#include <MapDRenderHandler.h>

Public Member Functions

 ~MapDRenderHandler ()
 

Private Member Functions

 MapDRenderHandler (MapDHandler *mapd_handler, const size_t render_mem_bytes, const int num_gpus, const int start_gpu, const MapDParameters mapd_parameters)
 
void disconnect (const TSessionId &session)
 
void render_vega (TRenderResult &_return, const std::shared_ptr< Catalog_Namespace::SessionInfo > session_info, const int64_t widget_id, const std::string &vega_json, const int32_t compression_level, const std::string &nonce)
 
void start_render_query (TPendingRenderQuery &_return, const TSessionId &session, const int64_t widget_id, const int16_t node_idx, const std::string &vega_json)
 
void execute_next_render_step (TRenderStepResult &_return, const TPendingRenderQuery &pending_render, const TRenderAggDataMap &merged_data)
 
void get_result_row_for_pixel (TPixelTableRowResult &_return, const std::shared_ptr< Catalog_Namespace::SessionInfo > session_info, const int64_t widget_id, const TPixel &pixel, const std::map< std::string, std::vector< std::string >> &table_col_names, const bool column_format, const int32_t pixelRadius, const std::string &nonce)
 
void clear_gpu_memory ()
 
void clear_cpu_memory ()
 
::QueryRenderer::QueryRenderManager * get_render_manager ()
 
void handle_ddl (Parser::DDLStmt *)
 
void shutdown ()
 

Static Private Member Functions

static std::string dump_table_col_names (const std::map< std::string, std::vector< std::string >> &table_col_names)
 

Friends

class MapDHandler
 

Detailed Description

Definition at line 30 of file MapDRenderHandler.h.

Constructor & Destructor Documentation

MapDRenderHandler::~MapDRenderHandler ( )
inline

Definition at line 32 of file MapDRenderHandler.h.

32 {}
MapDRenderHandler::MapDRenderHandler ( MapDHandler mapd_handler,
const size_t  render_mem_bytes,
const int  num_gpus,
const int  start_gpu,
const MapDParameters  mapd_parameters 
)
inlineprivate

Definition at line 35 of file MapDRenderHandler.h.

39  {
40  throw std::runtime_error(
41  "Rendering is only supported in the Enterprise and Community Editions");
42  }

Member Function Documentation

void MapDRenderHandler::clear_cpu_memory ( )
inlineprivate

Definition at line 88 of file MapDRenderHandler.h.

References CHECK().

88 { CHECK(false); }
CHECK(cgen_state)

+ Here is the call graph for this function:

void MapDRenderHandler::clear_gpu_memory ( )
inlineprivate

Definition at line 87 of file MapDRenderHandler.h.

References CHECK().

87 { CHECK(false); }
CHECK(cgen_state)

+ Here is the call graph for this function:

void MapDRenderHandler::disconnect ( const TSessionId &  session)
inlineprivate

Definition at line 44 of file MapDRenderHandler.h.

44 {}
static std::string MapDRenderHandler::dump_table_col_names ( const std::map< std::string, std::vector< std::string >> &  table_col_names)
inlinestaticprivate

Definition at line 69 of file MapDRenderHandler.h.

References CHECK().

Referenced by MapDHandler::get_result_row_for_pixel().

70  {
71  CHECK(false);
72  return "";
73  }
CHECK(cgen_state)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void MapDRenderHandler::execute_next_render_step ( TRenderStepResult &  _return,
const TPendingRenderQuery &  pending_render,
const TRenderAggDataMap &  merged_data 
)
inlineprivate

Definition at line 63 of file MapDRenderHandler.h.

References CHECK().

65  {
66  CHECK(false);
67  }
CHECK(cgen_state)

+ Here is the call graph for this function:

::QueryRenderer::QueryRenderManager* MapDRenderHandler::get_render_manager ( )
inlineprivate

Definition at line 90 of file MapDRenderHandler.h.

References CHECK().

90  {
91  CHECK(false);
92  return nullptr;
93  }
CHECK(cgen_state)

+ Here is the call graph for this function:

void MapDRenderHandler::get_result_row_for_pixel ( TPixelTableRowResult &  _return,
const std::shared_ptr< Catalog_Namespace::SessionInfo session_info,
const int64_t  widget_id,
const TPixel &  pixel,
const std::map< std::string, std::vector< std::string >> &  table_col_names,
const bool  column_format,
const int32_t  pixelRadius,
const std::string &  nonce 
)
inlineprivate

Definition at line 75 of file MapDRenderHandler.h.

References CHECK().

83  {
84  CHECK(false);
85  }
CHECK(cgen_state)

+ Here is the call graph for this function:

void MapDRenderHandler::handle_ddl ( Parser::DDLStmt )
inlineprivate

Definition at line 95 of file MapDRenderHandler.h.

References CHECK().

95 { CHECK(false); }
CHECK(cgen_state)

+ Here is the call graph for this function:

void MapDRenderHandler::render_vega ( TRenderResult &  _return,
const std::shared_ptr< Catalog_Namespace::SessionInfo session_info,
const int64_t  widget_id,
const std::string &  vega_json,
const int32_t  compression_level,
const std::string &  nonce 
)
inlineprivate

Definition at line 46 of file MapDRenderHandler.h.

References CHECK().

51  {
52  CHECK(false);
53  }
CHECK(cgen_state)

+ Here is the call graph for this function:

void MapDRenderHandler::shutdown ( )
inlineprivate

Definition at line 96 of file MapDRenderHandler.h.

References CHECK().

96 { CHECK(false); }
CHECK(cgen_state)

+ Here is the call graph for this function:

void MapDRenderHandler::start_render_query ( TPendingRenderQuery &  _return,
const TSessionId &  session,
const int64_t  widget_id,
const int16_t  node_idx,
const std::string &  vega_json 
)
inlineprivate

Definition at line 55 of file MapDRenderHandler.h.

References CHECK().

59  {
60  CHECK(false);
61  }
CHECK(cgen_state)

+ Here is the call graph for this function:

Friends And Related Function Documentation

friend class MapDHandler
friend

Definition at line 98 of file MapDRenderHandler.h.


The documentation for this class was generated from the following file: