41 static constexpr std::string_view kArrowLocalFileIO =
"arrow-fs-local";
42 static constexpr std::string_view kArrowS3FileIO =
"arrow-fs-s3";
45 using Factory = std::function<Result<std::unique_ptr<FileIO>>(
46 const std::unordered_map<std::string, std::string>& properties)>;
52 static void Register(
const std::string& name,
Factory factory);
59 static Result<std::unique_ptr<FileIO>> Load(
60 const std::string& name,
61 const std::unordered_map<std::string, std::string>& properties);
std::function< Result< std::unique_ptr< FileIO > >(const std::unordered_map< std::string, std::string > &properties)> Factory
Factory function type for creating FileIO instances.
Definition file_io_registry.h:46