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

Method Write

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

Source from the content-addressed store, hash-verified

347}
348
349Status FileWriter::Write(RecordBatchReader* batches) {
350 while (true) {
351 ARROW_ASSIGN_OR_RAISE(auto batch, batches->Next());
352 if (batch == nullptr) break;
353 RETURN_NOT_OK(Write(batch));
354 }
355 return Status::OK();
356}
357
358Future<> FileWriter::Finish() {
359 return FinishInternal().Then([this]() -> Future<> {

Callers

nothing calls this directly

Calls 6

WriteFunction · 0.85
DeclarationToStatusFunction · 0.85
callMethod · 0.80
OKFunction · 0.50
optionsMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected