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

Method Finish

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

Source from the content-addressed store, hash-verified

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