OmniSciDB
a5dc49c757
|
#include "StringDictionary/StringDictionaryProxy.h"
#include "Logger/Logger.h"
#include "Shared/ThreadInfo.h"
#include "Shared/misc.h"
#include "Shared/sqltypes.h"
#include "Shared/thread_count.h"
#include "StringDictionary/StringDictionary.h"
#include "StringOps/StringOps.h"
#include "Utils/Regexp.h"
#include "Utils/StringLike.h"
#include <tbb/parallel_for.h>
#include <tbb/task_arena.h>
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <string>
#include <string_view>
#include <thread>
Go to the source code of this file.
Classes | |
class | StringLocalCallback |
class | StringNetworkCallback |
Namespaces | |
anonymous_namespace{StringDictionaryProxy.cpp} | |
Functions | |
int32_t | truncate_to_generation (const int32_t id, const size_t generation) |
DEVICE RUNTIME_EXPORT const char * | StringDictionaryProxy_getStringBytes (int8_t *proxy_ptr, int32_t string_id) |
DEVICE RUNTIME_EXPORT size_t | StringDictionaryProxy_getStringLength (int8_t *proxy_ptr, int32_t string_id) |
DEVICE RUNTIME_EXPORT int32_t | StringDictionaryProxy_getStringId (int8_t *proxy_ptr, char *c_str_ptr) |
void | order_translation_locks (const shared::StringDictKey &source_dict_key, const shared::StringDictKey &dest_dict_key, std::shared_lock< std::shared_mutex > &source_proxy_read_lock, std::unique_lock< std::shared_mutex > &dest_proxy_write_lock) |
bool | anonymous_namespace{StringDictionaryProxy.cpp}::do_compare (const std::string &str, const std::string &pattern, const std::string &comp_operator) |
bool | anonymous_namespace{StringDictionaryProxy.cpp}::is_regexp_like (const std::string &str, const std::string &pattern, const char escape) |
void order_translation_locks | ( | const shared::StringDictKey & | source_dict_key, |
const shared::StringDictKey & | dest_dict_key, | ||
std::shared_lock< std::shared_mutex > & | source_proxy_read_lock, | ||
std::unique_lock< std::shared_mutex > & | dest_proxy_write_lock | ||
) |
Definition at line 365 of file StringDictionaryProxy.cpp.
DEVICE RUNTIME_EXPORT const char* StringDictionaryProxy_getStringBytes | ( | int8_t * | proxy_ptr, |
int32_t | string_id | ||
) |
Definition at line 147 of file StringDictionaryProxy.cpp.
References CHECK, and StringDictionaryProxy::getStringBytes().
DEVICE RUNTIME_EXPORT int32_t StringDictionaryProxy_getStringId | ( | int8_t * | proxy_ptr, |
char * | c_str_ptr | ||
) |
Definition at line 165 of file StringDictionaryProxy.cpp.
References CHECK.
DEVICE RUNTIME_EXPORT size_t StringDictionaryProxy_getStringLength | ( | int8_t * | proxy_ptr, |
int32_t | string_id | ||
) |
Definition at line 157 of file StringDictionaryProxy.cpp.
References CHECK, and StringDictionaryProxy::getStringBytes().
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().