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

Method GetBytesWritten

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

InvalidFunction · 0.50
valueMethod · 0.45

Tested by

no test coverage detected