17 #ifndef STRINGDICTIONARY_STRINGDICTIONARYCLIENT_H
18 #define STRINGDICTIONARY_STRINGDICTIONARYCLIENT_H
30 const bool with_timeout) {
38 int32_t
get(
const std::string& str) {
54 const int64_t generation) {
56 return std::vector<int32_t>{};
63 const int64_t generation) {
65 return std::vector<int64_t>{};
70 const std::string& comp_operator,
71 const int64_t generation) {
73 return std::vector<int32_t>{};
78 const int64_t generation) {
80 return std::vector<int32_t>{};
83 template <
class String>
84 void get_bulk(std::vector<int32_t>& string_ids,
const std::vector<String>& strings);
86 template <
class String>
88 const std::vector<String>& strings) {
92 template <
class String>
94 const std::vector<std::vector<String>>& strings_array) {
100 const std::vector<int32_t>& source_ids,
101 const DictRef source_dict_ref);
103 std::vector<std::vector<int32_t>>& dest_array_ids,
105 const std::vector<std::vector<int32_t>>& source_array_ids,
106 const DictRef source_dict_ref);
109 const std::vector<int32_t>& source_ids,
111 const int32_t dest_generation) {
121 #endif // STRINGDICTIONARY_STRINGDICTIONARYCLIENT_H
void translate_string_ids(std::vector< int32_t > &dest_ids, const DictRef dest_dict_ref, const std::vector< int32_t > &source_ids, const DictRef source_dict_ref, const int32_t dest_generation)
void create(const DictRef dict_ref, const bool is_temp)
void drop(const DictRef dict_ref)
void get_or_add_bulk_array(std::vector< std::vector< int32_t >> &string_ids_array, const std::vector< std::vector< String >> &strings_array)
void get_string(std::string &_return, const int32_t string_id)
std::vector< int32_t > get_compare(const std::string &pattern, const std::string &comp_operator, const int64_t generation)
int64_t storage_entry_count()
void get_or_add_bulk(std::vector< int32_t > &string_ids, const std::vector< String > &strings)
void populate_string_ids(std::vector< int32_t > &dest_ids, const DictRef dest_dict_ref, const std::vector< int32_t > &source_ids, const DictRef source_dict_ref)
StringDictionaryClient(const LeafHostInfo &server_host, const DictRef dict_id, const bool with_timeout)
void populate_string_array_ids(std::vector< std::vector< int32_t >> &dest_array_ids, const DictRef dest_dict_ref, const std::vector< std::vector< int32_t >> &source_array_ids, const DictRef source_dict_ref)
void get_bulk(std::vector< int32_t > &string_ids, const std::vector< String > &strings)
std::vector< int64_t > get_like_i64(const std::string &pattern, const bool icase, const bool is_simple, const char escape, const int64_t generation)
std::vector< int32_t > get_like_i32(const std::string &pattern, const bool icase, const bool is_simple, const char escape, const int64_t generation)
std::vector< int32_t > get_regexp_like(const std::string &pattern, const char escape, const int64_t generation)