OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StringDictionaryTranslationMgr.cpp File Reference
+ Include dependency graph for StringDictionaryTranslationMgr.cpp:

Go to the source code of this file.

Functions

bool one_or_more_string_ops_is_null (const std::vector< StringOps_Namespace::StringOpInfo > &string_op_infos)
 
 translate_intersection_only_ (true)
 
 output_ti_ (output_ti)
 
 string_op_infos_ (string_op_infos)
 
 has_null_string_op_ (one_or_more_string_ops_is_null(string_op_infos))
 
 memory_level_ (memory_level)
 
 device_count_ (device_count)
 
 executor_ (executor)
 
 data_mgr_ (data_mgr)
 
 dest_type_is_string_ (false)
 

Function Documentation

data_mgr_ ( data_mgr  )
dest_type_is_string_ ( false  )

Definition at line 104 of file StringDictionaryTranslationMgr.cpp.

References CHECK, CHECK_EQ, Data_Namespace::CPU_LEVEL, Data_Namespace::GPU_LEVEL, has_null_string_op_(), and memory_level_().

104  {
105 #ifdef HAVE_CUDA
107  memory_level == Data_Namespace::GPU_LEVEL);
108 #else
110 #endif // HAVE_CUDA
111  const auto& last_string_op_info = string_op_infos.back();
112  CHECK(!last_string_op_info.getReturnType().is_string());
113  if (!delay_translation && !has_null_string_op_) {
114  buildTranslationMap();
115  createKernelBuffers();
116  }
117 }
#define CHECK_EQ(x, y)
Definition: Logger.h:301
#define CHECK(condition)
Definition: Logger.h:291
has_null_string_op_(one_or_more_string_ops_is_null(string_op_infos))
memory_level_(memory_level)

+ Here is the call graph for this function:

device_count_ ( device_count  )
executor_ ( executor  )

Referenced by anonymous_namespace{BoundingBoxIntersectJoinHashTable.cpp}::BucketSizeTuner::computeBucketSizes(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::operator()(), and Executor::CgenStateManager::~CgenStateManager().

+ Here is the caller graph for this function:

has_null_string_op_ ( one_or_more_string_ops_is_null(string_op_infos)  )

Referenced by dest_type_is_string_().

+ Here is the caller graph for this function:

memory_level_ ( memory_level  )

Referenced by dest_type_is_string_().

+ Here is the caller graph for this function:

bool one_or_more_string_ops_is_null ( const std::vector< StringOps_Namespace::StringOpInfo > &  string_op_infos)

Definition at line 41 of file StringDictionaryTranslationMgr.cpp.

42  {
43  for (const auto& string_op_info : string_op_infos) {
44  if (string_op_info.hasNullLiteralArg()) {
45  return true;
46  }
47  }
48  return false;
49 }
output_ti_ ( output_ti  )
string_op_infos_ ( string_op_infos  )
translate_intersection_only_ ( true  )