#include <heavydbTypes.h>
|
std::string | getString (int32_t db_id, int32_t dict_id, int32_t string_id) |
|
int32_t | getDictDbId (const char *func_name, size_t arg_idx) |
|
int32_t | getDictId (const char *func_name, size_t arg_idx) |
|
int32_t | getOrAddTransient (int32_t db_id, int32_t dict_id, std::string str) |
|
int8_t * | makeBuffer (int64_t element_count, int64_t element_size) |
|
| RowFunctionManager (const Executor *executor, const RelAlgExecutionUnit &ra_exe_unit) |
|
std::string | getString (int32_t db_id, int32_t dict_id, int32_t string_id) |
|
int32_t | getDictDbId (const std::string &func_name, size_t arg_idx) |
|
int32_t | getDictId (const std::string &func_name, size_t arg_idx) |
|
int32_t | getOrAddTransient (int32_t db_id, int32_t dict_id, std::string str) |
|
int8_t * | getStringDictionaryProxy (int32_t db_id, int32_t dict_id) |
|
int8_t * | makeBuffer (int64_t element_count, int64_t element_size) |
|
Definition at line 298 of file heavydbTypes.h.
Definition at line 59 of file RowFunctionManager.h.
const Executor * executor_
const RelAlgExecutionUnit & ra_exe_unit_
int32_t RowFunctionManager::getDictDbId |
( |
const std::string & |
func_name, |
|
|
size_t |
arg_idx |
|
) |
| |
|
inline |
Definition at line 68 of file RowFunctionManager.h.
References CHECK, CHECK_LT, anonymous_namespace{RowFunctionManager.h}::drop_suffix_impl(), anonymous_namespace{RowFunctionManager.h}::find_function_oper(), Analyzer::Expr::get_type_info(), Analyzer::FunctionOper::getArg(), Analyzer::FunctionOper::getArity(), ra_exe_unit_, RelAlgExecutionUnit::target_exprs, and UNREACHABLE.
69 std::string func_name_wo_suffix =
78 CHECK(typ.is_text_encoding_dict() || typ.is_text_encoding_dict_array());
79 return typ.getStringDictKey().db_id;
std::vector< Analyzer::Expr * > target_exprs
std::string drop_suffix_impl(const std::string &str)
std::list< const Analyzer::Expr * > find_function_oper(const Analyzer::Expr *expr, const std::string &func_name_wo_suffix)
const SQLTypeInfo & get_type_info() const
const Analyzer::Expr * getArg(const size_t i) const
const RelAlgExecutionUnit & ra_exe_unit_
int32_t RowFunctionManager::getDictDbId |
( |
const char * |
func_name, |
|
|
size_t |
arg_idx |
|
) |
| |
|
inline |
Definition at line 304 of file heavydbTypes.h.
References RowFunctionManager_getDictDbId().
306 reinterpret_cast<int8_t*>(
this), func_name, arg_idx);
EXTENSION_NOINLINE_HOST int32_t RowFunctionManager_getDictDbId(int8_t *mgr_ptr, const char *func_name, size_t arg_idx)
int32_t RowFunctionManager::getDictId |
( |
const std::string & |
func_name, |
|
|
size_t |
arg_idx |
|
) |
| |
|
inline |
Definition at line 86 of file RowFunctionManager.h.
References CHECK, CHECK_LT, anonymous_namespace{RowFunctionManager.h}::drop_suffix_impl(), anonymous_namespace{RowFunctionManager.h}::find_function_oper(), Analyzer::Expr::get_type_info(), Analyzer::FunctionOper::getArg(), Analyzer::FunctionOper::getArity(), ra_exe_unit_, RelAlgExecutionUnit::target_exprs, and UNREACHABLE.
87 std::string func_name_wo_suffix =
96 CHECK(typ.is_text_encoding_dict() || typ.is_text_encoding_dict_array());
97 return typ.getStringDictKey().dict_id;
std::vector< Analyzer::Expr * > target_exprs
std::string drop_suffix_impl(const std::string &str)
std::list< const Analyzer::Expr * > find_function_oper(const Analyzer::Expr *expr, const std::string &func_name_wo_suffix)
const SQLTypeInfo & get_type_info() const
const Analyzer::Expr * getArg(const size_t i) const
const RelAlgExecutionUnit & ra_exe_unit_
int32_t RowFunctionManager::getDictId |
( |
const char * |
func_name, |
|
|
size_t |
arg_idx |
|
) |
| |
|
inline |
Definition at line 309 of file heavydbTypes.h.
References RowFunctionManager_getDictId().
311 reinterpret_cast<int8_t*>(
this), func_name, arg_idx);
EXTENSION_NOINLINE_HOST int32_t RowFunctionManager_getDictId(int8_t *mgr_ptr, const char *func_name, size_t arg_idx)
int32_t RowFunctionManager::getOrAddTransient |
( |
int32_t |
db_id, |
|
|
int32_t |
dict_id, |
|
|
std::string |
str |
|
) |
| |
|
inline |
Definition at line 104 of file RowFunctionManager.h.
References executor_.
105 const auto proxy =
executor_->getStringDictionaryProxy(
106 {db_id, dict_id},
executor_->getRowSetMemoryOwner(),
true);
107 return proxy->getOrAddTransient(str);
const Executor * executor_
int32_t RowFunctionManager::getOrAddTransient |
( |
int32_t |
db_id, |
|
|
int32_t |
dict_id, |
|
|
std::string |
str |
|
) |
| |
|
inline |
Definition at line 314 of file heavydbTypes.h.
References RowFunctionManager_getOrAddTransient().
Referenced by array_first_half__t32(), array_second_half__t32(), strtok_to_array(), strtok_to_array__1(), tarray_append(), text_encoding_dict_concat(), text_encoding_dict_concat2(), text_encoding_dict_concat3(), text_encoding_dict_copy(), and text_encoding_dict_copy_from().
316 reinterpret_cast<int8_t*>(
this), db_id, dict_id, str);
EXTENSION_NOINLINE_HOST int32_t RowFunctionManager_getOrAddTransient(int8_t *mgr_ptr, int32_t db_id, int32_t dict_id, std::string str)
std::string RowFunctionManager::getString |
( |
int32_t |
db_id, |
|
|
int32_t |
dict_id, |
|
|
int32_t |
string_id |
|
) |
| |
|
inline |
Definition at line 62 of file RowFunctionManager.h.
References executor_.
63 const auto proxy =
executor_->getStringDictionaryProxy(
64 {db_id, dict_id},
executor_->getRowSetMemoryOwner(),
true);
65 return proxy->getString(string_id);
const Executor * executor_
std::string RowFunctionManager::getString |
( |
int32_t |
db_id, |
|
|
int32_t |
dict_id, |
|
|
int32_t |
string_id |
|
) |
| |
|
inline |
Definition at line 299 of file heavydbTypes.h.
References RowFunctionManager_getString().
Referenced by array_first_half__t32(), array_second_half__t32(), strtok_to_array__1(), tarray_append(), text_encoding_dict_concat(), text_encoding_dict_concat2(), text_encoding_dict_concat3(), text_encoding_dict_copy(), and text_encoding_dict_copy_from().
301 reinterpret_cast<int8_t*>(
this), db_id, dict_id, string_id);
RUNTIME_EXPORT NEVER_INLINE HOST std::string RowFunctionManager_getString(int8_t *mgr_ptr, int32_t db_id, int32_t dict_id, int32_t string_id)
int8_t* RowFunctionManager::getStringDictionaryProxy |
( |
int32_t |
db_id, |
|
|
int32_t |
dict_id |
|
) |
| |
|
inline |
Definition at line 110 of file RowFunctionManager.h.
References executor_.
111 auto* proxy =
executor_->getStringDictionaryProxy(
112 {db_id, dict_id},
executor_->getRowSetMemoryOwner(),
true);
113 return reinterpret_cast<int8_t*
>(proxy);
const Executor * executor_
int8_t* RowFunctionManager::makeBuffer |
( |
int64_t |
element_count, |
|
|
int64_t |
element_size |
|
) |
| |
|
inline |
int8_t* RowFunctionManager::makeBuffer |
( |
int64_t |
element_count, |
|
|
int64_t |
element_size |
|
) |
| |
|
inline |
Definition at line 319 of file heavydbTypes.h.
References RowFunctionManager_makeBuffer().
321 reinterpret_cast<int8_t*>(
this), element_count, element_size);
EXTENSION_NOINLINE_HOST int8_t * RowFunctionManager_makeBuffer(int8_t *mgr_ptr, int64_t count, int64_t size)
const Executor* RowFunctionManager::executor_ |
The documentation for this struct was generated from the following files: