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

Method ReadDictionaries

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

Source from the content-addressed store, hash-verified

1645 }
1646
1647 Status ReadDictionaries() {
1648 // Read all the dictionaries
1649 std::vector<std::shared_ptr<Message>> messages(num_dictionaries());
1650 for (int i = 0; i < num_dictionaries(); ++i) {
1651 ARROW_ASSIGN_OR_RAISE(FileBlock block, GetDictionaryBlock(i));
1652 ARROW_ASSIGN_OR_RAISE(messages[i], ReadMessageFromBlock(block));
1653 }
1654 return ReadDictionaries(messages);
1655 }
1656
1657 Status ReadDictionaries(
1658 const std::vector<std::shared_ptr<Message>>& dictionary_messages) {

Callers 1

operator()Method · 0.80

Calls 5

ReadMessageFromBlockFunction · 0.85
ARROW_ASSIGN_OR_RAISEFunction · 0.70
OKFunction · 0.50
sizeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected