OmniSciDB
a5dc49c757
|
#include <ResultSetBuilder.h>
Public Member Functions | |
ResultSetLogicalValuesBuilder (const std::vector< TargetInfo > &targets, const QueryMemoryDescriptor &query_mem_desc, const std::shared_ptr< RowSetMemoryOwner > row_set_mem_owner) | |
ResultSetLogicalValuesBuilder (const RelLogicalValues *logical_values, 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) | |
ResultSet * | build () override |
Static Public Member Functions | |
static ResultSet * | create (std::vector< TargetMetaInfo > &label_infos, std::vector< RelLogicalValues::RowValues > &logical_values) |
Private Attributes | |
const RelLogicalValues * | logical_values |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from ResultSetBuilder | |
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) |
void | addVarlenBuffer (ResultSet *result_set, std::vector< std::string > &varlen_storage) |
Definition at line 64 of file ResultSetBuilder.h.
ResultSetLogicalValuesBuilder::ResultSetLogicalValuesBuilder | ( | const std::vector< TargetInfo > & | targets, |
const QueryMemoryDescriptor & | query_mem_desc, | ||
const std::shared_ptr< RowSetMemoryOwner > | row_set_mem_owner | ||
) |
Definition at line 66 of file ResultSetBuilder.cpp.
References CPU.
Referenced by create().
ResultSetLogicalValuesBuilder::ResultSetLogicalValuesBuilder | ( | const RelLogicalValues * | logical_values, |
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 | ||
) |
Definition at line 77 of file ResultSetBuilder.cpp.
|
overridevirtual |
Implements ResultSetBuilder.
Definition at line 91 of file ResultSetBuilder.cpp.
References ResultSetBuilder::addVarlenBuffer(), CHECK, CHECK_EQ, CHECK_GE, device_type, executor, RelLogicalValues::getNumRows(), QueryMemoryDescriptor::getRowSize(), RelLogicalValues::getRowsSize(), RelLogicalValues::getValueAt(), RelLogicalValues::hasRows(), inline_int_null_val(), logical_values, ResultSetBuilder::makeResultSet(), query_mem_desc, row_set_mem_owner, RelLogicalValues::size(), targets, TRANSIENT_DICT_DB_ID, TRANSIENT_DICT_ID, and RelAlgTranslator::translateLiteral().
Referenced by create().
|
static |
Definition at line 171 of file ResultSetBuilder.cpp.
References QueryMemoryDescriptor::addColSlotInfo(), build(), CHECK_EQ, CPU, SQLTypeInfo::get_size(), Executor::getArenaBlockSize(), kENCODING_NONE, kSAMPLE, kTEXT, logical_values, heavyai::Projection, query_mem_desc, ResultSetLogicalValuesBuilder(), and row_set_mem_owner.
Referenced by ShowForeignServersCommand::execute(), ShowCreateServerCommand::execute(), ShowTablesCommand::execute(), ShowTableDetailsCommand::execute(), ShowDatabasesCommand::execute(), ShowFunctionsCommand::execute(), ShowRuntimeFunctionsCommand::execute(), ShowTableFunctionsCommand::execute(), ShowRuntimeTableFunctionsCommand::execute(), ShowModelsCommand::execute(), ShowModelDetailsCommand::execute(), ShowModelFeatureDetailsCommand::execute(), EvaluateModelCommand::execute(), ShowDiskCacheUsageCommand::execute(), ShowUserDetailsCommand::execute(), ShowRolesCommand::execute(), DBHandler::getQueries(), and DBHandler::getUserSessions().
|
private |
Definition at line 68 of file ResultSetBuilder.h.
Referenced by build().
|
private |
Definition at line 71 of file ResultSetBuilder.h.
Referenced by build().
|
private |
Definition at line 66 of file ResultSetBuilder.h.
|
private |
Definition at line 69 of file ResultSetBuilder.h.
|
private |
Definition at line 70 of file ResultSetBuilder.h.
|
private |
Definition at line 67 of file ResultSetBuilder.h.
Referenced by build().