OmniSciDB  085a039ca4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
anonymous_namespace{ForeignDataWrapperFactory.cpp} Namespace Reference

Functions

bool is_valid_data_wrapper (const std::string &data_wrapper_type)
 

Function Documentation

bool anonymous_namespace{ForeignDataWrapperFactory.cpp}::is_valid_data_wrapper ( const std::string &  data_wrapper_type)

Definition at line 86 of file ForeignDataWrapperFactory.cpp.

References foreign_storage::DataWrapperType::CSV, foreign_storage::DataWrapperType::PARQUET, and foreign_storage::DataWrapperType::REGEX_PARSER.

Referenced by foreign_storage::ForeignDataWrapperFactory::createForGeneralImport().

86  {
87  return
88 #ifdef ENABLE_IMPORT_PARQUET
89  data_wrapper_type == foreign_storage::DataWrapperType::PARQUET ||
90 #endif
91  data_wrapper_type == foreign_storage::DataWrapperType::CSV ||
93 }
static constexpr char const * REGEX_PARSER
static constexpr char const * CSV
static constexpr char const * PARQUET

+ Here is the caller graph for this function: