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

Functions

bool is_s3_uri (const std::string &file_path)
 

Function Documentation

bool anonymous_namespace{ForeignDataWrapperFactory.cpp}::is_s3_uri ( const std::string &  file_path)

Definition at line 34 of file ForeignDataWrapperFactory.cpp.

Referenced by foreign_storage::ForeignDataWrapperFactory::createForeignServerProxy(), and foreign_storage::ForeignDataWrapperFactory::createForeignTableProxy().

34  {
35  const std::string s3_prefix = "s3://";
36  return file_path.find(s3_prefix) != std::string::npos;
37 }

+ Here is the caller graph for this function: