OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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

Definition at line 55 of file SessionInfo.h.

55 {}

Member Function Documentation

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 4659 of file ParserNode.cpp.

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

4664  {
4665  auto col_descs = (*loader)->get_column_descs();
4666  for (auto cd : col_descs) {
4667  import_buffers->push_back(std::unique_ptr<Importer_NS::TypedImportBuffer>(
4668  new Importer_NS::TypedImportBuffer(cd, (*loader)->getStringDict(cd))));
4669  }
4670 }

+ Here is the caller graph for this function:


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