OmniSciDB
085a039ca4
|
Classes | |
struct | ThreadInfo |
class | MapMaker |
Functions | |
int | checked_open (const char *path, const bool recover) |
const uint64_t | round_up_p2 (const uint64_t num) |
string_dict_hash_t | hash_string (const std::string_view &str) |
template<class T > | |
void | throw_encoding_error (std::string_view str, const DictRef &dict_ref) |
void | throw_string_too_long_error (std::string_view str, const DictRef &dict_ref) |
bool | is_like (const std::string &str, const std::string &pattern, const bool icase, const bool is_simple, const char escape) |
bool | is_regexp_like (const std::string &str, const std::string &pattern, const char escape) |
Variables | |
const int | SYSTEM_PAGE_SIZE = heavyai::get_page_size() |
int anonymous_namespace{StringDictionary.cpp}::checked_open | ( | const char * | path, |
const bool | recover | ||
) |
Definition at line 57 of file StringDictionary.cpp.
References logger::ERROR, LOG, and heavyai::open().
Referenced by StringDictionary::StringDictionary().
string_dict_hash_t anonymous_namespace{StringDictionary.cpp}::hash_string | ( | const std::string_view & | str | ) |
Definition at line 86 of file StringDictionary.cpp.
Referenced by StringDictionary::buildDictionaryTranslationMap(), StringDictionary::getBulk(), StringDictionary::getOrAddBulk(), StringDictionary::getOrAddImpl(), StringDictionary::getUnlocked(), StringDictionary::hashStrings(), StringDictionary::increaseHashTableCapacity(), StringDictionary::increaseHashTableCapacityFromStorageAndMemory(), and StringDictionary::StringDictionary().
bool anonymous_namespace{StringDictionary.cpp}::is_like | ( | const std::string & | str, |
const std::string & | pattern, | ||
const bool | icase, | ||
const bool | is_simple, | ||
const char | escape | ||
) |
Definition at line 801 of file StringDictionary.cpp.
References string_ilike(), string_ilike_simple(), string_like(), and string_like_simple().
Referenced by StringDictionary::getLike(), and StringDictionaryProxy::getLike().
bool anonymous_namespace{StringDictionary.cpp}::is_regexp_like | ( | const std::string & | str, |
const std::string & | pattern, | ||
const char | escape | ||
) |
Definition at line 1091 of file StringDictionary.cpp.
References regexp_like().
Referenced by StringDictionary::getRegexpLike(), and StringDictionaryProxy::getRegexpLike().
const uint64_t anonymous_namespace{StringDictionary.cpp}::round_up_p2 | ( | const uint64_t | num | ) |
Definition at line 68 of file StringDictionary.cpp.
Referenced by StringDictionary::StringDictionary().
void anonymous_namespace{StringDictionary.cpp}::throw_encoding_error | ( | std::string_view | str, |
const DictRef & | dict_ref | ||
) |
Definition at line 395 of file StringDictionary.cpp.
References logger::ERROR, LOG, StringDictionary::MAX_STRCOUNT, heavydb.dtypes::T, and dict_ref_t::toString().
void anonymous_namespace{StringDictionary.cpp}::throw_string_too_long_error | ( | std::string_view | str, |
const DictRef & | dict_ref | ||
) |
Definition at line 427 of file StringDictionary.cpp.
References logger::ERROR, LOG, StringDictionary::MAX_STRLEN, and dict_ref_t::toString().
Referenced by StringDictionary::getBulk().
const int anonymous_namespace{StringDictionary.cpp}::SYSTEM_PAGE_SIZE = heavyai::get_page_size() |
Definition at line 55 of file StringDictionary.cpp.
Referenced by StringDictionary::addMemoryCapacity(), and StringDictionary::addStorageCapacity().