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

Method AddMetadataRanges

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

Source from the content-addressed store, hash-verified

1717 }
1718
1719 Status AddMetadataRanges(const std::vector<int>& indices,
1720 std::vector<io::ReadRange>* ranges) {
1721 for (int index : indices) {
1722 ARROW_ASSIGN_OR_RAISE(FileBlock block, GetRecordBatchBlock(index));
1723 ranges->push_back({block.offset, block.metadata_length});
1724 }
1725 return Status::OK();
1726 }
1727
1728 Status CacheMetadata(const std::vector<int>& indices) {
1729 std::vector<io::ReadRange> ranges;

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.80
OKFunction · 0.50

Tested by

no test coverage detected