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

Method Finish

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

Source from the content-addressed store, hash-verified

355}
356
357Future<> FileWriter::Finish() {
358 return FinishInternal().Then([this]() -> Future<> {
359 ARROW_ASSIGN_OR_RAISE(bytes_written_, destination_->Tell());
360 return destination_->CloseAsync();
361 });
362}
363
364Result<int64_t> FileWriter::GetBytesWritten() const {
365 if (bytes_written_.has_value()) {

Callers 2

FinishMethod · 0.45
FinishMethod · 0.45

Calls 5

FinishInternalFunction · 0.85
ThenMethod · 0.80
ARROW_ASSIGN_OR_RAISEFunction · 0.50
TellMethod · 0.45
CloseAsyncMethod · 0.45

Tested by

no test coverage detected