OmniSciDB  ba1bac9284
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ResultSetDefaultBuilder Class Reference

#include <ResultSetBuilder.h>

+ Inheritance diagram for ResultSetDefaultBuilder:
+ Collaboration diagram for ResultSetDefaultBuilder:

Public Member Functions

 ResultSetDefaultBuilder (const QueryMemoryDescriptor &query_mem_desc, const std::shared_ptr< RowSetMemoryOwner > row_set_mem_owner)
 
ResultSetbuild ()
 

Private Attributes

const QueryMemoryDescriptorquery_mem_desc
 
const std::shared_ptr
< RowSetMemoryOwner
row_set_mem_owner
 

Additional Inherited Members

- Protected Member Functions inherited from ResultSetBuilder
ResultSetmakeResultSet (const std::vector< TargetInfo > &targets, const ExecutorDeviceType device_type, const QueryMemoryDescriptor &query_mem_desc, const std::shared_ptr< RowSetMemoryOwner > row_set_mem_owner, const Executor *executor)
 
void addVarlenBuffer (ResultSet *result_set, std::vector< std::string > &varlen_storage)
 

Detailed Description

Definition at line 54 of file ResultSetBuilder.h.

Constructor & Destructor Documentation

ResultSetDefaultBuilder::ResultSetDefaultBuilder ( const QueryMemoryDescriptor query_mem_desc,
const std::shared_ptr< RowSetMemoryOwner row_set_mem_owner 
)

Definition at line 55 of file ResultSetBuilder.cpp.

58  : query_mem_desc(_query_mem_desc), row_set_mem_owner(_row_set_mem_owner) {}
const QueryMemoryDescriptor & query_mem_desc
const std::shared_ptr< RowSetMemoryOwner > row_set_mem_owner

Member Function Documentation

ResultSet * ResultSetDefaultBuilder::build ( )
virtual

Implements ResultSetBuilder.

Definition at line 60 of file ResultSetBuilder.cpp.

References CPU, ResultSetBuilder::makeResultSet(), query_mem_desc, and row_set_mem_owner.

60  {
61  ResultSet* st = ResultSetBuilder::makeResultSet(std::vector<TargetInfo>{},
65  nullptr);
66  return st;
67 }
ResultSet * makeResultSet(const std::vector< TargetInfo > &targets, const ExecutorDeviceType device_type, const QueryMemoryDescriptor &query_mem_desc, const std::shared_ptr< RowSetMemoryOwner > row_set_mem_owner, const Executor *executor)
const QueryMemoryDescriptor & query_mem_desc
const std::shared_ptr< RowSetMemoryOwner > row_set_mem_owner

+ Here is the call graph for this function:

Member Data Documentation

const QueryMemoryDescriptor& ResultSetDefaultBuilder::query_mem_desc
private

Definition at line 56 of file ResultSetBuilder.h.

Referenced by build().

const std::shared_ptr<RowSetMemoryOwner> ResultSetDefaultBuilder::row_set_mem_owner
private

Definition at line 57 of file ResultSetBuilder.h.

Referenced by build().


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