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

Method AddDictionaryRanges

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

Source from the content-addressed store, hash-verified

1708 }
1709
1710 Status AddDictionaryRanges(std::vector<io::ReadRange>* ranges) const {
1711 // Adds all dictionaries to the range cache
1712 for (int i = 0; i < num_dictionaries(); ++i) {
1713 ARROW_ASSIGN_OR_RAISE(FileBlock block, GetDictionaryBlock(i));
1714 ranges->push_back({block.offset, block.metadata_length + block.body_length});
1715 }
1716 return Status::OK();
1717 }
1718
1719 Status AddMetadataRanges(const std::vector<int>& indices,
1720 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