OmniSciDB  c07336695a
Catalog_Namespace::MapDHandler Class Reference

#include <SessionInfo.h>

Public Member Functions

virtual void prepare_columnar_loader (const std::string &session, const std::string &table_name, size_t num_cols, std::unique_ptr< Importer_NS::Loader > *loader, std::vector< std::unique_ptr< Importer_NS::TypedImportBuffer >> *import_buffers)
 
virtual ~MapDHandler ()
 

Detailed Description

Definition at line 47 of file SessionInfo.h.

Constructor & Destructor Documentation

◆ ~MapDHandler()

virtual Catalog_Namespace::MapDHandler::~MapDHandler ( )
inlinevirtual

Definition at line 55 of file SessionInfo.h.

55 {}

Member Function Documentation

◆ prepare_columnar_loader()

void MapDHandler::prepare_columnar_loader ( const std::string &  session,
const std::string &  table_name,
size_t  num_cols,
std::unique_ptr< Importer_NS::Loader > *  loader,
std::vector< std::unique_ptr< Importer_NS::TypedImportBuffer >> *  import_buffers 
)
virtual

Definition at line 4548 of file ParserNode.cpp.

Referenced by Parser::AddColumnStmt::execute().

4553  {
4554  auto col_descs = (*loader)->get_column_descs();
4555  for (auto cd : col_descs) {
4556  import_buffers->push_back(std::unique_ptr<Importer_NS::TypedImportBuffer>(
4557  new Importer_NS::TypedImportBuffer(cd, (*loader)->getStringDict(cd))));
4558  }
4559 }
+ Here is the caller graph for this function:

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