MCPcopy Create free account
hub / github.com/apache/orc / decodeDictionaryImpl

Method decodeDictionaryImpl

c++/src/Vector.cc:99–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 }
98
99 void EncodedStringVectorBatch::decodeDictionaryImpl() {
100 size_t n = index.size();
101 resize(n);
102
103 for (size_t i = 0; i < n; ++i) {
104 if (!hasNulls || notNull[i]) {
105 dictionary->getValueByIndex(index[i], data[i], length[i]);
106 }
107 }
108 }
109
110 StringVectorBatch::StringVectorBatch(uint64_t capacity, MemoryPool& pool)
111 : ColumnVectorBatch(capacity, pool),

Callers

nothing calls this directly

Calls 3

getValueByIndexMethod · 0.80
decodeDictionaryMethod · 0.80
sizeMethod · 0.65

Tested by

no test coverage detected