OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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_i32 (const std::string &pattern, const bool icase, const bool is_simple, const char escape, const int64_t generation)
 
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_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 >
void get_bulk (std::vector< int32_t > &string_ids, const std::vector< String > &strings)
 
template<class String >
void get_or_add_bulk (std::vector< int32_t > &string_ids, const std::vector< String > &strings)
 
template<class String >
void get_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 ()
 

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  };
#define CHECK(condition)
Definition: Logger.h:291

Member Function Documentation

bool StringDictionaryClient::checkpoint ( )
inline

Definition at line 115 of file StringDictionaryClient.h.

References CHECK.

115  {
116  CHECK(false);
117  return false;
118  };
#define CHECK(condition)
Definition: Logger.h:291
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); };
#define CHECK(condition)
Definition: Logger.h:291
void StringDictionaryClient::drop ( const DictRef  dict_ref)
inline

Definition at line 36 of file StringDictionaryClient.h.

References CHECK.

36 { CHECK(false); };
#define CHECK(condition)
Definition: Logger.h:291
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  };
#define CHECK(condition)
Definition: Logger.h:291
template<class String >
void StringDictionaryClient::get_bulk ( std::vector< int32_t > &  string_ids,
const std::vector< String > &  strings 
)
std::vector<int32_t> StringDictionaryClient::get_compare ( const std::string &  pattern,
const std::string &  comp_operator,
const int64_t  generation 
)
inline

Definition at line 69 of file StringDictionaryClient.h.

References CHECK.

71  {
72  CHECK(false);
73  return std::vector<int32_t>{};
74  };
#define CHECK(condition)
Definition: Logger.h:291
std::vector<int32_t> StringDictionaryClient::get_like_i32 ( 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  }
#define CHECK(condition)
Definition: Logger.h:291
std::vector<int64_t> StringDictionaryClient::get_like_i64 ( const std::string &  pattern,
const bool  icase,
const bool  is_simple,
const char  escape,
const int64_t  generation 
)
inline

Definition at line 59 of file StringDictionaryClient.h.

References CHECK.

63  {
64  CHECK(false);
65  return std::vector<int64_t>{};
66  }
#define CHECK(condition)
Definition: Logger.h:291
template<class String >
void StringDictionaryClient::get_or_add_bulk ( std::vector< int32_t > &  string_ids,
const std::vector< String > &  strings 
)
inline

Definition at line 87 of file StringDictionaryClient.h.

References CHECK.

88  {
89  CHECK(false);
90  };
#define CHECK(condition)
Definition: Logger.h:291
template<class String >
void StringDictionaryClient::get_or_add_bulk_array ( std::vector< std::vector< int32_t >> &  string_ids_array,
const std::vector< std::vector< String >> &  strings_array 
)
inline

Definition at line 93 of file StringDictionaryClient.h.

References CHECK.

94  {
95  CHECK(false);
96  }
#define CHECK(condition)
Definition: Logger.h:291
std::vector<int32_t> StringDictionaryClient::get_regexp_like ( const std::string &  pattern,
const char  escape,
const int64_t  generation 
)
inline

Definition at line 76 of file StringDictionaryClient.h.

References CHECK.

78  {
79  CHECK(false);
80  return std::vector<int32_t>{};
81  };
#define CHECK(condition)
Definition: Logger.h:291
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); };
#define CHECK(condition)
Definition: Logger.h:291
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  };
#define CHECK(condition)
Definition: Logger.h:291
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 107 of file StringDictionaryClient.h.

References CHECK.

Referenced by translate_string_ids().

111  {
112  CHECK(false);
113  };
#define CHECK(condition)
Definition: Logger.h:291

+ Here is the caller graph for this function:


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