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

Method ReadDictionaries

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

Source from the content-addressed store, hash-verified

1658 }
1659
1660 Status ReadDictionaries() {
1661 // Read all the dictionaries
1662 std::vector<std::shared_ptr<Message>> messages(num_dictionaries());
1663 for (int i = 0; i < num_dictionaries(); ++i) {
1664 ARROW_ASSIGN_OR_RAISE(FileBlock block, GetDictionaryBlock(i));
1665 ARROW_ASSIGN_OR_RAISE(messages[i], ReadMessageFromBlock(block));
1666 }
1667 return ReadDictionaries(messages);
1668 }
1669
1670 Status ReadDictionaries(
1671 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