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

Function MakeBuilderExactIndex

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

Source from the content-addressed store, hash-verified

327}
328
329Status MakeBuilderExactIndex(MemoryPool* pool, const std::shared_ptr<DataType>& type,
330 std::unique_ptr<ArrayBuilder>* out) {
331 MakeBuilderImpl impl{pool, type, /*exact_index_type=*/true, /*out=*/nullptr};
332 RETURN_NOT_OK(VisitTypeInline(*type, &impl));
333 *out = std::move(impl.out);
334 return Status::OK();
335}
336
337Status MakeDictionaryBuilder(MemoryPool* pool, const std::shared_ptr<DataType>& type,
338 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