MCPcopy Create free account
hub / github.com/apache/arrow / FileSystemFactory

Method FileSystemFactory

cpp/src/arrow/filesystem/filesystem.h:373–378  ·  view source on GitHub ↗

Construct from an options-aware factory function.

Source from the content-addressed store, hash-verified

371
372 /// Construct from an options-aware factory function.
373 FileSystemFactory(std::function<Result<std::shared_ptr<FileSystem>>(
374 const Uri&, const FileSystemFactoryOptions&, const io::IOContext&,
375 std::string*)>
376 fn,
377 std::string_view file, int line)
378 : function(std::move(fn)), file(file), line(line) {}
379
380 /// Construct from a non-options aware factory function maintaining source compatibility
381 /// with existing factories.

Callers

nothing calls this directly

Calls 3

NotImplementedFunction · 0.50
emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected