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

Method OpenInputStream

cpp/src/arrow/filesystem/gcsfs.cc:905–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

903}
904
905Result<std::shared_ptr<io::InputStream>> GcsFileSystem::OpenInputStream(
906 const std::string& path) {
907 ARROW_RETURN_NOT_OK(internal::AssertNoTrailingSlash(path));
908 ARROW_ASSIGN_OR_RAISE(auto p, GcsPath::FromString(path));
909 return impl_->OpenInputStream(p, gcs::Generation(), gcs::ReadRange(),
910 gcs::ReadFromOffset());
911}
912
913Result<std::shared_ptr<io::InputStream>> GcsFileSystem::OpenInputStream(
914 const FileInfo& info) {

Callers 1

OpenInputFileMethod · 0.45

Calls 5

AssertNoTrailingSlashFunction · 0.85
IOErrorFunction · 0.85
ReadRangeClass · 0.50
IsDirectoryMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected