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

Function MakeBuilderExactIndex

cpp/src/arrow/builder.cc:366–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366Status MakeBuilderExactIndex(MemoryPool* pool, const std::shared_ptr<DataType>& type,
367 std::unique_ptr<ArrayBuilder>* out) {
368 MakeBuilderImpl impl{pool, type, /*exact_index_type=*/true, /*out=*/nullptr};
369 RETURN_NOT_OK(VisitTypeInline(*type, &impl));
370 *out = std::move(impl.out);
371 return Status::OK();
372}
373
374Status MakeDictionaryBuilder(MemoryPool* pool, const std::shared_ptr<DataType>& type,
375 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