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

Method WriteBatch

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

Source from the content-addressed store, hash-verified

1182 }
1183
1184 Status WriteBatch(const std::shared_ptr<RecordBatch>& batch,
1185 const std::shared_ptr<const KeyValueMetadata>& metadata = nullptr) {
1186 RETURN_NOT_OK(writer_->WriteRecordBatch(*batch, metadata));
1187 num_batches_written_++;
1188 return Status::OK();
1189 }
1190
1191 Status WriteTable(const RecordBatchVector& batches) {
1192 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