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

Method Close

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

Source from the content-addressed store, hash-verified

193 }
194
195 Status Close() override {
196 if (closed_) {
197 return Status::OK();
198 }
199 stream_.Close();
200 closed_ = true;
201 return internal::ToArrowStatus(stream_.last_status());
202 }
203
204 Result<int64_t> Tell() const override {
205 if (closed()) return Status::Invalid("Cannot use Tell() on a closed stream");

Callers

nothing calls this directly

Calls 3

ToArrowStatusFunction · 0.70
OKFunction · 0.50
CloseMethod · 0.45

Tested by

no test coverage detected