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

Method num_record_batches

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

Source from the content-addressed store, hash-verified

1359 RecordBatchFileReaderImpl() : file_(NULLPTR), footer_offset_(0), footer_(NULLPTR) {}
1360
1361 int num_record_batches() const override {
1362 return static_cast<int>(internal::FlatBuffersVectorSize(footer_->recordBatches()));
1363 }
1364
1365 MetadataVersion version() const override {
1366 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