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

Method Write

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

Source from the content-addressed store, hash-verified

346}
347
348Status FileWriter::Write(RecordBatchReader* batches) {
349 while (true) {
350 ARROW_ASSIGN_OR_RAISE(auto batch, batches->Next());
351 if (batch == nullptr) break;
352 RETURN_NOT_OK(Write(batch));
353 }
354 return Status::OK();
355}
356
357Future<> FileWriter::Finish() {
358 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