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

Method WriteBatch

cpp/src/arrow/ipc/read_write_test.cc:1188–1193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1186 }
1187
1188 Status WriteBatch(const std::shared_ptr<RecordBatch>& batch,
1189 const std::shared_ptr<const KeyValueMetadata>& metadata = nullptr) {
1190 RETURN_NOT_OK(writer_->WriteRecordBatch(*batch, metadata));
1191 num_batches_written_++;
1192 return Status::OK();
1193 }
1194
1195 Status WriteTable(const RecordBatchVector& batches) {
1196 num_batches_written_ += static_cast<int>(batches.size());

Callers 13

TestWriteAfterCloseMethod · 0.45
RoundTripHelperMethod · 0.45
TESTFunction · 0.45
TEST_FFunction · 0.45
RoundTripMethod · 0.45
CheckWritingFailsMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 2

OKFunction · 0.50
WriteRecordBatchMethod · 0.45

Tested by

no test coverage detected