31 struct StringDictionaryProxyTranslationMgr;
34 namespace Data_Namespace {
44 namespace StringFunctors {
45 enum StringFunctorType :
unsigned int;
50 const int32_t source_string_dict_id,
51 const int32_t dest_string_dict_id,
52 const bool translate_intersection_only,
53 const std::vector<StringOps_Namespace::StringOpInfo>& string_op_infos,
55 const int device_count,
58 const bool delay_translation);
63 llvm::Value*
codegen(llvm::Value* str_id_input,
65 const bool add_nullcheck,
69 const int32_t*
data()
const;
const Data_Namespace::MemoryLevel memory_level_
void buildTranslationMap()
StringDictionaryTranslationMgr(const int32_t source_string_dict_id, const int32_t dest_string_dict_id, const bool translate_intersection_only, const std::vector< StringOps_Namespace::StringOpInfo > &string_op_infos, const Data_Namespace::MemoryLevel memory_level, const int device_count, Executor *executor, Data_Namespace::DataMgr *data_mgr, const bool delay_translation)
~StringDictionaryTranslationMgr()
Data_Namespace::DataMgr * data_mgr_
const int32_t source_string_dict_id_
const bool has_null_string_op_
const int32_t dest_string_dict_id_
int32_t minSourceStringId() const
std::vector< const int32_t * > kernel_translation_maps_
const bool translate_intersection_only_
std::vector< Data_Namespace::AbstractBuffer * > device_buffers_
llvm::Value * codegen(llvm::Value *str_id_input, const SQLTypeInfo &input_ti, const bool add_nullcheck, const CompilationOptions &co) const
const int32_t * data() const
void createKernelBuffers()
const std::vector< StringOps_Namespace::StringOpInfo > string_op_infos_