OmniSciDB  eee9fa949c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ResultSet.cpp File Reference

Basic constructors and methods of the row set interface. More...

#include "ResultSet.h"
#include "Allocators/CudaAllocator.h"
#include "DataMgr/BufferMgr/BufferMgr.h"
#include "Execute.h"
#include "GpuMemUtils.h"
#include "InPlaceSort.h"
#include "OutputBufferInitialization.h"
#include "RuntimeFunctions.h"
#include "Shared/SqlTypesLayout.h"
#include "Shared/checked_alloc.h"
#include "Shared/likely.h"
#include "Shared/thread_count.h"
#include <algorithm>
#include <bitset>
#include <future>
#include <numeric>
+ Include dependency graph for ResultSet.cpp:

Go to the source code of this file.

Functions

bool can_use_parallel_algorithms (const ResultSet &rows)
 
bool use_parallel_algorithms (const ResultSet &rows)
 

Detailed Description

Basic constructors and methods of the row set interface.

Author
Alex Suhan alex@.nosp@m.mapd.nosp@m..com Copyright (c) 2014 MapD Technologies, Inc. All rights reserved.

Definition in file ResultSet.cpp.

Function Documentation

bool can_use_parallel_algorithms ( const ResultSet rows)

Definition at line 870 of file ResultSet.cpp.

Referenced by anonymous_namespace{RelAlgTranslator.cpp}::get_in_values_expr(), RelAlgTranslator::getInIntegerSetExpr(), and use_parallel_algorithms().

870  {
871  return !rows.isTruncated();
872 }

+ Here is the caller graph for this function:

bool use_parallel_algorithms ( const ResultSet rows)

Definition at line 874 of file ResultSet.cpp.

References can_use_parallel_algorithms().

Referenced by ColumnarResults::materializeAllLazyColumns(), and anonymous_namespace{InputMetadata.cpp}::synthesize_metadata().

874  {
875  return can_use_parallel_algorithms(rows) && rows.entryCount() >= 20000;
876 }
bool can_use_parallel_algorithms(const ResultSet &rows)
Definition: ResultSet.cpp:870

+ Here is the call graph for this function:

+ Here is the caller graph for this function: