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

Function MakeBuilder

cpp/src/arrow/builder.cc:315–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313};
314
315Status MakeBuilder(MemoryPool* pool, const std::shared_ptr<DataType>& type,
316 std::unique_ptr<ArrayBuilder>* out) {
317 MakeBuilderImpl impl{pool, type, /*exact_index_type=*/false, /*out=*/nullptr};
318 RETURN_NOT_OK(VisitTypeInline(*type, &impl));
319 *out = std::move(impl.out);
320 return Status::OK();
321}
322
323Status MakeBuilderExactIndex(MemoryPool* pool, const std::shared_ptr<DataType>& type,
324 std::unique_ptr<ArrayBuilder>* out) {

Callers 15

CreateBuildersMethod · 0.70
MakeStatisticsArrayMethod · 0.70
MakeMethod · 0.70
BuildArrayFunction · 0.70
garrow_array_builder_newFunction · 0.50
FinalizeMethod · 0.50
MakeZeroLengthArrayFunction · 0.50
TESTFunction · 0.50
CheckDirectPutMethod · 0.50

Calls 2

VisitTypeInlineFunction · 0.85
OKFunction · 0.70

Tested by 5

BuildArrayFunction · 0.56
TESTFunction · 0.40
CheckDirectPutMethod · 0.40