MCPcopy Create free account
hub / github.com/bytedance/bolt / addDictionary

Function addDictionary

bolt/vector/BaseVector.cpp:132–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130
131template <TypeKind kind>
132static VectorPtr addDictionary(
133 BufferPtr nulls,
134 BufferPtr indices,
135 size_t size,
136 VectorPtr vector) {
137 auto pool = vector->pool();
138 return std::make_shared<
139 DictionaryVector<typename KindToFlatVector<kind>::WrapperType>>(
140 pool, std::move(nulls), size, std::move(vector), std::move(indices));
141}
142
143// static
144VectorPtr BaseVector::wrapInDictionary(

Callers

nothing calls this directly

Calls 1

poolMethod · 0.45

Tested by

no test coverage detected