OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 () override
 

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 52 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 52 of file ResultSetBuilder.cpp.

55  : 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 ( )
overridevirtual

Implements ResultSetBuilder.

Definition at line 57 of file ResultSetBuilder.cpp.

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

57  {
58  ResultSet* st = ResultSetBuilder::makeResultSet(std::vector<TargetInfo>{},
62  nullptr);
63  return st;
64 }
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 54 of file ResultSetBuilder.h.

Referenced by build().

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

Definition at line 55 of file ResultSetBuilder.h.

Referenced by build().


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