OmniSciDB
a5dc49c757
|
#include <functional>
#include <future>
#include <map>
#include <shared_mutex>
#include <string>
#include <string_view>
#include <tuple>
#include <vector>
#include "DictRef.h"
#include "DictionaryCache.hpp"
#include "Shared/DbObjectKeys.h"
#include "StringOps/StringOpInfo.h"
Go to the source code of this file.
Classes | |
class | DictPayloadUnavailable |
class | StringDictionary |
class | StringDictionary::StringCallback |
struct | StringDictionary::StringIdxEntry |
struct | StringDictionary::compare_cache_value_t |
struct | StringDictionary::PayloadString |
Namespaces | |
StringOps_Namespace | |
Typedefs | |
using | string_dict_hash_t = uint32_t |
using | StringLookupCallback = std::function< bool(std::string_view, int32_t string_id)> |
Functions | |
int32_t | truncate_to_generation (const int32_t id, const size_t generation) |
void | translate_string_ids (std::vector< int32_t > &dest_ids, const LeafHostInfo &dict_server_host, const shared::StringDictKey &dest_dict_key, const std::vector< int32_t > &source_ids, const shared::StringDictKey &source_dict_key, const int32_t dest_generation) |
Variables | |
bool | g_enable_stringdict_parallel |
using string_dict_hash_t = uint32_t |
Definition at line 50 of file StringDictionary.h.
using StringLookupCallback = std::function<bool(std::string_view, int32_t string_id)> |
Definition at line 52 of file StringDictionary.h.
void translate_string_ids | ( | std::vector< int32_t > & | dest_ids, |
const LeafHostInfo & | dict_server_host, | ||
const shared::StringDictKey & | dest_dict_key, | ||
const std::vector< int32_t > & | source_ids, | ||
const shared::StringDictKey & | source_dict_key, | ||
const int32_t | dest_generation | ||
) |
Definition at line 2095 of file StringDictionary.cpp.
References shared::StringDictKey::db_id, shared::StringDictKey::dict_id, and StringDictionaryClient::translate_string_ids().
Referenced by anonymous_namespace{RelAlgTranslator.cpp}::fill_dictionary_encoded_in_vals(), and ResultSet::translateDictEncodedColumns().
int32_t truncate_to_generation | ( | const int32_t | id, |
const size_t | generation | ||
) |
Definition at line 44 of file StringDictionaryProxy.cpp.
References CHECK_GE, and StringDictionary::INVALID_STR_ID.
Referenced by StringDictionaryProxy::getIdOfStringFromClient().
bool g_enable_stringdict_parallel |
Definition at line 116 of file StringDictionary.cpp.
Referenced by CommandLineOptions::fillOptions(), and StringDictionary::getOrAddBulk().