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

Function MakeBuilder

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

Source from the content-addressed store, hash-verified

319};
320
321Status MakeBuilder(MemoryPool* pool, const std::shared_ptr<DataType>& type,
322 std::unique_ptr<ArrayBuilder>* out) {
323 MakeBuilderImpl impl{pool, type, /*exact_index_type=*/false, /*out=*/nullptr};
324 RETURN_NOT_OK(VisitTypeInline(*type, &impl));
325 *out = std::move(impl.out);
326 return Status::OK();
327}
328
329Status MakeBuilderExactIndex(MemoryPool* pool, const std::shared_ptr<DataType>& type,
330 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