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

Method ReadMetadata

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

@{ @name InputStream

Source from the content-addressed store, hash-verified

167 //@{
168 // @name InputStream
169 Result<std::shared_ptr<const KeyValueMetadata>> ReadMetadata() override {
170 auto metadata = client_.GetObjectMetadata(path_.bucket, path_.object, generation_);
171 ARROW_GCS_RETURN_NOT_OK(metadata.status());
172 return internal::FromObjectMetadata(*metadata);
173 }
174 //@}
175
176 private:

Callers

nothing calls this directly

Calls 3

FromObjectMetadataFunction · 0.85
GetObjectMetadataMethod · 0.80
statusMethod · 0.45

Tested by

no test coverage detected