Class StringDictionaryClient¶
-
class
StringDictionaryClient
¶ Public Functions
-
StringDictionaryClient
(const LeafHostInfo &server_host, const DictRef dict_id, const bool with_timeout)¶
-
void
create
(const DictRef dict_ref, const bool is_temp)¶
-
void
drop
(const DictRef dict_ref)¶
-
int32_t
get
(const std::string &str)¶
-
void
get_string
(std::string &_return, const int32_t string_id)¶
-
int64_t
storage_entry_count
()¶
-
std::vector<int32_t>
get_like
(const std::string &pattern, const bool icase, const bool is_simple, const char escape, const int64_t generation)¶
-
std::vector<int32_t>
get_compare
(const std::string &pattern, const std::string &comp_operator, const int64_t generation)¶
-
std::vector<int32_t>
get_regexp_like
(const std::string &pattern, const char escape, const int64_t generation)¶
-
template<class
String
>
voidget_bulk
(std::vector<int32_t> &string_ids, const std::vector<String> &strings)¶
-
template<class
String
>
voidget_or_add_bulk
(std::vector<int32_t> &string_ids, const std::vector<String> &strings)¶
-
template<class
String
>
voidget_or_add_bulk_array
(std::vector<std::vector<int32_t>> &string_ids_array, const std::vector<std::vector<String>> &strings_array)¶
-
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)¶
-
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
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)¶
-
bool
checkpoint
()¶
-