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

Function LoadRecordBatch

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

Source from the content-addressed store, hash-verified

738}
739
740Result<std::shared_ptr<RecordBatch>> LoadRecordBatch(
741 const flatbuf::RecordBatch* metadata, const std::shared_ptr<Schema>& schema,
742 const std::vector<bool>& inclusion_mask, const IpcReadContext& context,
743 io::RandomAccessFile* file) {
744 if (inclusion_mask.empty()) {
745 return LoadRecordBatchSubset(metadata, schema, /*inclusion_mask=*/nullptr, context,
746 file);
747 } else {
748 return LoadRecordBatchSubset(metadata, schema, &inclusion_mask, context, file);
749 }
750}
751
752// ----------------------------------------------------------------------
753// Array loading

Callers

nothing calls this directly

Calls 2

LoadRecordBatchSubsetFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected