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

Method num_record_batches

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

Source from the content-addressed store, hash-verified

1364 RecordBatchFileReaderImpl() : file_(NULLPTR), footer_offset_(0), footer_(NULLPTR) {}
1365
1366 int num_record_batches() const override {
1367 return static_cast<int>(internal::FlatBuffersVectorSize(footer_->recordBatches()));
1368 }
1369
1370 MetadataVersion version() const override {
1371 return internal::GetMetadataVersion(footer_->version());

Callers 9

ConvertToStreamFunction · 0.45
ReadNextMethod · 0.45
operator()Method · 0.45
FuzzIpcFileFunction · 0.45
ReadBatchesMethod · 0.45
ReadBatchesMethod · 0.45
TESTFunction · 0.45
CheckFileReadMethod · 0.45
ReadMethod · 0.45

Calls 1

FlatBuffersVectorSizeFunction · 0.85

Tested by 4

ReadBatchesMethod · 0.36
ReadBatchesMethod · 0.36
TESTFunction · 0.36
CheckFileReadMethod · 0.36