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

Function LoadRecordBatch

cpp/src/arrow/ipc/reader.cc:725–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

723}
724
725Result<std::shared_ptr<RecordBatch>> LoadRecordBatch(
726 const flatbuf::RecordBatch* metadata, const std::shared_ptr<Schema>& schema,
727 const std::vector<bool>& inclusion_mask, const IpcReadContext& context,
728 io::RandomAccessFile* file) {
729 if (inclusion_mask.empty()) {
730 return LoadRecordBatchSubset(metadata, schema, /*inclusion_mask=*/nullptr, context,
731 file);
732 } else {
733 return LoadRecordBatchSubset(metadata, schema, &inclusion_mask, context, file);
734 }
735}
736
737// ----------------------------------------------------------------------
738// Array loading

Callers

nothing calls this directly

Calls 2

LoadRecordBatchSubsetFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected