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

Function MakeBuilderExactIndex

cpp/src/arrow/builder.cc:323–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321}
322
323Status MakeBuilderExactIndex(MemoryPool* pool, const std::shared_ptr<DataType>& type,
324 std::unique_ptr<ArrayBuilder>* out) {
325 MakeBuilderImpl impl{pool, type, /*exact_index_type=*/true, /*out=*/nullptr};
326 RETURN_NOT_OK(VisitTypeInline(*type, &impl));
327 *out = std::move(impl.out);
328 return Status::OK();
329}
330
331Status MakeDictionaryBuilder(MemoryPool* pool, const std::shared_ptr<DataType>& type,
332 const std::shared_ptr<Array>& dictionary,

Callers

nothing calls this directly

Calls 2

VisitTypeInlineFunction · 0.85
OKFunction · 0.70

Tested by

no test coverage detected