OmniSciDB  2e3a973ef4
ForeignStorageInterface.cpp File Reference
+ Include dependency graph for ForeignStorageInterface.cpp:

Go to the source code of this file.

Functions

std::pair< std::string, std::string > parseStorageType (const std::string &type)
 

Function Documentation

◆ parseStorageType()

std::pair<std::string, std::string> parseStorageType ( const std::string &  type)

Definition at line 165 of file ForeignStorageInterface.cpp.

References run_benchmark_import::res, and to_upper().

Referenced by ForeignStorageInterface::prepareTable(), and ForeignStorageInterface::registerTable().

165  {
166  size_t sep = type.find_first_of(':'), sep2 = sep != std::string::npos ? sep + 1 : sep;
167  auto res = std::make_pair(to_upper(type.substr(0, sep)), type.substr(sep2));
168  return res;
169 }
std::string to_upper(const std::string &str)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: