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

Method GetBytesWritten

cpp/src/arrow/dataset/file_base.cc:365–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365Result<int64_t> FileWriter::GetBytesWritten() const {
366 if (bytes_written_.has_value()) {
367 return bytes_written_.value();
368 } else {
369 return Status::Invalid("Cannot retrieve bytes written before calling Finish()");
370 }
371}
372
373namespace {
374

Callers

nothing calls this directly

Calls 2

InvalidFunction · 0.50
valueMethod · 0.45

Tested by

no test coverage detected