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

Method WriteRecordBatch

cpp/src/arrow/ipc/writer.cc:1154–1162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1152RecordBatchWriter::~RecordBatchWriter() {}
1153
1154Status RecordBatchWriter::WriteRecordBatch(
1155 const RecordBatch& batch,
1156 const std::shared_ptr<const KeyValueMetadata>& custom_metadata) {
1157 if (custom_metadata == nullptr) {
1158 return WriteRecordBatch(batch);
1159 }
1160 return Status::NotImplemented(
1161 "Write record batch with custom metadata not implemented");
1162}
1163
1164Status RecordBatchWriter::WriteTable(const Table& table, int64_t max_chunksize) {
1165 TableBatchReader reader(table);

Callers 15

ConvertToStreamFunction · 0.45
ReadStreamFunction · 0.45
DecodeStreamFunction · 0.45
DoLargeRoundTripMethod · 0.45
WriteBatchMethod · 0.45
WriteBatchMethod · 0.45
TESTFunction · 0.45
read_write_test.ccFile · 0.45
SerializeRecordBatchFunction · 0.45

Calls 2

WriteRecordBatchFunction · 0.70
NotImplementedFunction · 0.50

Tested by 5

DoLargeRoundTripMethod · 0.36
WriteBatchMethod · 0.36
WriteBatchMethod · 0.36
TESTFunction · 0.36