Class StringDictionaryTranslationMgr

class StringDictionaryTranslationMgr

Public Functions

StringDictionaryTranslationMgr(const int32_t source_string_dict_id, const int32_t dest_string_dict_id, const bool translate_intersection_only, const Data_Namespace::MemoryLevel memory_level, const int device_count, Executor *executor, Data_Namespace::DataMgr *data_mgr)
~StringDictionaryTranslationMgr()
void buildTranslationMap()
void createKernelBuffers()
llvm::Value *codegenCast(llvm::Value *str_id_input, const SQLTypeInfo &input_ti, const bool add_nullcheck) const
bool isMapValid() const
const int32_t *data() const
int32_t minSourceStringId() const

Private Members

const int32_t source_string_dict_id_
const int32_t dest_string_dict_id_
const bool translate_intersection_only_
const Data_Namespace::MemoryLevel memory_level_
const int device_count_
Executor *executor_
Data_Namespace::DataMgr *data_mgr_
const StringDictionaryProxy::IdMap* host_translation_map_ StringDictionaryTranslationMgr::nullptr
std::vector<const int32_t *> kernel_translation_maps_
std::vector<Data_Namespace::AbstractBuffer *> device_buffers_