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

Method ReadDictionaries

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

Source from the content-addressed store, hash-verified

1673 }
1674
1675 Status ReadDictionaries() {
1676 // Read all the dictionaries
1677 std::vector<std::shared_ptr<Message>> messages(num_dictionaries());
1678 for (int i = 0; i < num_dictionaries(); ++i) {
1679 ARROW_ASSIGN_OR_RAISE(FileBlock block, GetDictionaryBlock(i));
1680 ARROW_ASSIGN_OR_RAISE(messages[i], ReadMessageFromBlock(block));
1681 }
1682 return ReadDictionaries(messages);
1683 }
1684
1685 Status ReadDictionaries(
1686 const std::vector<std::shared_ptr<Message>>& dictionary_messages) {

Callers 1

operator()Method · 0.80

Calls 6

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

Tested by

no test coverage detected