OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StringDictionaryClient Class Reference

#include <StringDictionaryClient.h>

Public Member 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)
 
void get_or_add_bulk (std::vector< int32_t > &string_ids, const std::vector< std::string > &strings)
 
void get_or_add_bulk_array (std::vector< std::vector< int32_t >> &string_ids_array, const std::vector< std::vector< std::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 ()
 

Detailed Description

Definition at line 26 of file StringDictionaryClient.h.

Constructor & Destructor Documentation

StringDictionaryClient::StringDictionaryClient ( const LeafHostInfo server_host,
const DictRef  dict_id,
const bool  with_timeout 
)
inline

Definition at line 28 of file StringDictionaryClient.h.

References CHECK().

30  {
31  CHECK(false);
32  };
CHECK(cgen_state)

+ Here is the call graph for this function:

Member Function Documentation

bool StringDictionaryClient::checkpoint ( )
inline

Definition at line 98 of file StringDictionaryClient.h.

References CHECK().

98  {
99  CHECK(false);
100  return false;
101  };
CHECK(cgen_state)

+ Here is the call graph for this function:

void StringDictionaryClient::create ( const DictRef  dict_ref,
const bool  is_temp 
)
inline

Definition at line 34 of file StringDictionaryClient.h.

References CHECK().

34 { CHECK(false); };
CHECK(cgen_state)

+ Here is the call graph for this function:

void StringDictionaryClient::drop ( const DictRef  dict_ref)
inline

Definition at line 36 of file StringDictionaryClient.h.

References CHECK().

36 { CHECK(false); };
CHECK(cgen_state)

+ Here is the call graph for this function:

int32_t StringDictionaryClient::get ( const std::string &  str)
inline

Definition at line 38 of file StringDictionaryClient.h.

References CHECK().

38  {
39  CHECK(false);
40  return 0;
41  };
CHECK(cgen_state)

+ Here is the call graph for this function:

std::vector<int32_t> StringDictionaryClient::get_compare ( const std::string &  pattern,
const std::string &  comp_operator,
const int64_t  generation 
)
inline

Definition at line 59 of file StringDictionaryClient.h.

References CHECK().

61  {
62  CHECK(false);
63  return std::vector<int32_t>{};
64  };
CHECK(cgen_state)

+ Here is the call graph for this function:

std::vector<int32_t> StringDictionaryClient::get_like ( const std::string &  pattern,
const bool  icase,
const bool  is_simple,
const char  escape,
const int64_t  generation 
)
inline

Definition at line 50 of file StringDictionaryClient.h.

References CHECK().

54  {
55  CHECK(false);
56  return std::vector<int32_t>{};
57  };
CHECK(cgen_state)

+ Here is the call graph for this function:

void StringDictionaryClient::get_or_add_bulk ( std::vector< int32_t > &  string_ids,
const std::vector< std::string > &  strings 
)
inline

Definition at line 73 of file StringDictionaryClient.h.

References CHECK().

74  {
75  CHECK(false);
76  };
CHECK(cgen_state)

+ Here is the call graph for this function:

void StringDictionaryClient::get_or_add_bulk_array ( std::vector< std::vector< int32_t >> &  string_ids_array,
const std::vector< std::vector< std::string >> &  strings_array 
)
std::vector<int32_t> StringDictionaryClient::get_regexp_like ( const std::string &  pattern,
const char  escape,
const int64_t  generation 
)
inline

Definition at line 66 of file StringDictionaryClient.h.

References CHECK().

68  {
69  CHECK(false);
70  return std::vector<int32_t>{};
71  };
CHECK(cgen_state)

+ Here is the call graph for this function:

void StringDictionaryClient::get_string ( std::string &  _return,
const int32_t  string_id 
)
inline

Definition at line 43 of file StringDictionaryClient.h.

References CHECK().

43 { CHECK(false); };
CHECK(cgen_state)

+ Here is the call graph for this function:

void StringDictionaryClient::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 StringDictionaryClient::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 
)
int64_t StringDictionaryClient::storage_entry_count ( )
inline

Definition at line 45 of file StringDictionaryClient.h.

References CHECK().

45  {
46  CHECK(false);
47  return 0;
48  };
CHECK(cgen_state)

+ Here is the call graph for this function:

void StringDictionaryClient::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 
)
inline

Definition at line 90 of file StringDictionaryClient.h.

References CHECK().

Referenced by translate_string_ids().

94  {
95  CHECK(false);
96  };
CHECK(cgen_state)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: